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")
 Runtime type information. More...
 
 mappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 mappedVelocityFluxFixedValueFvPatchField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 mappedVelocityFluxFixedValueFvPatchField (const mappedVelocityFluxFixedValueFvPatchField &, const DimensionedField< vector, volMesh > &)
 Construct as copy 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 neighbour patch to this patch.


Patch usage

Property Description Required Default value
phi flux field name no phi

Example of the boundary condition specification:

    myPatch
    {
        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 93 of file mappedVelocityFluxFixedValueFvPatchField.H.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 38 of file mappedVelocityFluxFixedValueFvPatchField.C.

Referenced by mappedVelocityFluxFixedValueFvPatchField::clone(), and mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField().

Here is the caller graph for this function:

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

Construct from patch, internal field and dictionary.

Definition at line 84 of file mappedVelocityFluxFixedValueFvPatchField.C.

References dimensionedInternalField(), Foam::exit(), Foam::FatalError, FatalErrorIn, mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField(), mappedPatchBase::mode(), and fvPatch::name().

Here is the call graph for this function:

Construct as copy.

Definition at line 139 of file mappedVelocityFluxFixedValueFvPatchField.C.

References mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField().

Here is the call graph for this function:

Construct as copy setting internal field reference.

Definition at line 150 of file mappedVelocityFluxFixedValueFvPatchField.C.

Member Function Documentation

TypeName ( "mappedVelocityFlux"  )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 143 of file mappedVelocityFluxFixedValueFvPatchField.H.

References mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField().

Here is the call graph for this function:

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

Construct and return a clone setting internal field reference.

Definition at line 160 of file mappedVelocityFluxFixedValueFvPatchField.H.

References mappedVelocityFluxFixedValueFvPatchField::mappedVelocityFluxFixedValueFvPatchField(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), and mappedVelocityFluxFixedValueFvPatchField::write().

Here is the call graph for this function:

void updateCoeffs ( )
virtual
void write ( Ostream os) const
virtual

Write.

Definition at line 258 of file mappedVelocityFluxFixedValueFvPatchField.C.

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

Referenced by mappedVelocityFluxFixedValueFvPatchField::clone(), and mappedVelocityFluxFixedValueFvPatchField::updateCoeffs().

Here is the call graph for this function:

Here is the caller graph for this function:


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