|
[Sponsors] |
codedFixedValue to couple velocity and pressure? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 20, 2022, 04:13 |
codedFixedValue to couple velocity and pressure?
|
#1 |
New Member
Julian
Join Date: Mar 2022
Posts: 1
Rep Power: 0 |
I'm trying to simulate a Fan Filter Unit, when trying to model the HEPA filter at the output, I'm trying to impose the condition that for a small area, the outward velocity component builds up a pressure difference.
For example if the outflow velocity is 1m/s, the pressure on the inside surface of the filter is locally 10Pa; if the outflow is 2m/s, pressure inside is 20Pa. This is different from the "type fanPressure" condition which sums the total flow rate, so I'm trying to use fixedCodedValue type condition. the 0/p file contains this outlet patch: Code:
out_hepaface { type codedFixedValue; value $internalField; name test; code #{ scalarField& pField = *this; const vectorField& UFace = patch().lookupPatchField<volVectorField, vector>("U"); const vectorField& np = patch().nf(); int prop_coef = 1; forAll(pField, faceI) { pField[faceI] = prop_coef*UFace[faceI] & np[faceI]; } #}; } Code:
out_hepaface { type pressureInletOutletVelocity; value $internalField; inletValue $internalField; } I've been learning OpenFOAM for only about 2 weeks so if you could kindly explain in detail if anything doesn't make sense. |
|
Tags |
codedfixedvalue, coupled, filter, volvectorfield |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import .csv - velocity profile - error | eSKa | CFX | 9 | April 3, 2021 14:38 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Variables Definition in CFX Solver 5.6 | R P | CFX | 2 | October 26, 2004 03:13 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |