|
[Sponsors] |
Setting a pressure threshold as boundary condition |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 2, 2014, 05:10 |
Setting a pressure threshold as boundary condition
|
#1 |
New Member
James B
Join Date: Oct 2013
Posts: 4
Rep Power: 12 |
Dear Foamers
For an inlet condition I need a pressure dependent boundary condition: if the pressure is higher than the p_threshold then there should be injection of fresh mixture if the pressure is lower than the p_threshold then there should be blockage of the inlet (simplified: a wall condition). I am working with the inletOutlet boundary condition (not really working yet) so if anyone of you would have suggestions, or better/simpler idea please let me know! Thanks! |
|
July 9, 2014, 08:30 |
|
#2 |
New Member
Quentin Coispeau
Join Date: Nov 2013
Posts: 17
Rep Power: 12 |
Hi Janes,
I'm also working on a pressure threshold BC ; i'm also working with he existant inleoutlet BC but can't get the trick working. Did you manage to find a solution ? Right now my updatecoeff fuction looks like : Code:
if (this->updated()) { return; } const Field<scalar>& phip = this->patch().template lookupPatchField<volScalarField, scalar> ( "p" ); this->valueFraction() = pos(phip - pthreshold_); mixedFvPatchField<Type>::updateCoeffs(); thanks |
|
December 2, 2017, 20:09 |
|
#3 |
New Member
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11 |
hi,james
Did you find was to solve it? For this dependent pressure boundary, is the codedfixedvalue is convinient? could you please give me some advices on this? thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Doubt with Downstream Pressure Boundary Condition | Marcus.filho | FLOW-3D | 0 | November 20, 2013 14:45 |
replacing of shock tube high pressure part with a boundary condition for low pressure | immortality | Main CFD Forum | 0 | May 2, 2013 13:30 |
Error finding variable "THERMX" | sunilpatil | CFX | 8 | April 26, 2013 07:00 |
Pressure boundary condition issue | Vijay | FLUENT | 0 | April 6, 2012 13:35 |
Boundary condition setting regarding turbine simulation using CFX | Lacerlacer | CFX | 11 | March 12, 2012 09:32 |