This boundary condition is designed to be used in conjunction with surface film modelling. It provides a velocity inlet boundary condition for patches where the film height is specified. The inflow velocity is obtained from the flux with a direction normal to the patch faces using: More...
This boundary condition is designed to be used in conjunction with surface film modelling. It provides a velocity inlet boundary condition for patches where the film height is specified. The inflow velocity is obtained from the flux with a direction normal to the patch faces using:
where
![]() | = | patch velocity [m/s] |
![]() | = | patch normal vector |
![]() | = | mass flux [kg/s] |
![]() | = | density [kg/m3] |
![]() | = | patch face area vectors [m2] |
![]() | = | film height [m] |
Property | Description | Required | Default value |
---|---|---|---|
phi | Flux field name | no | phi |
rho | density field name | no | rho |
deltaf | height field name | no | deltaf |
Example of the boundary condition specification:
<patchName> { type filmHeightInletVelocity; phi phi; rho rho; deltaf deltaf; value uniform (0 0 0); // initial velocity / [m/s] }
Definition at line 134 of file filmHeightInletVelocityFvPatchVectorField.H.
filmHeightInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 31 of file filmHeightInletVelocityFvPatchVectorField.C.
Referenced by filmHeightInletVelocityFvPatchVectorField::clone().
filmHeightInletVelocityFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Definition at line 61 of file filmHeightInletVelocityFvPatchVectorField.C.
filmHeightInletVelocityFvPatchVectorField | ( | const filmHeightInletVelocityFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Definition at line 45 of file filmHeightInletVelocityFvPatchVectorField.C.
filmHeightInletVelocityFvPatchVectorField | ( | const filmHeightInletVelocityFvPatchVectorField & | fhivpvf | ) |
Definition at line 76 of file filmHeightInletVelocityFvPatchVectorField.C.
filmHeightInletVelocityFvPatchVectorField | ( | const filmHeightInletVelocityFvPatchVectorField & | fhivpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Definition at line 89 of file filmHeightInletVelocityFvPatchVectorField.C.
TypeName | ( | "filmHeightInletVelocity" | ) |
|
inlinevirtual |
Definition at line 190 of file filmHeightInletVelocityFvPatchVectorField.H.
References filmHeightInletVelocityFvPatchVectorField::filmHeightInletVelocityFvPatchVectorField().
|
inlinevirtual |
Definition at line 207 of file filmHeightInletVelocityFvPatchVectorField.H.
References filmHeightInletVelocityFvPatchVectorField::filmHeightInletVelocityFvPatchVectorField().
|
inlinevirtual |
Definition at line 223 of file filmHeightInletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 232 of file filmHeightInletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 238 of file filmHeightInletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 244 of file filmHeightInletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 250 of file filmHeightInletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 256 of file filmHeightInletVelocityFvPatchVectorField.H.
|
inline |
Definition at line 262 of file filmHeightInletVelocityFvPatchVectorField.H.
|
virtual |
Definition at line 103 of file filmHeightInletVelocityFvPatchVectorField.C.
References n, Foam::operator==(), and Foam::foamVersion::patch.
|
virtual |
Definition at line 128 of file filmHeightInletVelocityFvPatchVectorField.C.
References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().
|
virtual |
Definition at line 141 of file filmHeightInletVelocityFvPatchVectorField.C.
References fvPatchField::operator=(), and Foam::foamVersion::patch.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.