CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   yPlusLES and thermophysicalProperties (http://www.cfd-online.com/Forums/openfoam-solving/63177-yplusles-thermophysicalproperties.html)

wizard1301 March 31, 2009 10:09

yPlusLES and thermophysicalProperties
 
Hi everybody
How do I write y+ for a LES simulation?
With the yPlusLES tool I get an error because the utility needs transportProperties and in my constant/ dir I have thermophysicalProperties (I'm running coodles solver)
Thank you
Antonio

fakekarma January 27, 2012 11:01

Hi Antonio,

why don#t you try simply adding a transportProperties file in your constant folder lake this one:

/*--------------------------------*- 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 transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

transportModel Newtonian;

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

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

CrossPowerLawCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
m m [ 0 0 1 0 0 0 0 ] 1;
n n [ 0 0 0 0 0 0 0 ] 1;
}

BirdCarreauCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] 1e-06;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] 1e-06;
k k [ 0 0 1 0 0 0 0 ] 0;
n n [ 0 0 0 0 0 0 0 ] 1;
}


// ************************************************** *********************** //

It should works, at least for me it does.
Hope it helps,

Elia


All times are GMT -4. The time now is 18:25.