setup of inital condition
I would like to simulate an unsteady flow with a linear thermal gradient (with the vertical depth Z) at inlet.
The all dominion should be initialized with the same gradient.
How can I impose these value of temperature to the internal mesh? the simplified problem is something like the image attached.
Suggestion about the solver to use?
You may need to do some modification on the source code for new inlet boundary. http://www.tfd.chalmers.se/~hani/kur...yCondition.pdf
This pdf may help you find a way.
actually, it may be easier that. Take a look at the discussion http://www.cfd-online.com/Forums/ope...-openfoam.html
and then check the user guide 4.2.9. Hope it may help.
Did you try funkySetFields?
thanks for the suggestions. I used funkysetfields for temperature gradient and
timeVaryingUniformFixedValue for unsteady conditions at inlet.
The fluid to simlate to is water, so uncompressible
About the solver:
I tried to use bouyantboussinesqpimpleFoam putting the following boundary conditions:
internalField uniform (0 0 0);
inlet : timeVaryingUniformFixedValue;
bottom fixed value uniform (0 0 0);
defaultFaces empty (2D case)
All other boundaries are set as zerogradient.
value uniform 0;
value uniform 0;
For thermopysical aspect I use the folowing:
thermoType hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<icoPolynomial>>>>>;
mixture water 1 18 4190 0 1.001e-03 10;
I tried with and without gravity but the temperature field seems to become crazy, with value too high!
Did I make some big mistake or should I consider a different solver?
and which one?
|All times are GMT -4. The time now is 11:48.|