This boundary condition is designed to be used in conjunction with surface film and pyrolysis modelling. It provides a velocity boundary condition for patches on the primary region based on whether the patch is seen to be 'wet', retrieved from the film alpha field. More...
Public Member Functions | |
TypeName ("filmPyrolysisVelocityCoupled") | |
Runtime type information. More... | |
filmPyrolysisVelocityCoupledFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &) | |
Construct from patch and internal field. More... | |
filmPyrolysisVelocityCoupledFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
Construct from patch, internal field and dictionary. More... | |
filmPyrolysisVelocityCoupledFvPatchVectorField (const filmPyrolysisVelocityCoupledFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
Construct by mapping given. More... | |
filmPyrolysisVelocityCoupledFvPatchVectorField (const filmPyrolysisVelocityCoupledFvPatchVectorField &) | |
Construct as copy. More... | |
virtual tmp< fvPatchVectorField > | clone () const |
Construct and return a clone. More... | |
filmPyrolysisVelocityCoupledFvPatchVectorField (const filmPyrolysisVelocityCoupledFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchVectorField > | clone (const DimensionedField< vector, volMesh > &iF) const |
Construct and return a clone setting internal field reference. More... | |
const word & | phiName () const |
Return the name of phi. More... | |
word & | phiName () |
Return reference to the name of phi to allow adjustment. More... | |
const word & | rhoName () const |
Return the name of rho. More... | |
word & | rhoName () |
Return reference to the name of rho to allow adjustment. More... | |
virtual void | updateCoeffs () |
Update the coefficients associated with the patch field. More... | |
virtual void | write (Ostream &) const |
Write. More... | |
Private Attributes | |
word | filmRegionName_ |
Name of film region. More... | |
word | pyrolysisRegionName_ |
Name of pyrolysis region. More... | |
word | phiName_ |
Name of flux field. More... | |
word | rhoName_ |
Name of density field. More... | |
This boundary condition is designed to be used in conjunction with surface film and pyrolysis modelling. It provides a velocity boundary condition for patches on the primary region based on whether the patch is seen to be 'wet', retrieved from the film alpha field.
Example of the boundary condition specification:
myPatch { type filmPyrolysisVelocityCoupled; phi phi; // name of flux field (default = phi) rho rho; // name of density field (default = rho) deltaWet 1e-4; // threshold height for 'wet' film value uniform (0 0 0); // initial velocity / [m/s] }
Definition at line 66 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 36 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
Referenced by filmPyrolysisVelocityCoupledFvPatchVectorField::clone().
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 68 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
References dict, p, and vectorField().
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const filmPyrolysisVelocityCoupledFvPatchVectorField & | ptf, |
const fvPatch & | p, | ||
const DimensionedField< vector, volMesh > & | iF, | ||
const fvPatchFieldMapper & | mapper | ||
) |
Construct by mapping given.
filmPyrolysisVelocityCoupledFvPatchVectorField onto a new patch
Definition at line 51 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const filmPyrolysisVelocityCoupledFvPatchVectorField & | fpvpvf | ) |
Construct as copy.
Definition at line 92 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const filmPyrolysisVelocityCoupledFvPatchVectorField & | fpvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 106 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
TypeName | ( | "filmPyrolysisVelocityCoupled" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone.
Definition at line 125 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References filmPyrolysisVelocityCoupledFvPatchVectorField::filmPyrolysisVelocityCoupledFvPatchVectorField().
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 142 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References filmPyrolysisVelocityCoupledFvPatchVectorField::filmPyrolysisVelocityCoupledFvPatchVectorField().
|
inline |
Return the name of phi.
Definition at line 158 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References filmPyrolysisVelocityCoupledFvPatchVectorField::phiName_.
|
inline |
Return reference to the name of phi to allow adjustment.
Definition at line 164 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References filmPyrolysisVelocityCoupledFvPatchVectorField::phiName_.
|
inline |
Return the name of rho.
Definition at line 170 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References filmPyrolysisVelocityCoupledFvPatchVectorField::rhoName_.
|
inline |
Return reference to the name of rho to allow adjustment.
Definition at line 176 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References filmPyrolysisVelocityCoupledFvPatchVectorField::rhoName_.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 121 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
References Foam::dimArea, Foam::dimDensity, dimensionedInternalField(), Foam::dimVelocity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, filmPyrolysisVelocityCoupledFvPatchVectorField::filmRegionName_, UPstream::msgType(), Foam::nl, phi, filmPyrolysisVelocityCoupledFvPatchVectorField::phiName_, filmPyrolysisVelocityCoupledFvPatchVectorField::pyrolysisRegionName_, and filmPyrolysisVelocityCoupledFvPatchVectorField::rhoName_.
|
virtual |
Write.
Definition at line 212 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
References fvPatchField::write().
|
private |
Name of film region.
Definition at line 73 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
Referenced by filmPyrolysisVelocityCoupledFvPatchVectorField::updateCoeffs().
|
private |
Name of pyrolysis region.
Definition at line 76 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
Referenced by filmPyrolysisVelocityCoupledFvPatchVectorField::updateCoeffs().
|
private |
Name of flux field.
Definition at line 79 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
Referenced by filmPyrolysisVelocityCoupledFvPatchVectorField::phiName(), and filmPyrolysisVelocityCoupledFvPatchVectorField::updateCoeffs().
|
private |
Name of density field.
Definition at line 82 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
Referenced by filmPyrolysisVelocityCoupledFvPatchVectorField::rhoName(), and filmPyrolysisVelocityCoupledFvPatchVectorField::updateCoeffs().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.