|
[Sponsors] |
June 20, 2014, 09:19 |
BC p_rgh $internalField meaning
|
#1 |
New Member
Join Date: Dec 2013
Posts: 12
Rep Power: 12 |
Hi everyone, i am a beginner user of opeFOAM. I have a case to work on, wich is run in the fireFOAM solver , and a question for the meaning of "$internalField ". Consider the next selection of p_rgh Dictionary:
internalField uniform 101325; boundaryField { ........ verticalInterior { type buoyantPressure; value $internalField; } atmosphereHorizont { type totalPressure; U U; phi phi; rho rho; psi none; gamma 1.4; p0 $internalField; //value $internalField; } defaultFaces { type empty; } } // ************************************************** *********************** // So let's get to the question : Does $internalField in the both patches means that for any timeStep the p-rho*g*h wil be equal to 101325 or that when time is advancing the boundary values for p-rho*g*h is varying and equal to calculated internalfield values? Thank you very much in advance! Best regards, Alexandru Last edited by coroi; June 30, 2014 at 05:57. |
|
June 20, 2014, 09:52 |
|
#2 |
Senior Member
|
Hi,
in case of buoyandPressure it's just value for the first time step, then, as the BC is a child of fixedGradient, gradient p_rgh will be set to Code:
gradient() = -rho.snGrad()*(g.value() & patch().Cf()); Code:
operator==(p0p - 0.5*rho*(1.0 - pos(phip))*magSqr(Up)) |
|
June 20, 2014, 10:36 |
|
#3 |
New Member
Join Date: Dec 2013
Posts: 12
Rep Power: 12 |
Thank you very much Alexey Matveichev . Can I ask you something else ? Where should I search those kind of expressions/explanations like gradient() = .... and operator==... for other BC types ? Are they wrote in some files of /opt/openfoam211/... ?
|
|
June 20, 2014, 10:46 |
|
#4 |
Senior Member
|
Implementations of boundary conditions are located in:
Code:
$FOAM_SRC/finiteVolume/fields/fvPatchFields buoyantPressure and totalPressure are in derived folder. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
inlet pressure is higher than outlet pressure for fan | sivakumar | OpenFOAM Pre-Processing | 16 | December 30, 2017 14:16 |
interFoam/kOmegaSST tank filling with printStackError/Mules | simpomann | OpenFOAM Running, Solving & CFD | 3 | February 17, 2014 17:06 |
rhoSimplecFoam Diverges for External Flow | sohailr | OpenFOAM Running, Solving & CFD | 0 | January 31, 2014 15:34 |
Error during initialization of "rhoSimpleFoam" | kornickel | OpenFOAM Running, Solving & CFD | 8 | September 17, 2013 05:37 |
singularity? | mihaipruna | OpenFOAM Running, Solving & CFD | 5 | April 24, 2012 17:18 |