|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
krishnan
Join Date: Feb 2018
Posts: 16
Rep Power: 8 ![]() |
I urgently need clarification on pressure boundary conditions for my simulation.
1. I am performing a multiphase simulation in a water column using twoPhaseEulerFoam. The entire column is filled with water. The second phase enters through an inlet at the bottom of the column (prescribing velocity). Gravity is in the direction against the flow. I am currently using the following BC: For p: Code:
internalField uniform 0; inlet { type calculated; value $internalField;// } outlet { type calculated; value $internalField; } Code:
internalField uniform 0; inlet { type fixedFluxPressure; value $internalField; } outlet { type prghPressure; p $internalField; value $internalField; } Code:
inlet { type fixedValue; value uniform (0 1 0); } outlet { type pressureInletOutletVelocity; phi phi.air; value $internalField; } Last edited by wyldckat; January 5, 2019 at 14:54. Reason: Added [CODE][/CODE] markers |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 ![]() ![]() |
Compressible vs. incompressible?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
krishnan
Join Date: Feb 2018
Posts: 16
Rep Power: 8 ![]() |
The twophaseeulerfoam solver is a compressible solver
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 51 ![]() ![]() ![]() |
Hi,
a) please use code tags b) Mark knows that and just gave you the hint for incompressible flows, the pressure gradient is of interest (not the absolute value) for compressible cases, the pressure gradient, as well as the absolute value, is of importance (thermodynamic - calculation of rho)
__________________
Keep foaming, Tobias Holzmann |
|
![]() |
![]() |
![]() |
Tags |
prghpressure, twophaseeulerfoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
prghPressure BC, make static pressure p time-dependent | of_novice | OpenFOAM Pre-Processing | 2 | June 7, 2017 05:26 |