CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   air - simpleFoam (https://www.cfd-online.com/Forums/openfoam/86640-air-simplefoam.html)

tH3f0rC3 March 29, 2011 02:50

air - simpleFoam
 
Hi,

I want to know, how i can set up the fluid in simpleFoam, for example to set up the fluid as water or as air.

I don't find a file like thermophysical properties like it can be found in chtMulti. I guess that's because of the heat transfer.
But where can I type in the properties of air, for example the molecular weight,...?

I guess that simpleFoam only needs the information newtownian fluid and for every newtonian fluid the result of the simulation with simpleFoam is neraly the same.

Do I guess right? :-)

Best Regards,
tH3f0rC3

val46 March 29, 2011 03:00

Quote:

I guess that simpleFoam only needs the information newtownian fluid and for every newtonian fluid the result of the simulation with simpleFoam is neraly the same.

Do I guess right? :-)

Hi,

in simpleFoam you set the fluid properties via nu in "constant/transportProperties". For example air at 20 °C:

Code:

transportModel  Newtonian;

nu              nu [0 2 -1 0 0 0 0] 1.5e-05;


Regards,
Toni

tH3f0rC3 March 29, 2011 04:13

Thank you for you answer.

So it is meant the dynamic viscosity, isn't it?

More information the solver doesn't need to solve the Navier-Stokes-equaions?!

Best Regards,
tH3f0rC3

Jean El-Hajal March 29, 2011 04:27

Hi,

nu is the Kinematic viscosity

nu nu [0 2 -1 0 0 0 0] 1.5e-05;

you can see it in the unit:

nu [0 2 -1 0 0 0 0] --> m²/s , have a look at the user-guide, chapter 4

regards,

Jean

tH3f0rC3 March 29, 2011 04:50

Oh :(
That was a very stupid question. I know that the units are represented by numbers in these brackets.

Thank you for your answer! :-)


The data below
transportModel Newtonian;

nu nu [..] ...

CROSSPOWERLAWCOEFF...

Are these data also properties of the air or are they speciefic for the solver?

Best Regards,
tH3f0rC3

Jean El-Hajal March 29, 2011 16:29

Hi,

nu nu [0 2 -1 0 0 0 0] 1.5e-05; --> kinematic viscosity of the fluid.

Jean

ang_dipl_ing_fd March 29, 2011 16:37

hi dirk,
as far as i know this properties are irrelevant if you are simulating with a newtonian fluid. These entries are only needed if you choose another transport model (like CrossPowerLaw for example).

tH3f0rC3 March 30, 2011 01:39

Ah ok, thank you! :-)


All times are GMT -4. The time now is 12:23.