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

Residuals in RMS or MAX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2021, 04:07
Default Residuals in RMS or MAX
  #1
Member
 
Join Date: Feb 2020
Posts: 79
Rep Power: 6
Fouch is on a distinguished road
Hi,

Could you tell me if residuals values are in RMS or Max values in OpenFoam ?

Thanks !
Fouch is offline   Reply With Quote

Old   July 9, 2021, 05:39
Default
  #2
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 722
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
RMS using gSumMag

The implementation of (gSumProd and) gSumMag can be found here: https://github.com/OpenFOAM/OpenFOAM...eldFunctions.H
dlahaye is offline   Reply With Quote

Old   July 9, 2021, 06:14
Default
  #3
Member
 
Join Date: Feb 2020
Posts: 79
Rep Power: 6
Fouch is on a distinguished road
Thank you for your feedback.
So this Max by default ?
Fouch is offline   Reply With Quote

Old   July 9, 2021, 06:26
Default
  #4
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 722
Blog Entries: 1
Rep Power: 17
dlahaye is on a distinguished road
RMS (*not* MAX) by default.

RMS here as the Euclidean norm of a vector.

norm(v) = \sqrt( \sum_i (v_i)^2 )
dlahaye is offline   Reply With Quote

Old   July 9, 2021, 08:55
Default
  #5
Member
 
Join Date: Feb 2020
Posts: 79
Rep Power: 6
Fouch is on a distinguished road
Ok, that's clear for me now.

Thank you so much for your help.
Fouch 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
Problem with chtMultiregionFoam radiation boundary condition baran_foam OpenFOAM Running, Solving & CFD 10 December 17, 2019 17:36
Why RNGkepsilon model gives floating error shipman OpenFOAM Running, Solving & CFD 3 September 7, 2013 08:00
RMS Courant Number vs MAX Courant Number zoozoozoo Main CFD Forum 3 June 12, 2012 13:44
On the damBreak4phaseFine cases paean OpenFOAM Running, Solving & CFD 0 November 14, 2008 21:14
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


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