This boundary condition maps the flow rate from a neighbouring patch to this patch, then uses it to set a corresponding velocity in a direction normal to the patch. More...


Public Member Functions | |
| TypeName ("mappedFlowRateVelocity") | |
| Runtime type information. More... | |
| mappedFlowRateVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| mappedFlowRateVelocityFvPatchVectorField (const mappedFlowRateVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &) | |
| Construct by mapping given. More... | |
| mappedFlowRateVelocityFvPatchVectorField (const mappedFlowRateVelocityFvPatchVectorField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| mappedFlowRateVelocityFvPatchVectorField (const mappedFlowRateVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &) | |
| Copy constructor 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... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
This boundary condition maps the flow rate from a neighbouring patch to this patch, then uses it to set a corresponding velocity in a direction normal to the patch.
| Property | Description | Required | Default value |
|---|---|---|---|
nbrPhi | name of flux field on neighbour mesh | no | phi |
phi | flux field name | no | phi |
rho | density field name | no | rho |
Example of the boundary condition specification:
<patchName>
{
type mappedFlowRateVelocity;
value uniform (0 0 0);
}This boundary condition can only be applied to patches that are of mappedPatchBase type.
Definition at line 95 of file mappedFlowRateVelocityFvPatchVectorField.H.
| mappedFlowRateVelocityFvPatchVectorField | ( | const fvPatch & | p, |
| const DimensionedField< vector, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 35 of file mappedFlowRateVelocityFvPatchVectorField.C.
References dict, mappedPatchBase::from::differentPatch, and mappedPatchBase::validateMapForField().
Referenced by mappedFlowRateVelocityFvPatchVectorField::clone().


| mappedFlowRateVelocityFvPatchVectorField | ( | const mappedFlowRateVelocityFvPatchVectorField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< vector, volMesh > & | iF, | ||
| const fvPatchFieldMapper & | mapper | ||
| ) |
Construct by mapping given.
mappedFlowRateVelocityFvPatchVectorField onto a new patch
Definition at line 58 of file mappedFlowRateVelocityFvPatchVectorField.C.
|
delete |
Disallow copy without setting internal field reference.
| mappedFlowRateVelocityFvPatchVectorField | ( | const mappedFlowRateVelocityFvPatchVectorField & | ptf, |
| const DimensionedField< vector, volMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 74 of file mappedFlowRateVelocityFvPatchVectorField.C.
| TypeName | ( | "mappedFlowRateVelocity" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 152 of file mappedFlowRateVelocityFvPatchVectorField.H.
References mappedFlowRateVelocityFvPatchVectorField::mappedFlowRateVelocityFvPatchVectorField().

|
virtual |
Update the coefficients associated with the patch field.
Definition at line 90 of file mappedFlowRateVelocityFvPatchVectorField.C.
References fvMesh::boundary(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::dimFlux, Foam::dimMassFlux, Foam::exit(), Foam::FatalError, FatalErrorInFunction, mappedPatchBase::fromNeighbour(), mappedPatchBase::getMap(), patchIdentifier::index(), fvPatch::lookupPatchField(), UPstream::msgType(), mappedPatchBase::nbrMesh(), mappedPatchBase::nbrPolyPatch(), Foam::nl, Foam::operator==(), and fvPatchField< Type >::updateCoeffs().

|
virtual |
Write.
Definition at line 152 of file mappedFlowRateVelocityFvPatchVectorField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().
