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

Residuals written multiple times in file with chtMultiRegion

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2019, 13:40
Default Residuals written multiple times in file with chtMultiRegion
  #1
Member
 
Luca
Join Date: Mar 2011
Location: Italy
Posts: 62
Rep Power: 15
marluc is on a distinguished road
Dear All,

I am facing a problem when using the functionObject residuals with chtMultiRegionSimpleFoam.

Here the code:
Code:
residualsFluid
    {  
      type            residuals;
      libs            ("libutilityFunctionObjects.so");

      writeControl    timeStep;
      writeInterval   1;
      region          fluid;

      fields (p_rgh U h k omega);
    }
The residuals are correctly saved in the corresponding file in the directory postProcessing but they are written three times for every timeStep:

Code:
# Residuals   
# Time          p_rgh           Ux              Uy              Uz              h               k               omega         
1.002           1.0000000e+00   0.0000000e+00   0.0000000e+00   1.0000000e+00   1.0000000e+00   1.0000000e+00   5.7152730e-03
1.002           1.0000000e+00   0.0000000e+00   0.0000000e+00   1.0000000e+00   1.0000000e+00   1.0000000e+00   5.7152730e-03
1.002           1.0000000e+00   0.0000000e+00   0.0000000e+00   1.0000000e+00   1.0000000e+00   1.0000000e+00   5.7152730e-03
Does anyone know the reason for this?


Thank you in advance.
Luca


EDIT:
I am using OF 5.x and the problem happens in serial as well as in parallel. Residuals are always written three times each.

Last edited by marluc; May 30, 2019 at 04:46. Reason: Information added
marluc is offline   Reply With Quote

Old   May 29, 2019, 13:07
Default
  #2
Senior Member
 
Peter Hess
Join Date: Apr 2011
Location: Austria
Posts: 250
Rep Power: 17
peterhess is on a distinguished road
Hello!
is it possible that you have:

nNonOrthogonalCorrectors 3;

?

Regards

Peter
peterhess is offline   Reply With Quote

Old   May 29, 2019, 13:10
Default Residuals written multiple times in file with chtMultiRegion
  #3
Member
 
Luca
Join Date: Mar 2011
Location: Italy
Posts: 62
Rep Power: 15
marluc is on a distinguished road
Quote:
Originally Posted by peterhess View Post
Hello!
is it possible that you have:

nNonOrthogonalCorrectors 3;

?

Regards

Peter

Hi,
actually not. It is set to 1.


Regards,
Luca
marluc 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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 04:50
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 14:59


All times are GMT -4. The time now is 17:22.