Lorena2fdez |
June 8, 2016 12:10 |
Quote:
Originally Posted by SPH_CFD
(Post 603940)
Thank you for your answer. However, I cannot perform that command and get "command not found". I do not know that yPlusRas is possible for mixture model in OF or not?
I see here for openFOAM 1.5. They say that yPlusRAS only exist for singlephase.
http://www.cfd-online.com/Forums/ope...-yplusras.html
Is it true?
|
If you loaded correctly OpenFOAM your wouldn't have the problem "command not found". I use OpenFOAM-2.3.0 and the comand "yPlusRAS" is recognized.
Generally there's a problem with the function yPlusRAS. It say that don't read the value of nu. You need to change the constant/transportProperties and write in the initial lines the value of nu. Remember restart the file for run the case. For the tutorial example of cavitatingFoam:
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object transportProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
mul mul [ 1 -1 -1 0 0 ] 0.0065;
muv muv [ 1 -1 -1 0 0 ] 5.953e-06;
## Only for yPlusRAS ##
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06;
## Only for yPlusRAS ##
phases (vapour water);
water
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 7.831e-06;
rho rho [ 1 -3 0 0 0 0 0 ] 830;
CrossPowerLawCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999;
m m [ 0 0 1 0 0 0 0 ] -999;
n n [ 0 0 0 0 0 0 0 ] -999;
}
BirdCarreauCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999;
k k [ 0 0 1 0 0 0 0 ] -999;
n n [ 0 0 0 0 0 0 0 ] -999;
}
}
vapour
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 4.252e-05;
rho rho [ 1 -3 0 0 0 0 0 ] 0.14;
CrossPowerLawCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999;
m m [ 0 0 1 0 0 0 0 ] -999;
n n [ 0 0 0 0 0 0 0 ] -999;
}
BirdCarreauCoeffs
{
nu0 nu0 [ 0 2 -1 0 0 0 0 ] -999;
nuInf nuInf [ 0 2 -1 0 0 0 0 ] -999;
k k [ 0 0 1 0 0 0 0 ] -999;
n n [ 0 0 0 0 0 0 0 ] -999;
}
}
// ************************************************************************* //
The idea of the problem of yPlusRAS is like the function don't read transportProperties after "phases (vapour water);" and it doesn't get the respective values.
Best regards,
Lorena
|