Public Member Functions | List of all members
mappedVelocityFluxFixedValueFvPatchField Class Reference

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

Inheritance diagram for mappedVelocityFluxFixedValueFvPatchField:
Inheritance graph
[legend]
Collaboration diagram for mappedVelocityFluxFixedValueFvPatchField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("mappedVelocityFlux")
 
 mappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 mappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

This boundary condition maps the velocity and flux from a neighbour 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;
        phi             phi;
        value           uniform 0;  // place holder
    }

The underlying sample mode should be set to nearestPatchFace or nearestFace

Note
This boundary condition can only be applied to patches that are of the mappedPolyPatch type.
See also
Foam::mappedPatchBase Foam::mappedPolyPatch Foam::mappedFvPatch Foam::fixedValueFvPatchVectorField
Source files

Definition at line 90 of file mappedVelocityFluxFixedValueFvPatchField.H.

Constructor & Destructor Documentation

◆ mappedVelocityFluxFixedValueFvPatchField() [1/5]

Definition at line 34 of file mappedVelocityFluxFixedValueFvPatchField.C.

Referenced by mappedVelocityFluxFixedValueFvPatchField::clone().

Here is the caller graph for this function:

◆ mappedVelocityFluxFixedValueFvPatchField() [2/5]

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

Definition at line 71 of file mappedVelocityFluxFixedValueFvPatchField.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, mappedPatchBase::mode(), p, and Foam::foamVersion::patch.

Here is the call graph for this function:

◆ mappedVelocityFluxFixedValueFvPatchField() [3/5]

Definition at line 46 of file mappedVelocityFluxFixedValueFvPatchField.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, p, and Foam::foamVersion::patch.

Here is the call graph for this function:

◆ mappedVelocityFluxFixedValueFvPatchField() [4/5]

Definition at line 111 of file mappedVelocityFluxFixedValueFvPatchField.C.

◆ mappedVelocityFluxFixedValueFvPatchField() [5/5]

Definition at line 122 of file mappedVelocityFluxFixedValueFvPatchField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "mappedVelocityFlux"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Definition at line 140 of file mappedVelocityFluxFixedValueFvPatchField.H.

References mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField().

Here is the call graph for this function:

◆ clone() [2/2]

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

Definition at line 157 of file mappedVelocityFluxFixedValueFvPatchField.H.

References mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 228 of file mappedVelocityFluxFixedValueFvPatchField.C.

References os(), fvPatchField::write(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

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