|
[Sponsors] |
yPlus calculation:Fatal Error saying turbulence model not found |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 ![]() |
Hello Foamers
I am doing LES simulation (Smagorinsky model with VanDriest delta function) of BFS case. I wanted to calculate yPlus values as per provided mesh resolution using runtime postprocessing. In doing so, I included following in controlDict: Code:
functions { #includeFunc residuals yPlus1 { type yPlus; libs (fieldFunctionObjects); writeControl writeTime; } } The simulation runs successful but it doesn't calculate yPluss and gives the following error: Code:
--> FOAM Warning : From function virtual bool Foam::functionObjects::yPlus::execute() in file yPlus/yPlus.C at line 178 Unable to find turbulence model in the database: yPlus will not be calculated yPlus yPlus1 write: writing field yPlus patch walls y+ : min = 0, max = 0, average = 0 fieldAverage fieldAverage1 write: Calculating averages Writing average fields End Finalising parallel run I also tried to calculate yPlus after the simulation has completed instead of runtime post processing but it gives same Fatal Error. Please let me know if i can fix this issue somehow. PS: I am using OpenFOAM-v-1912 and running the simulation in parallel. Best Regards Atul Jaiswal |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
New Member
Masoumeh
Join Date: Oct 2019
Posts: 21
Rep Power: 6 ![]() |
Quote:
Just follow this terminal code (as an example ![]() simpleFoam -postProcess -func yPlus |
||
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 ![]() |
Hi
I was able to solve this problem but I dont remember exactly how. As far as I recall, changing the write control to outputTime solved the issue. So the following code should work: yPlus1 { type yPlus; libs (fieldFunctionObjects); writeControl outputTime; writeInterval 1; } |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
SAIKRISHNA N
Join Date: Jun 2014
Posts: 10
Rep Power: 12 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Ma Jie
Join Date: Aug 2020
Posts: 7
Rep Power: 5 ![]() |
As ms.hashempour said, you must add your solver name, for example:
yourSolverName -postProcess -func yPlus |
|
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
无
Join Date: Jul 2022
Posts: 8
Rep Power: 4 ![]() |
Quote:
I try to use pisoFoam and interFoam to calculate y+ :add a FOyPlus dictionary file to the system, and include the functions in controlDict, which can be calculated normally; But it can't be calculated in reactingTwoPhaseEulerFoam. |
||
![]() |
![]() |
![]() |
Tags |
les, yplus |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
[Gmsh] Insatlling gmsh from the source code-issue? | CFD-Lover | OpenFOAM Meshing & Mesh Conversion | 20 | June 12, 2018 06:39 |
Gmsh installation on terminal help | spitfire | Main CFD Forum | 4 | July 27, 2017 15:11 |
8x icoFoam speed up with Cufflink CUDA solver library | kmooney | OpenFOAM Running, Solving & CFD | 42 | November 6, 2012 11:37 |
Discussion: Reason of Turbulence!! | Wen Long | Main CFD Forum | 3 | May 15, 2009 09:52 |