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

PimpleFoam does not print out the Residuals

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2020, 15:25
Default PimpleFoam does not print out the Residuals
  #1
New Member
 
Jeff Stout
Join Date: Dec 2019
Posts: 8
Rep Power: 6
jeffery0630 is on a distinguished road
I added a switch (or something) to my case to only compute the pressure. But I was forced to drop the project for a while and I now I'm picking it up again. But now I want the residuals back and I don't remember how I turned them off.

This is what I see now:
Quote:
Courant Number mean: 0.0005563993 max: 1.000097
deltaT = 4.40439e-07
Time = 8.63943e-06

PIMPLE: iteration 1
AMI: Creating addressing and weights between 73931 source faces and 73367 target faces
AMI: Patch source sum(weights) min:0.2762771 max:1.823033 average:1.006376
AMI: Patch target sum(weights) min:0.5344396 max:1.854972 average:1.002976
GAMG: Solving for pcorr, Initial residual = 1, Final residual = 0.07635187, No Iterations 2
GAMG: Solving for pcorr, Initial residual = 0.06917345, Final residual = 7.669559e-07, No Iterations 13
time step continuity errors : sum local = 2.270216e-15, global = 1.51368e-16, cumulative = 7.193733e-08
GAMG: Solving for p, Initial residual = 0.0009160147, Final residual = 4.06406e-05, No Iterations 1
GAMG: Solving for p, Initial residual = 0.0001185061, Final residual = 1.132687e-05, No Iterations 1
time step continuity errors : sum local = 1.008955e-08, global = 1.947538e-10, cumulative = 7.213208e-08
But this is what I want:
Quote:
PIMPLE: iteration 1
AMI: Creating addressing and weights between 116720 source faces and 117446 target faces
AMI: Patch source sum(weights) min:0.9594485 max:1.258584 average:1.000118
AMI: Patch target sum(weights) min:0.8338208 max:1.073212 average:0.9997709
GAMG: Solving for pcorr, Initial residual = 1, Final residual = 0.07649504, No Iterations 6
GAMG: Solving for pcorr, Initial residual = 0.03494342, Final residual = 7.014825e-07, No Iterations 13
time step continuity errors : sum local = 1.844668e-08, global = -2.117243e-09, cumulative = -2.117243e-09
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.06584307, No Iterations 2
smoothSolver: Solving for Uy, Initial residual = 1, Final residual = 0.06573879, No Iterations 2
smoothSolver: Solving for Uz, Initial residual = 1, Final residual = 0.09440645, No Iterations 4
I've done folder compare with before and after but I don't see anything that would cause this. Does anybody have any ideas?

I can upload my system and constant directory if that will help.
jeffery0630 is offline   Reply With Quote

Old   September 17, 2020, 20:02
Default
  #2
Senior Member
 
Join Date: Aug 2015
Posts: 494
Rep Power: 15
clapointe is on a distinguished road
Without seeing the case it is hard to say, but off the top of my head -- momentum prediction needs to be on to solve the momentum equation (i.e., solve for velocity).

Caelan
clapointe is offline   Reply With Quote

Old   September 17, 2020, 23:59
Default
  #3
New Member
 
Jeff Stout
Join Date: Dec 2019
Posts: 8
Rep Power: 6
jeffery0630 is on a distinguished road
I was reading another post about a similar issue and I suspected I could have the same problem that guy had. In that other post various faces of the case were not setup correctly and that mesh was malformed which caused the smoothSolver (the part that prints out the residuals) to crash.

It turns out I was deforming the mesh too. The mesh had a few "underdeterminedCells" and I was using setSet & subsetMesh to remove them from the mesh. This cause pimpleFoam/smootSolver to crash. I guess I need to heal the mesh somehow.

Anyway, now that I think about it the switches I vaguely remember which would turn off certain terms in the solution were not for pimpleFoam. Now that I think about it, I may have been remembering switches I was setting on potentialFoam (-writePhi, -writephi).
jeffery0630 is offline   Reply With Quote

Old   September 18, 2020, 03:22
Default
  #4
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 18
dlahaye is on a distinguished road
Does below help?

* options to be used during runtime: extensive config file available to from OPEN_FOAM_PATH/1806/etc/controlDict (need to check). This controlDict can be copied to HOME/.OpenFOAM/1806. Change solver performance from 1 to 2 to obtain more verbosity in the solver.
dlahaye 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
how to get Sutherland and JANAF coefficients of air? immortality OpenFOAM Running, Solving & CFD 64 October 18, 2022 11:17
Local residuals - pimpleFoam - OpenFOAM 4.1 cyln OpenFOAM Running, Solving & CFD 1 November 1, 2018 12:39
Residuals in PimpleFoam Triggin OpenFOAM Post-Processing 2 June 7, 2018 08:50
Pimplefoam - residuals not converging cyln OpenFOAM Running, Solving & CFD 16 November 7, 2017 13:46
[blockMesh] Another cylinder question bendel_boy OpenFOAM Meshing & Mesh Conversion 5 January 6, 2015 06:09


All times are GMT -4. The time now is 11:12.