Syed Mughees Ali : I cannot really see, how two adjacent inlets could resolve this situation, if you do not like to calculate this in transient and to wait until the two compartments are filled by the fluids of different temperature. It is not very helpful for the intended flow initialization, from my perspective.
Ravindra D. Jilte : But yes, indeed you can. The "trick" is separation by a space coordinate and using an expression for initialization, which uses the step() CEL function in order to distinguish between the two compartments.
Such an expression could e.g. look like (for sure you need to further modify it for your purpose and circumstances):
Tini = step(x-x0)*T1 + step(x0-x)*T2
This expression evaluates to one of the two temperature levels for xx0. This is very frequently used for free surface flow initialization and prescription of an initial void fraction distribution as well.
It is a closed multi-shell system wherein fluids of different temperatures can be poured and analyzed for transient cooling. In Ansys CFD, initialization of solution followed by patching temperature (use of patch tab) of fluids solve the problem faced.