|
[Sponsors] |
Problem while writing pressure file "buoyantPressure" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 2, 2010, 15:07 |
Problem while writing pressure file "buoyantPressure"
|
#1 |
New Member
Nadeem
Join Date: Mar 2009
Location: München, Bavarian, Deutschland
Posts: 24
Rep Power: 17 |
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, |
|
Tags |
buoyantpressure, writing-files |
|
|
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 |