|
[Sponsors] |
April 16, 2017, 22:51 |
yPlus openFOAM 4.0
|
#1 |
Member
bye bye my blue
Join Date: Sep 2016
Posts: 37
Rep Power: 8 |
in yPlus.C,
forAll(patches, patchi) { const fvPatch& patch = patches[patchi]; if (isA<nutWallFunctionFvPatchScalarField>(nutBf[patchi])) { const nutWallFunctionFvPatchScalarField& nutPf = dynamic_cast<const nutWallFunctionFvPatchScalarField&> ( nutBf[patchi] ); yPlusBf[patchi] = nutPf.yPlus(); } else if (isA<wallFvPatch>(patch)) { yPlusBf[patchi] = d[patchi] *sqrt ( nuEffBf[patchi] *mag(turbModel.U().boundaryField()[patchi].snGrad()) )/nuBf[patchi]; } } nuEffBf[patchi] means eddy viscosity? and mag(turbModel.U().boundaryField()[patchi].snGrad()) = abs(dU/dy). is it right?? I saw that openfoam yPlus is actually yStar. But I think openfoam yPlus is real yPlus in openfoam4.0 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] OpenFOAM 4.0 compilation fails with latest Intel compiler | mstud | OpenFOAM Installation | 3 | October 6, 2016 16:01 |
SolidModel in OpenFOAM 4.0 Foundation | snoopyMP | OpenFOAM Programming & Development | 0 | September 9, 2016 10:16 |
[OpenFOAM.org] OpenFOAM 4.0 compilation - "cannot open source file..." | edsw | OpenFOAM Installation | 3 | August 30, 2016 17:14 |
OpenFOAM 4.0 sample utility | Bazinga | OpenFOAM Running, Solving & CFD | 0 | August 30, 2016 10:36 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |