CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Getting intermediate values for pUT etc

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

LinkBack Thread Tools Display Modes
Old   June 28, 2008, 02:13
Default Hello I took the solver ico
Join Date: Mar 2009
Location: Champaign, USA
Posts: 90
Rep Power: 10
srinath is on a distinguished road

I took the solver icoFoam and put in a bunch of runtime.write() statements, to see which function calls modify which objects(U,phi,T,p etc).
The problem is when i run it values keep getting overwritten.

Is there a way to direct the outputs to a different directory apart from the default?

srinath is offline   Reply With Quote

Old   June 30, 2008, 04:35
Default Hi Srinath I haven't seen s
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,759
Rep Power: 29
ngj will become famous soon enoughngj will become famous soon enough
Hi Srinath

I haven't seen such possibilities, but you can always put in a "system"-call. It is not beautiful but it would work:

Something like system("mv $PATH/U $PATH/U_0"), etc. Of course you need to handle the string correctly as the above is purely illustrative.

Hope it is useful for you.

/ Niels
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   July 7, 2008, 22:13
Default Hi everyone, I have been tr
New Member
nikhil babu madduri
Join Date: Mar 2009
Posts: 17
Rep Power: 10
nikhilmadduri is on a distinguished road
Hi everyone,

I have been trying to simulate the flow around a cylinder. I generated the mesh. When I run it, it was giving following error. Can anyone explain what is the reason?

[nikhil@localhost ~]$ icoFoam /home/nikhil/OpenFOAM/nikhil-1.4.1/run/tutorials/i coFoam cavityGrade
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: |
| \/ M anipulation | |

Exec : icoFoam /home/nikhil/OpenFOAM/nikhil-1.4.1/run/tutorials/icoFoam cavity Grade
Date : Jul 08 2008
Time : 10:11:44
Host : localhost
PID : 5338
Root : /home/nikhil/OpenFOAM/nikhil-1.4.1/run/tutorials/icoFoam
Case : cavityGrade
Nprocs : 1
Create time

Create mesh for time = 0

Reading transportProperties

Reading field p

Reading field U

Reading/calculating face flux field phi

Starting time loop

Time = 0.05

--> FOAM Warning :
From function max(const FieldField<field,>&) const
in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/FieldFieldFunctio ns.C at line 433
empty fieldField, returning zero
Courant Number mean: 0 max: 0

--> FOAM FATAL ERROR : This mesh contains patches of type empty but is not 1D or 2D
by virtue of the fact that the number of faces of this
empty patch is not divisible by the number of cells.

From function emptyFvPatchField<type>::updateCoeffs()
in file fields/fvPatchFields/constraint/empty/emptyFvPatchField.C at line 148.

FOAM exiting

replies will be highly appreciated.

thanks and regards.
nikhilmadduri is offline   Reply With Quote


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
turbulent quantity goes -ve for intermediate run Sourabh Main CFD Forum 0 November 29, 2006 00:37
intermediate results during a transient run Michael Skoblin CFX 1 September 25, 2006 14:00
Intermediate Restart Files RK CFX 0 September 6, 2005 09:32
Intermediate Res. files in CFX4.4 Anne CFX 2 August 28, 2004 05:59
Intermediate boundary conditions pilar FLUENT 0 February 8, 2004 13:10

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