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

Cauchy convergence criteria for Cmx, Cmy or Cmz?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2021, 11:42
Default Cauchy convergence criteria for Cmx, Cmy or Cmz?
  #1
New Member
 
Arne Voß
Join Date: Dec 2021
Posts: 13
Rep Power: 4
Arne Voß is on a distinguished road
Hi everyone,

is it possible to use e.g. the rolling, pitching and/or yawing moment coefficients to determine cauchy convergence?

Example: I believe that this would be useful to determine a converged solution for e.g. an aileron deflection, which doesn't change the lift coefficient very much but should be clearly visible in the rolling moment.

After reading the documentation, I tried to set:

CONV_FIELD= ( LIFT, MOMENT-X, MOMENT-Y )

in the config file, but I see the following messages:

Ignoring Convergence Field(s): MOMENT-X MOMENT-Y
Convergence field(s): LIFT

Where is my mistake??
Arne Voß is offline   Reply With Quote

Old   December 14, 2021, 14:28
Default
  #2
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
I think they are written with underscore instead of -
pcg is offline   Reply With Quote

Old   December 15, 2021, 05:24
Default
  #3
New Member
 
Arne Voß
Join Date: Dec 2021
Posts: 13
Rep Power: 4
Arne Voß is on a distinguished road
Hi Pedro,

thank you very much for the quick reply. Could you please update the documentation?

https://su2code.github.io/docs_v7/Custom-Output/
MOMENT-X Total Moment around the x-axis.
MOMENT-Y Total Moment around the y-axis.
[...]


However, i have a follow-up question. I believe it would be helpful if the user can choose between relative or absolute values for cauchy convergence.


Example: For the clean aircraft, the rolling moment coefficient MOMENT_X is close to zero and thus will never reach a relative cauchy convergence ->> dividing tiny numbers is not a good idea. Using absolute cauchy convergence is more robust in this case.


Arne
Arne Voß is offline   Reply With Quote

Old   December 15, 2021, 06:21
Default
  #4
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
Happy to help Arne.
If you could open a PR to update the docs it would be great https://github.com/su2code/su2code.github.io

That is a good point, maybe we can switch automatically to absolute if the value of the monitored quantity is below 1, or add a custom scaling factor, that when set in the config overrides the behavior of dividing by the absolute value of the quantity.
pcg is offline   Reply With Quote

Old   December 15, 2021, 07:05
Default
  #5
New Member
 
Arne Voß
Join Date: Dec 2021
Posts: 13
Rep Power: 4
Arne Voß is on a distinguished road
Hi Pedro,
I corrected the documentation and created a pull request. Because this is the first time for me, I am not sure if I did this correctly?

I would suggest to have something like:
CONV_CAUCHY_TOTAL = CONV_CAUCHY_ABS + CONV_CAUCHY_RELATIVE.
In this way, the user could set CONV_CAUCHY_ABS=0.0 if he or she wanted to use only relative convergence or set CONV_CAUCHY_RELATIVE=0.0 to use only absolute convergence. Also, I would suggest individual parameters for each physical value similar to this:

CONV_FIELD= ( LIFT, DRAG, MOMENT_Y )
CONV_CAUCHY_ABS= ( 1E-4, 1E-5, 1E-4)
CONV_CAUCHY_RELATIVE = (0.0, 0.0, 0.0)
Arne Voß is offline   Reply With Quote

Old   December 15, 2021, 17:16
Default
  #6
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
Thank you for the PR!

I see how that would work but unfortunately, it would not be a backward compatible change, and I think the relative + absolute logic would confuse folks.
Whatever we introduce must be simple and inactive by default to keep backward compatibility.
pcg 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
OpenFoam programming new convergence criteria m_zanichelli OpenFOAM Programming & Development 2 August 11, 2021 04:06
Time step size & convergence absolute criteria yuitsang FLUENT 5 April 15, 2013 04:27
Convergence criteria PrandtlGlawert Main CFD Forum 1 August 13, 2009 17:13
Convergence of CFX field in FSI analysis nasdak CFX 2 June 29, 2009 01:17
convergence criteria mujahid FLUENT 7 March 6, 2004 15:06


All times are GMT -4. The time now is 07:43.