Different temperature for a box of alloys

Hi dear LAMMPS user,
I have a box of Al and Cu simultaneously. Now, how can I give the atoms of Al 300 K and atoms of Cu 500 K temperature at the same time?

Thanks in advance,

If you mean initially, then put the 2 atoms types
in different groups. And use the velocity
command twice to assign each group a different temp.
If you mean dynamically, then you can use
two thermostats with different target temps,
each applied to one of the groups.


Thanks a lot!