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

Volume integration of Mach number for evaluating convergence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2016, 06:04
Default Volume integration of Mach number for evaluating convergence
  #1
New Member
 
Mike
Join Date: Oct 2015
Posts: 11
Rep Power: 10
gunnersnroses is on a distinguished road
Hi,

Is it possible to implement a volume integration of Mach number in SU2 to evaluate convergence? I'm running a hypersonic inlet study and would like to know when the internal shockwaves have reached stable positions which isn't easy to determine just from the outputted residuals alone.

I know I could plot the solution at regular intervals to manually check but I was hoping for an automatic way of doing it, possibly by outputting it into the history file. If not currently possible is this something I could easily implement into the code myself?

Cheers.
gunnersnroses is offline   Reply With Quote

Old   February 16, 2016, 05:07
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 10
talbring is on a distinguished road
Hi Mike,

you can do it similar to the way described here:
http://www.cfd-online.com/Forums/su2...-variable.html

You can compute the Mach number at a point by using
Code:
 su2double Ma = sqrt(node[iPoint]->GetVelocity2())/node[iPoint]->GetSoundSpeed();
Tim
talbring is offline   Reply With Quote

Reply

Tags
convergence, mach, shockwaves, su2


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
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 09:23
Low Mach number wing/body junction convergence Zen SU2 6 May 3, 2019 04:51
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 04:49
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 22:40


All times are GMT -4. The time now is 00:16.