mappedVelocityFluxFvPatchField Class Reference

This boundary condition maps the velocity and flux from a neighbouring patch to this patch. More...

Inheritance diagram for mappedVelocityFluxFvPatchField:
Collaboration diagram for mappedVelocityFluxFvPatchField:

Public Member Functions

 TypeName ("mappedVelocityFlux")
 Runtime type information. More...
 
 mappedVelocityFluxFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 mappedVelocityFluxFvPatchField (const mappedVelocityFluxFvPatchField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 mappedVelocityFluxFvPatchField (const mappedVelocityFluxFvPatchField &)=delete
 Disallow copy without setting internal field reference. More...
 
 mappedVelocityFluxFvPatchField (const mappedVelocityFluxFvPatchField &, const DimensionedField< vector, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (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...
 

Detailed Description

This boundary condition maps the velocity and flux from a neighbouring patch to this patch.

Usage
Property Description Required Default value
phi flux field name no phi

Example of the boundary condition specification:

    <patchName>
    {
        type            mappedVelocityFlux;
        value           uniform (0 0 0);
    }

This boundary condition can only be applied to patches that are of mappedPatchBase type.

See also
Foam::mappedPatchBase Foam::mappedPolyPatch Foam::mappedFvPatch Foam::fixedValueFvPatchVectorField
Source files

Definition at line 84 of file mappedVelocityFluxFvPatchField.H.

Constructor & Destructor Documentation

◆ mappedVelocityFluxFvPatchField() [1/4]

mappedVelocityFluxFvPatchField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const dictionary dict 
)

Construct from patch, internal field and dictionary.

Definition at line 35 of file mappedVelocityFluxFvPatchField.C.

References dict, mappedPatchBase::from::differentPatch, and mappedPatchBase::validateMapForField().

Referenced by mappedVelocityFluxFvPatchField::clone().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ mappedVelocityFluxFvPatchField() [2/4]

mappedVelocityFluxFvPatchField ( const mappedVelocityFluxFvPatchField ptf,
const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given.

mappedVelocityFluxFvPatchField onto a new patch

Definition at line 55 of file mappedVelocityFluxFvPatchField.C.

◆ mappedVelocityFluxFvPatchField() [3/4]

Disallow copy without setting internal field reference.

◆ mappedVelocityFluxFvPatchField() [4/4]

Copy constructor setting internal field reference.

Definition at line 68 of file mappedVelocityFluxFvPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "mappedVelocityFlux"  )

Runtime type information.

◆ clone()

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 135 of file mappedVelocityFluxFvPatchField.H.

References mappedVelocityFluxFvPatchField::mappedVelocityFluxFvPatchField().

Here is the call graph for this function:

◆ updateCoeffs()

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 113 of file mappedVelocityFluxFvPatchField.C.

References fvPatchField< Type >::write(), and Foam::writeEntry().

Here is the call graph for this function:

The documentation for this class was generated from the following files: