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

How to read pressure from a designated path

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 4, 2008, 04:48
Default Generally, OpenFOAM uses the f
  #1
New Member
 
Jia Rui
Join Date: Mar 2009
Posts: 9
Rep Power: 7
jennyrui2008 is on a distinguished road
Generally, OpenFOAM uses the following codes to read the initial pressure field as follows:

volScalarField p
(
IOobject
(
"p",
runTime.timeName(),
mesh,
IOobject::MUST_READ,
IOobject::AUTO_WRITE
),
mesh
);

The program will look for p from case/0/p, but now if I need to find p from case/Re/0/p, how should I write the codes?

Thanks a lot!
jennyrui2008 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
Path status in DPM BC UDF HS FLUENT 4 June 12, 2014 07:12
How to read pressure at discrete points paka OpenFOAM 15 July 21, 2008 05:03
What is MMS data path? frank CFX 2 July 10, 2008 23:42
How should i set path in OpenFOAM11bashrc ztdep OpenFOAM Installation 1 April 18, 2008 05:20
Different PATH and OpenFOAM 11 ds2taieb OpenFOAM Installation 0 January 25, 2006 13:15


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