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

Problem while writing pressure file "buoyantPressure"

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2010, 15:07
Default Problem while writing pressure file "buoyantPressure"
  #1
New Member
 
Nadeem
Join Date: Mar 2009
Location: München, Bavarian, Deutschland
Posts: 24
Rep Power: 17
ubaid is on a distinguished road
Hello Everybody,

I am trying to write pressure file with buoyantPressure as a patch type. Actually I dont get any error, but I want to get output with rho = rhok, but I am getting output as rho = rho;

pressure is declared as below:

volScalarField p (IOobject("p",runTime.timeName(),mesh,IOobject::NO _READ,IOobject::AUTO_WRITE), mesh,dimensionedScalar("p",dimensionSet(0,2,-2,0,0,0,0),101325),"buoyantPressure");

it gives output as follows:

dimensions [0 2 -2 0 0 0 0];
internalField uniform 101325;

boundaryField
{
A
{
type buoyantPressure;
gradient uniform 0;
rho rho;
value 101325;

}
}


but I want to get an output as follows;


dimensions [0 2 -2 0 0 0 0];
internalField uniform 101325;

boundaryField
{
A
{
type buoyantPressure;
gradient uniform 0;
rho rhok;
value 101325;

}
}

I dont know further, how can I turn rho into rhok.

Thanks a lot in advance.
Best Regards,
ubaid is offline   Reply With Quote

Reply

Tags
buoyantpressure, writing-files

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 12:47
[OpenFOAM] Paraview command not found hardy ParaView 7 September 18, 2008 05:59
Errors writing problem file. Dan Siemens 3 November 19, 2006 10:11
Gas pressure question Dan Moskal Main CFD Forum 0 October 24, 2002 23:02
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 06:50.