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

how to modify rhoCentralFoam to write continuity residuals?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 1, 2013, 12: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,185
Rep Power: 16
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 6 April 17, 2010 23:40
How to write out residuals?? farbfilm FLUENT 1 September 23, 2009 04:25
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 08:43.