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

how to modify rhoCentralFoam to write continuity residuals?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 1, 2013, 13:44
Default how to modify rhoCentralFoam to write continuity residuals?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
although rhoPimpleFoam writes residuals of continuity equation but rhoCentralFoam doesn't (why?).
then how can change rhoCentralFoam to write continuity residuals like variable residuals?
writing part of them is like below:
rhoCentralFoam:
Code:
     turbulence->correct();          runTime.write();          Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"             << "  ClockTime = " << runTime.elapsedClockTime() << " s"             << nl << endl;     }      Info<< "End\n" << endl;      return 0; }
rhoPimpleFoam:
Code:
     if (pimple.turbCorr())             {                 turbulence->correct();             }         }          runTime.write();          Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"             << "  ClockTime = " << runTime.elapsedClockTime() << " s"             << nl << endl;     }      Info<< "End\n" << endl;      return 0; }
looks like the same.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality 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
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
How to write out residuals?? farbfilm FLUENT 3 April 20, 2018 12:43
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


All times are GMT -4. The time now is 13:10.