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

output force instead of Cd in console

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2018, 10:27
Default output force instead of Cd in console
  #1
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
hi,

i noticed the console output is different when using testcase cfg for inv_euler and incomp_euler. One output Velx, the other moniting RouE. Can't see any setting about this in cfg fie. is it hard coded inside the slover?
i Just want to moniting force on screen,not Cd.

thanks
cean
ceanwang is offline   Reply With Quote

Old   August 16, 2018, 06:48
Default
  #2
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
OK, I found out in output_structure.cpp

In function

void COutput::SetConvHistory_Body {

}

Looking for

/*--- Write screen output ---*/

section to change as needed.
ceanwang is offline   Reply With Quote

Old   August 25, 2018, 18:36
Default
  #3
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
Hello
Thanks for your interest in SU2


Just a quick note, since it sounded like there was some confusion over the meaning of the console output - the reason that pressure and velocity residuals are output for incompressible simulations while RhoE and Rho residuals are output for compressible simulations has to do with the equations being solved. For a compressible simulation, the equations are in terms of mass, momentum, and energy (rho, rho*U, and rho*E). For an incompressible simulation, because by definition the change in density (rho) is zero, the equations are instead implemented in terms of pressure and velocity.
The residual (Res[...]) values have to do with how far the solver has progressed towards a good solution, and do not indicate the physical values of these quantities.



It is totally fine to output the force instead of the Cl value, and I can see that you have already found where this can be changed. If you would like to implement an option to control this through the configuration file that would be great, and if you want to submit it to the repository you will want to a) start from the develop branch and b) make sure that it will default to the current behavior if the option isn't specified. More information on developing is available on github.



Quote:
Originally Posted by ceanwang View Post
hi,

i noticed the console output is different when using testcase cfg for inv_euler and incomp_euler. One output Velx, the other moniting RouE. Can't see any setting about this in cfg fie. is it hard coded inside the slover?
i Just want to moniting force on screen,not Cd.

thanks
cean
hlk is offline   Reply With Quote

Old   August 26, 2018, 00:03
Default
  #4
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
Thanks. I'll stick to incompressiable simulation.

At the moment, just trying to save the velocity value into flow.vtk.

Since the screen output is hard coded inside the program, add an option in the cfg file will be a new thing. I have no plan to do it now.

I do have an interest to add an option of gmsh's POS file output. I could follow the tecplot output example.
ceanwang 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] outputTime in Swak function immortality OpenFOAM Community Contributions 20 October 6, 2022 12:08
Hydrodynamic force? arun7328 STAR-CCM+ 24 July 25, 2020 04:04
What variable should I output to get wall force? Pauli CFX 6 May 15, 2018 07:58
Problems launching adjoint max_ SU2 2 March 12, 2016 11:32
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 09:34


All times are GMT -4. The time now is 06:20.