CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How to output turbulence G?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2019, 09:45
Default How to output turbulence G?
  #1
New Member
 
samuel
Join Date: Oct 2019
Posts: 15
Rep Power: 7
Samuel Twain is on a distinguished road
Dear all:
I want to output the turbulence G of an incompressible kEpsilon model. I tryed to add code (Info << turbulence->G() <<endl; ) to a turbulent solver (e.g. pisoFoam.C), but it failed. It said " IncompressibleTurbulenceModel doesn't have the member G()". By the way, turbulence->epsilon() did work! The version is OpenFOAM1806, the solver is pisoFoam, and the turbulent model is kEpsilon. Could anyone please give me some advice?
Each reply will be appreciated!
Samuel
Samuel Twain is offline   Reply With Quote

Old   October 30, 2019, 12:33
Default
  #2
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12
zhangyan is on a distinguished road
Quote:
Originally Posted by Samuel Twain View Post
Dear all:
I want to output the turbulence G of an incompressible kEpsilon model. I tryed to add code (Info << turbulence->G() <<endl; ) to a turbulent solver (e.g. pisoFoam.C), but it failed. It said " IncompressibleTurbulenceModel doesn't have the member G()". By the way, turbulence->epsilon() did work! The version is OpenFOAM1806, the solver is pisoFoam, and the turbulent model is kEpsilon. Could anyone please give me some advice?
Each reply will be appreciated!
Samuel
OpenFOAM-dev just implemented this feature two months ago:
https://github.com/OpenFOAM/OpenFOAM...dc7eeab5172fdd
__________________
https://openfoam.top
zhangyan is offline   Reply With Quote

Old   October 30, 2019, 19:52
Default
  #3
New Member
 
samuel
Join Date: Oct 2019
Posts: 15
Rep Power: 7
Samuel Twain is on a distinguished road
Thanks for your sharing. It really helps me a lot.
Samuel Twain is offline   Reply With Quote

Reply


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
Turbulence postprocessing Mohsin FLUENT 2 October 3, 2016 15:18
Only two turbulence options available in CFX Pre Jack001 CFX 5 March 30, 2016 03:47
[waves2Foam] Turbulence problems, possibly due to density issues app1e OpenFOAM Community Contributions 1 December 6, 2015 16:20
lift and drag on ship superstructures vaina74 OpenFOAM Running, Solving & CFD 3 June 8, 2010 13:30
Code release: Flow Transition and Turbulence Chaoqun Liu Main CFD Forum 0 September 26, 2008 18:15


All times are GMT -4. The time now is 02:58.