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

History Output file: Turbulent Kinetic Energy

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2024, 06:18
Default History Output file: Turbulent Kinetic Energy
  #1
New Member
 
Federico Vegetti
Join Date: Apr 2024
Posts: 4
Rep Power: 2
Federico Vegetti is on a distinguished road
Hi,
I was wondering if there's any options for history output to include the turbulent kinetic energy.
I'm running an URANS, using the Equips module, and I've set as Options for history output TURB_KINETIC_ENERGY and TAVG_TKE but none of them works.

Anyone could help me, please?

Thanks in advance,
Federico

Last edited by Federico Vegetti; September 27, 2024 at 08:56.
Federico Vegetti is offline   Reply With Quote

Old   September 27, 2024, 18:57
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Hi,
When you do a dry run using SU2_CFD -d config.cfg, you will get all available screen/history outputs. You can also create additional outputs using CUSTOM_OUTPUTS
For instance to compute averages on the markers z_minus and z_plus, or to compute velocities in a point:
Code:
CUSTOM_OUTPUTS= 'velocity : Macro{sqrt(pow(VELOCITY_X, 2) + pow(VELOCITY_Y, 2) + pow(VELOCITY_Z, 2))};\
                 avg_vel : AreaAvg{$velocity}[z_minus, z_plus];\
                 var_vel : AreaAvg{pow($velocity - avg_vel, 2)}[z_minus, z_plus];\
                 dev_vel : Function{sqrt(var_vel) / avg_vel};\
                 probe1 : Probe{$velocity}[0.005, 0.005, 0.05]'

HISTORY_OUTPUT= ITER, RMS_RES, CUSTOM
You can use turbulent kinetic energy here as well using the keyword TURB[0] and TURB[1] for tke and dissipation.
bigfootedrockmidget 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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 12:46.