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

How to read pressure from a designated path

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2008, 05:48
Default Generally, OpenFOAM uses the f
  #1
New Member
 
Jia Rui
Join Date: Mar 2009
Posts: 9
Rep Power: 17
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


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 read pressure at discrete points paka OpenFOAM 16 April 28, 2020 08:26
Path status in DPM BC UDF HS FLUENT 4 June 12, 2014 08:12
What is MMS data path? frank CFX 2 July 11, 2008 00:42
How should i set path in OpenFOAM11bashrc ztdep OpenFOAM Installation 1 April 18, 2008 06:20
Different PATH and OpenFOAM 11 ds2taieb OpenFOAM Installation 0 January 25, 2006 14:15


All times are GMT -4. The time now is 22:26.