This boundary condition is designed to be used in conjunction with surface film and pyrolysis modelling. 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... | |
filmPyrolysisVelocityCoupledFvPatchVectorField (const filmPyrolysisVelocityCoupledFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
Construct as copy setting internal field reference. More... | |
virtual tmp< fvPatchField< vector > > | clone () const |
Return a clone. More... | |
virtual tmp< fvPatchField< vector > > | clone (const DimensionedField< vector, volMesh > &iF) const |
Clone with an 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... | |
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:
<patchName> { 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 65 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct from patch and internal field.
Definition at line 32 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const fvPatch & | p, |
const DimensionedField< vector, volMesh > & | iF, | ||
const dictionary & | dict | ||
) |
Construct from patch, internal field and dictionary.
Definition at line 64 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
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 47 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const filmPyrolysisVelocityCoupledFvPatchVectorField & | fpvpvf | ) |
Construct as copy.
Definition at line 86 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
filmPyrolysisVelocityCoupledFvPatchVectorField | ( | const filmPyrolysisVelocityCoupledFvPatchVectorField & | fpvpvf, |
const DimensionedField< vector, volMesh > & | iF | ||
) |
Construct as copy setting internal field reference.
Definition at line 100 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
TypeName | ( | "filmPyrolysisVelocityCoupled" | ) |
Runtime type information.
|
inlinevirtual |
Return a clone.
Definition at line 154 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
inlinevirtual |
Clone with an internal field reference.
Definition at line 163 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
References fvPatchField< Type >::Clone().
|
inline |
Return the name of phi.
Definition at line 178 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
|
inline |
Return reference to the name of phi to allow adjustment.
Definition at line 186 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
|
inline |
Return the name of rho.
Definition at line 194 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
|
inline |
Return reference to the name of rho to allow adjustment.
Definition at line 202 of file filmPyrolysisVelocityCoupledFvPatchVectorField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 115 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
References Foam::dimMass, Foam::dimTime, Foam::dimVolume, Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::findObject(), UPstream::incrMsgType(), UPstream::msgType(), Foam::nl, Foam::foamVersion::patch, phi, and regionModel::time().
|
virtual |
Write.
Definition at line 201 of file filmPyrolysisVelocityCoupledFvPatchVectorField.C.
References os(), fvPatchField< Type >::write(), Ostream::writeEntryIfDifferent(), and fvPatchField< Type >::writeValueEntry().