CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   thermophysicalProperties in simpleFOAM (https://www.cfd-online.com/Forums/openfoam-pre-processing/127662-thermophysicalproperties-simplefoam.html)

marcus85 December 17, 2013 02:57

thermophysicalProperties in simpleFOAM
 
Hello to all,

i want to set up an incompressible steady state study of an cooling water jacket.
No my Problem is how i should define the thermophysicalProperties, because almost all of the tutorials didn't include any thermophysicalProperties file and now i'm confused about this fact:
Do i need this file for my case?
If i don't need it: Where i've to define the constants of this file?
If i need: Which thermoType should i use?
(The file i attached is only from my setup for my rhoSimpleFoam cases:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.1 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object thermophysicalProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

thermoType hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>;

mixture
{
specie
{
nMoles 1;
molWeight 28.9;
}
thermodynamics
{
Cp 1000;
Hf 0;
}
transport
{
mu 1.8e-05;
Pr 0.7;
}
}


// ************************************************** *********************** //)
and another question for the setup is:
Should i define another model in the transportProperties file in my constant directory? Because i've seen, that there are other definitions in the tutorial Cases and there is the opportunity of two models i can use. Did somebody make experiences with this special models an how they work for validation?
Here is my file:
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

transportModel Newtonian;

nu nu [ 0 2 -1 0 0 0 0 ] 4.74e-07;

Prt Prt [ 0 0 0 0 0 0 0 ] 0.9;

Pr Pr [ 0 0 0 0 0 0 0 ] 3;

rho rho [ 1 -3 0 0 0 0 0 ] 983.19;

k k [ 1 1 -3 -1 0 0 0 ] 0.647;

Cp Cp [ 0 2 -2 -1 0 0 0 ] 4182;


// ************************************************** *********************** //
Thanks for all supply...

best regards

Marcus


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