|
[Sponsors] |
February 2, 2022, 13:19 |
<solver> -postProcess -func yPlus
|
#1 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
I am trying to find yPlus for my solver (multiphaseEulerFoam)
multiphaseEulerFoam -postProcess -func yPlus , however it runs and the gives me following error. Any suggestions? Thanks! Code:
--> FOAM FATAL ERROR: Unable to find turbulence model in the database From function bool Foam::functionObjects::yPlus::execute() in file yPlus/yPlus.C at line 187. FOAM exiting |
|
February 3, 2022, 12:08 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
https://develop.openfoam.com/Develop.../-/issues/1978
yPlus twoPhaseEulerFoam I think simply it is not available.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 4, 2022, 02:02 |
|
#3 |
Senior Member
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7 |
Do you have the turbulenceProperties or momentumTransport file in the constant/ folder of your case and is it set up properly?
|
|
February 22, 2022, 04:35 |
|
#4 | |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Quote:
I dont think it is there too, maybe in the future it will be implemented. |
||
February 22, 2022, 04:36 |
|
#5 | |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
Quote:
I have the momentumTransport.air and momentumTransport.water since im running two-phase simulations, and yes the setup is very correct, and running since a long time. Note: I am using OpenFOAM- Version 9 |
||
June 29, 2022, 13:59 |
|
#6 |
New Member
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4 |
||
November 3, 2022, 11:07 |
|
#7 |
New Member
Yi Feng
Join Date: Nov 2022
Posts: 1
Rep Power: 0 |
Hi saeed,
This problem is caused by the name of the turbulence model. In single phase solvers and yPlus, the name of the turbulence model has no suffix. So, it's just turbulenceProperties. But in multiphase solvers, the name of the turbulence model dose have a suffix, and becomes turbulenceProperties.air or something else. Therefore, this problem can be solved by adding the suffix to the name of turbulence model in yPlus. |
|
November 25, 2022, 18:14 |
|
#8 | |
New Member
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4 |
Quote:
|
||
January 12, 2023, 19:12 |
|
#9 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
did it work?
|
|
August 1, 2023, 03:03 |
|
#10 |
Member
Sachin
Join Date: Aug 2014
Location: India
Posts: 84
Rep Power: 12 |
I get the same issue now in openfoam 11. The yplus function worked well untill openfoam 10 . Now after the update the above error shoots up
Code: --> FOAM FATAL ERROR: Unable to find turbulence model in the database From function bool Foam::functionObjects::yPlus::execute() in file yPlus/yPlus.C at line 187. FOAM exiting Iam using DTChull tutorial |
|
August 8, 2023, 11:03 |
|
#11 |
New Member
Elia Kazemi
Join Date: Sep 2022
Posts: 14
Rep Power: 4 |
Hi
To all those who had this problem, one solution is to add the following command to the end of the controlDict file: functions { #includeFunc yPlus(phase=water) } And then let your problem to solve a few more iterations. It will create a folder called postProcessing and inside which will be the y plus values. Note that with the above command, calculated y plus will be based on the water phase. You can change it to any phase you want. |
|
Tags |
multiphaseeulerfoam, postprocess, yplus |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 4.0 multiregion case calculate yPlus | pbnuclex | OpenFOAM Post-Processing | 6 | July 16, 2020 05:27 |
Question about 'postProcess -func' | Stan Zhou | OpenFOAM Post-Processing | 2 | July 15, 2020 23:53 |
postProcess -field U -func mag, Why it gives error? | Mojtaba.a | OpenFOAM Post-Processing | 5 | April 9, 2020 15:22 |
simpleFoam -postProcess -func R | kaaja | OpenFOAM Post-Processing | 4 | March 29, 2018 18:48 |
of4 Can't pimpleFoam -postProcess -func forcesCoeffsIncompressible | Danubi | OpenFOAM Post-Processing | 3 | July 27, 2017 13:47 |