<solver> -postProcess -func yPlus
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: |
https://develop.openfoam.com/Develop.../-/issues/1978
https://www.cfd-online.com/Forums/op...tml#post792996 I think simply it is not available. |
Do you have the turbulenceProperties or momentumTransport file in the constant/ folder of your case and is it set up properly?
|
Quote:
I dont think it is there too, maybe in the future it will be implemented. :) |
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 |
Quote:
haven't you figured it out ? |
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. |
Quote:
|
did it work?
|
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 |
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. |
All times are GMT -4. The time now is 13:07. |