This boundary condition provides a jump condition, using the cyclic
condition as a base.
More...
Public Member Functions | |
TypeName ("porousBafflePressure") | |
porousBafflePressureFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
porousBafflePressureFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
porousBafflePressureFvPatchField (const porousBafflePressureFvPatchField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
porousBafflePressureFvPatchField (const porousBafflePressureFvPatchField &) | |
virtual tmp< fvPatchField< scalar > > | clone () const |
porousBafflePressureFvPatchField (const porousBafflePressureFvPatchField &, const DimensionedField< scalar, volMesh > &) | |
virtual tmp< fvPatchField< scalar > > | clone (const DimensionedField< scalar, volMesh > &iF) const |
virtual void | updateCoeffs () |
virtual void | write (Ostream &) const |
![]() | |
TypeName ("fixedJump") | |
fixedJumpFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
fixedJumpFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &, const bool valueRequired=true) | |
fixedJumpFvPatchField (const fixedJumpFvPatchField< scalar > &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
fixedJumpFvPatchField (const fixedJumpFvPatchField< scalar > &) | |
fixedJumpFvPatchField (const fixedJumpFvPatchField< scalar > &, const DimensionedField< scalar, volMesh > &) | |
virtual tmp< fvPatchField< scalar > > | clone () const |
virtual void | setJump (const Field< scalar > &jump) |
virtual void | setJump (const scalar &jump) |
virtual tmp< Field< scalar > > | jump () const |
virtual tmp< Field< scalar > > | jump0 () const |
virtual scalar | relaxFactor () const |
virtual void | relax () |
virtual void | autoMap (const fvPatchFieldMapper &) |
virtual void | rmap (const fvPatchField< scalar > &, const labelList &) |
![]() | |
TypeName ("jumpCyclic") | |
jumpCyclicFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
jumpCyclicFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &, const bool valueRequired=true) | |
jumpCyclicFvPatchField (const jumpCyclicFvPatchField< scalar > &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
jumpCyclicFvPatchField (const jumpCyclicFvPatchField< scalar > &) | |
jumpCyclicFvPatchField (const jumpCyclicFvPatchField< scalar > &, const DimensionedField< scalar, volMesh > &) | |
virtual const word & | interfaceFieldType () const |
tmp< Field< scalar > > | patchNeighbourField () const |
virtual void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
virtual void | updateInterfaceMatrix (Field< scalar > &, const bool add, const lduAddressing &lduAddr, const label patchId, const Field< scalar > &, const scalarField &, const Pstream::commsTypes commsType) const |
void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes) const |
void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &lduAddr, const label patchId, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes) const |
![]() | |
TypeName (cyclicFvPatch::typeName_()) | |
cyclicFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
cyclicFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &, const bool valueRequired=true) | |
cyclicFvPatchField (const cyclicFvPatchField< scalar > &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
cyclicFvPatchField (const cyclicFvPatchField< scalar > &) | |
cyclicFvPatchField (const cyclicFvPatchField< scalar > &, const DimensionedField< scalar, volMesh > &) | |
const cyclicFvPatch & | cyclicPatch () const |
const cyclicFvPatchField< scalar > & | neighbourPatchField () const |
virtual void | manipulateMatrix (fvMatrix< scalar > &m, const label iMatrix, const direction cmp) |
virtual bool | doTransform () const |
virtual const tensorField & | forwardT () const |
virtual const tensorField & | reverseT () const |
virtual int | rank () const |
![]() | |
TypeName ("cyclicLduInterfaceField") | |
cyclicLduInterfaceField ()=default | |
virtual | ~cyclicLduInterfaceField ()=default |
virtual bool | doTransform () const =0 |
virtual const tensorField & | forwardT () const =0 |
virtual const tensorField & | reverseT () const =0 |
virtual int | rank () const =0 |
template<class Type > | |
void | transformCoupleField (Field< Type > &f) const |
void | transformCoupleField (solveScalarField &f, const direction cmpt) const |
![]() | |
TypeName (coupledFvPatch::typeName_()) | |
coupledFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &) | |
coupledFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const Field< scalar > &) | |
coupledFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &, const bool valueRequired=true) | |
coupledFvPatchField (const coupledFvPatchField< scalar > &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &) | |
coupledFvPatchField (const coupledFvPatchField< scalar > &) | |
coupledFvPatchField (const coupledFvPatchField< scalar > &, const DimensionedField< scalar, volMesh > &) | |
virtual bool | coupled () const |
virtual tmp< Field< scalar > > | snGrad (const scalarField &deltaCoeffs) const |
virtual tmp< Field< scalar > > | snGrad () const |
virtual void | initEvaluate (const Pstream::commsTypes commsType) |
virtual void | evaluate (const Pstream::commsTypes commsType) |
virtual tmp< Field< scalar > > | valueInternalCoeffs (const tmp< scalarField > &) const |
virtual tmp< Field< scalar > > | valueBoundaryCoeffs (const tmp< scalarField > &) const |
virtual tmp< Field< scalar > > | gradientInternalCoeffs (const scalarField &deltaCoeffs) const |
virtual tmp< Field< scalar > > | gradientInternalCoeffs () const |
virtual tmp< Field< scalar > > | gradientBoundaryCoeffs (const scalarField &deltaCoeffs) const |
virtual tmp< Field< scalar > > | gradientBoundaryCoeffs () const |
![]() | |
LduInterfaceField (const lduInterface &patch) | |
TypeName ("LduInterfaceField") | |
virtual | ~LduInterfaceField ()=default |
virtual void | initInterfaceMatrixUpdate (Field< scalar > &, const bool add, const lduAddressing &, const label interfacei, const Field< scalar > &, const scalarField &, const Pstream::commsTypes commsType) const |
virtual void | initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
virtual void | updateInterfaceMatrix (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const =0 |
![]() | |
TypeName ("lduInterfaceField") | |
lduInterfaceField (const lduInterface &patch) | |
virtual | ~lduInterfaceField ()=default |
const lduInterface & | interface () const |
virtual const word & | interfaceFieldType () const |
bool | updatedMatrix () const |
bool & | updatedMatrix () |
virtual bool | ready () const |
virtual void | initInterfaceMatrixUpdate (solveScalarField &result, const bool add, const lduAddressing &, const label interfacei, const solveScalarField &psiInternal, const scalarField &coeffs, const direction cmpt, const Pstream::commsTypes commsType) const |
template<class Type > | |
void | addToInternalField (Field< Type > &result, const bool add, const labelUList &faceCells, const scalarField &coeffs, const Field< Type > &vals) const |
![]() | |
TypeName ("fvPatchField") | |
declareRunTimeSelectionTable (tmp, fvPatchField, patch,(const fvPatch &p, const DimensionedField< Type, volMesh > &iF),(p, iF)) | |
declareRunTimeSelectionTable (tmp, fvPatchField, patchMapper,(const fvPatchField< Type > &ptf, const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const fvPatchFieldMapper &m),(dynamic_cast< const fvPatchFieldType & >(ptf), p, iF, m)) | |
declareRunTimeSelectionTable (tmp, fvPatchField, dictionary,(const fvPatch &p, const DimensionedField< Type, volMesh > &iF, const dictionary &dict),(p, iF, dict)) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Type &value) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const word &patchType) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const Field< Type > &) | |
fvPatchField (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &, const bool valueRequired=true) | |
fvPatchField (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) | |
fvPatchField (const fvPatchField< Type > &) | |
fvPatchField (const fvPatchField< Type > &, const DimensionedField< Type, volMesh > &) | |
virtual tmp< fvPatchField< Type > > | clone (const DimensionedField< Type, volMesh > &iF) const |
Foam::tmp< Foam::fvPatchField< Type > > | NewCalculatedType (const fvPatch &p) |
Foam::tmp< Foam::fvPatchField< Type > > | NewCalculatedType (const fvPatchField< Type2 > &pf) |
virtual | ~fvPatchField ()=default |
bool | useImplicit () const noexcept |
bool | useImplicit (bool on) noexcept |
virtual bool | fixesValue () const |
virtual bool | assignable () const |
const objectRegistry & | db () const |
const fvPatch & | patch () const |
const DimensionedField< Type, volMesh > & | internalField () const |
const Field< Type > & | primitiveField () const |
const word & | patchType () const |
word & | patchType () |
bool | updated () const |
bool | manipulatedMatrix () const |
virtual void | rmap (const fvPatchField< Type > &, const labelList &) |
virtual void | updateWeightedCoeffs (const scalarField &weights) |
virtual tmp< Field< Type > > | patchInternalField () const |
virtual void | patchInternalField (Field< Type > &) const |
virtual tmp< Field< Type > > | valueInternalCoeffs (const tmp< Field< scalar >> &) const |
virtual tmp< Field< Type > > | valueBoundaryCoeffs (const tmp< Field< scalar >> &) const |
virtual void | manipulateMatrix (fvMatrix< Type > &matrix) |
virtual void | manipulateMatrix (fvMatrix< Type > &matrix, const scalarField &weights) |
virtual void | manipulateMatrix (fvMatrix< Type > &matrix, const label iMatrix, const direction cmp) |
void | check (const fvPatchField< Type > &) const |
virtual void | operator= (const UList< Type > &) |
virtual void | operator= (const fvPatchField< Type > &) |
virtual void | operator= (const Type &) |
virtual void | operator+= (const fvPatchField< Type > &) |
virtual void | operator+= (const Field< Type > &) |
virtual void | operator+= (const Type &) |
virtual void | operator-= (const fvPatchField< Type > &) |
virtual void | operator-= (const Field< Type > &) |
virtual void | operator-= (const Type &) |
virtual void | operator*= (const fvPatchField< scalar > &) |
virtual void | operator*= (const Field< scalar > &) |
virtual void | operator*= (const scalar) |
virtual void | operator/= (const fvPatchField< scalar > &) |
virtual void | operator/= (const Field< scalar > &) |
virtual void | operator/= (const scalar) |
virtual void | operator== (const fvPatchField< Type > &) |
virtual void | operator== (const Field< Type > &) |
virtual void | operator== (const Type &) |
Additional Inherited Members | |
![]() | |
typedef fvPatch | Patch |
typedef calculatedFvPatchField< Type > | Calculated |
![]() | |
static tmp< fvPatchField< Type > > | New (const word &, const fvPatch &, const DimensionedField< Type, volMesh > &) |
static tmp< fvPatchField< Type > > | New (const word &, const word &actualPatchType, const fvPatch &, const DimensionedField< Type, volMesh > &) |
static tmp< fvPatchField< Type > > | New (const fvPatchField< Type > &, const fvPatch &, const DimensionedField< Type, volMesh > &, const fvPatchFieldMapper &) |
static tmp< fvPatchField< Type > > | New (const fvPatch &, const DimensionedField< Type, volMesh > &, const dictionary &) |
static tmp< fvPatchField< Type > > | NewCalculatedType (const fvPatch &) |
static tmp< fvPatchField< Type > > | NewCalculatedType (const fvPatchField< Type2 > &) |
static const word & | calculatedType () |
![]() | |
static int | disallowGenericFvPatchField |
This boundary condition provides a jump condition, using the cyclic
condition as a base.
The porous baffle introduces a pressure jump defined by:
where
![]() | = | pressure [Pa] |
![]() | = | density [kg/m3] |
![]() | = | laminar viscosity [Pa s] |
![]() | = | Darcy coefficient |
![]() | = | inertial coefficient |
![]() | = | porous media length in the flow direction |
Property | Description | Required | Default value |
---|---|---|---|
patchType | underlying patch type should be cyclic | yes | |
phi | flux field name | no | phi |
rho | density field name | no | rho |
D | Darcy coefficient | yes | |
I | inertial coefficient | yes | |
length | porous media length in the flow direction | yes | |
uniformJump | applies a uniform pressure drop on the patch based on the |
Example of the boundary condition specification:
<patchName> { type porousBafflePressure; patchType cyclic; jump uniform 0; D 0.001; I 1000000; length 0.1; uniformJump false; value uniform 0; }
patchType
should be set to cyclic
Definition at line 162 of file porousBafflePressureFvPatchField.H.
porousBafflePressureFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 30 of file porousBafflePressureFvPatchField.C.
Referenced by porousBafflePressureFvPatchField< Type >::clone().
porousBafflePressureFvPatchField | ( | const fvPatch & | p, |
const DimensionedField< scalar, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 46 of file porousBafflePressureFvPatchField.C.
porousBafflePressureFvPatchField | ( | const porousBafflePressureFvPatchField< Type > & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< scalar, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 68 of file porousBafflePressureFvPatchField.C.
porousBafflePressureFvPatchField | ( | const porousBafflePressureFvPatchField< Type > & | ptf | ) |
Definition at line 86 of file porousBafflePressureFvPatchField.C.
porousBafflePressureFvPatchField | ( | const porousBafflePressureFvPatchField< Type > & | ptf, |
const DimensionedField< scalar, volMesh > & | iF | ||
) |
Definition at line 102 of file porousBafflePressureFvPatchField.C.
TypeName | ( | "porousBafflePressure" | ) |
|
inlinevirtual |
Definition at line 227 of file porousBafflePressureFvPatchField.H.
References porousBafflePressureFvPatchField< Type >::porousBafflePressureFvPatchField().
|
inlinevirtual |
Reimplemented from fixedJumpFvPatchField< scalar >.
Definition at line 244 of file porousBafflePressureFvPatchField.H.
References porousBafflePressureFvPatchField< Type >::porousBafflePressureFvPatchField().
|
virtual |
Reimplemented from fvPatchField< scalar >.
Definition at line 119 of file porousBafflePressureFvPatchField.C.
References fvPatch::boundaryMesh(), D, fvPatchField< scalar >::db(), Foam::expressions::patchExpr::debug, Foam::dimMass, Foam::dimPressure, Foam::dimTime, Foam::endl(), Foam::gAverage(), Foam::constant::atomic::group, IOobject::groupName(), Foam::I, Foam::Info, fvPatchField< scalar >::internalField(), fixedJumpFvPatchField< scalar >::jump(), objectRegistry::lookupObject(), fvPatch::lookupPatchField(), Foam::mag(), fvBoundaryMesh::mesh(), fvPatch::name(), fvMesh::name(), turbulenceModel::nu(), fvPatchField< scalar >::patch(), fvPatch::patchField(), phi, turbulenceModel::propertiesName, fixedJumpFvPatchField< scalar >::setJump(), Foam::sign(), objectRegistry::time(), TimeState::timeOutputValue(), fvPatchField< Type >::updateCoeffs(), and fvPatchField< scalar >::updated().
|
virtual |
Reimplemented from fixedJumpFvPatchField< scalar >.
Definition at line 190 of file porousBafflePressureFvPatchField.C.
References os(), fixedJumpFvPatchField< Type >::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.