CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

<solver> -postProcess -func yPlus

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree7Likes
  • 1 Post By qutadah.r
  • 1 Post By HPE
  • 1 Post By qutadah.r
  • 2 Post By yi.feng
  • 1 Post By saeed sangchooly
  • 1 Post By Elia38

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2022, 12:19
Default <solver> -postProcess -func yPlus
  #1
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 4
qutadah.r is on a distinguished road
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
saeed sangchooly likes this.
qutadah.r is offline   Reply With Quote

Old   February 3, 2022, 11:08
Default
  #2
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
https://develop.openfoam.com/Develop.../-/issues/1978

yPlus twoPhaseEulerFoam

I think simply it is not available.
qutadah.r likes this.
HPE is offline   Reply With Quote

Old   February 4, 2022, 01:02
Default
  #3
Senior Member
 
Claudio Boezio
Join Date: May 2020
Location: Europe
Posts: 137
Rep Power: 7
Ship Designer is on a distinguished road
Do you have the turbulenceProperties or momentumTransport file in the constant/ folder of your case and is it set up properly?
Ship Designer is offline   Reply With Quote

Old   February 22, 2022, 03:35
Default
  #4
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 4
qutadah.r is on a distinguished road
Quote:
Originally Posted by HPE View Post

I dont think it is there too, maybe in the future it will be implemented.
qutadah.r is offline   Reply With Quote

Old   February 22, 2022, 03:36
Default
  #5
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 4
qutadah.r is on a distinguished road
Quote:
Originally Posted by Ship Designer View Post
Do you have the turbulenceProperties or momentumTransport file in the constant/ folder of your case and is it set up properly?



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
saeed sangchooly likes this.
qutadah.r is offline   Reply With Quote

Old   June 29, 2022, 12:59
Post
  #6
New Member
 
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4
saeed sangchooly is on a distinguished road
Quote:
Originally Posted by qutadah.r View Post
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
I'm facing the same problem.
haven't you figured it out ?
saeed sangchooly is offline   Reply With Quote

Old   November 3, 2022, 10:07
Default
  #7
New Member
 
Yi Feng
Join Date: Nov 2022
Posts: 1
Rep Power: 0
yi.feng is on a distinguished road
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.
yi.feng is offline   Reply With Quote

Old   November 25, 2022, 17:14
Post
  #8
New Member
 
saeed sangchooly
Join Date: Feb 2022
Posts: 17
Rep Power: 4
saeed sangchooly is on a distinguished road
Quote:
Originally Posted by yi.feng View Post
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.
tnx. I'll check it out
qutadah.r likes this.
saeed sangchooly is offline   Reply With Quote

Old   January 12, 2023, 18:12
Default
  #9
Senior Member
 
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 4
qutadah.r is on a distinguished road
did it work?
qutadah.r is offline   Reply With Quote

Old   August 1, 2023, 02:03
Default
  #10
Member
 
Sachin
Join Date: Aug 2014
Location: India
Posts: 84
Rep Power: 11
Sachin m is on a distinguished road
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
Sachin m is offline   Reply With Quote

Old   August 8, 2023, 10:03
Default
  #11
New Member
 
Elia Kazemi
Join Date: Sep 2022
Posts: 14
Rep Power: 3
Elia38 is on a distinguished road
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.
Sachin m likes this.
Elia38 is offline   Reply With Quote

Reply

Tags
multiphaseeulerfoam, postprocess, yplus

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OF 4.0 multiregion case calculate yPlus pbnuclex OpenFOAM Post-Processing 6 July 16, 2020 04:27
Question about 'postProcess -func' Stan Zhou OpenFOAM Post-Processing 2 July 15, 2020 22:53
postProcess -field U -func mag, Why it gives error? Mojtaba.a OpenFOAM Post-Processing 5 April 9, 2020 14:22
simpleFoam -postProcess -func R kaaja OpenFOAM Post-Processing 4 March 29, 2018 17:48
of4 Can't pimpleFoam -postProcess -func forcesCoeffsIncompressible Danubi OpenFOAM Post-Processing 3 July 27, 2017 12:47


All times are GMT -4. The time now is 23:18.