|
[Sponsors] |
Boundary condition turbulentHeatFluxTemperature causes crash if yPlus is too low |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 4, 2013, 15:28 |
Boundary condition turbulentHeatFluxTemperature causes crash if yPlus is too low
|
#1 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
Using the solver buoyantBoussinesqSimpleFoam and the boundary condition turbulentHeatFluxTemperature at a wall causes a crash in the solver for T if the yPlus value is too low at this wall.
The reason is, that the gradient of T at that wall is calculated in OpenFOAM-2.2.x/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C: Code:
gradient() = q_/(Ap*Cp0*alphaEffp); Code:
gradient() = q_/(Cp0*alphaEffp); Code:
kappat = turbulence->nut()/Prt; kappat.correctBoundaryConditions(); Code:
if (yPlus > yPlusLam_) { nutw[faceI] = nuw[faceI]*(yPlus*kappa_/log(E_*yPlus) - 1.0); } And obvious solution would be to use a coarser grid, but this does not make sense (the SST turbulence model is used, so there should be no lower limit on yPlus). I also reported this at: http://www.openfoam.org/mantisbt/view.php?id=806 How to fix this problem? |
|
January 2, 2014, 03:17 |
|
#2 |
Member
Peter
Join Date: Nov 2011
Posts: 46
Rep Power: 15 |
Hi, Joachim!
I don't know what alphaEffp is, but it couldn't be just turbulent. It could be alpha+alphat, by my guess, and alpha shouldn't be zero at the wall or anywhere else, also guessing. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Imbalance | HMR | CFX | 5 | October 10, 2016 06:57 |
Time dependant pressure boundary condition | yosuke1984 | OpenFOAM Verification & Validation | 3 | May 6, 2015 07:16 |
No-slip condition for non-resolved boundary layer in open channel banks | Lupocci | Main CFD Forum | 1 | January 17, 2013 04:11 |
inlet velocity boundary condition | murali | CFX | 5 | August 3, 2012 09:56 |
asking for Boundary condition in FLUENT | Destry | FLUENT | 0 | July 27, 2010 01:55 |