|
[Sponsors] |
June 8, 2016, 05:40 |
yPlus for cavitatingFoam
|
#1 |
Member
Quang Le Dang
Join Date: Jun 2012
Posts: 61
Rep Power: 13 |
Dear all
I am running a case using cavitatingFoam. However, I have a problem when I want to check yPlus. It is always "command not found". Do you know some ways to get this value? Thank you in advance. |
|
June 8, 2016, 07:07 |
|
#2 | |
New Member
Lorena Fernández Fernández
Join Date: May 2016
Location: Spain
Posts: 21
Rep Power: 9 |
Quote:
Best regards, Lorena |
||
June 8, 2016, 09:54 |
|
#3 | |
Member
Quang Le Dang
Join Date: Jun 2012
Posts: 61
Rep Power: 13 |
Quote:
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? |
||
June 8, 2016, 11:10 |
|
#4 | |
New Member
Lorena Fernández Fernández
Join Date: May 2016
Location: Spain
Posts: 21
Rep Power: 9 |
Quote:
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; } } // ************************************************************************* // Best regards, Lorena |
||
June 9, 2016, 12:14 |
|
#5 | |
Member
Quang Le Dang
Join Date: Jun 2012
Posts: 61
Rep Power: 13 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field | lakeat | OpenFOAM Community Contributions | 58 | December 23, 2021 02:36 |
Solver Yplus of Automatic wall treatment | justjhy | CFX | 2 | May 4, 2013 07:19 |
How to calculate Y+( Yplus) | mohammad | Main CFD Forum | 3 | January 11, 2011 23:23 |
which yplus (SST) | sanchezz | CFX | 17 | January 11, 2010 04:45 |
heat transfer coefficients with "bad" yplus | Andrew | Main CFD Forum | 4 | April 8, 1999 04:43 |