Public Member Functions | List of all members
uniformNormalFixedValueFvPatchVectorField Class Reference

This boundary condition provides a uniform surface-normal vector boundary condition by its magnitude. More...

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

Public Member Functions

 TypeName ("uniformNormalFixedValue")
 
 uniformNormalFixedValueFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 
 uniformNormalFixedValueFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 
 uniformNormalFixedValueFvPatchVectorField (const uniformNormalFixedValueFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 
 uniformNormalFixedValueFvPatchVectorField (const uniformNormalFixedValueFvPatchVectorField &)
 
virtual tmp< fvPatchVectorFieldclone () const
 
 uniformNormalFixedValueFvPatchVectorField (const uniformNormalFixedValueFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchVectorField &, const labelList &)
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &os) const
 

Detailed Description

This boundary condition provides a uniform surface-normal vector boundary condition by its magnitude.

Usage
Property Description Required Default
uniformValue uniform value yes
ramp time-based ramping no

Example of the boundary condition specification:

    <patchName>
    {
        type            uniformNormalFixedValue;
        uniformValue    constant -10;          // 10 INTO the domain
    }
Note
Sign conventions:
  • the value is positive for outward-pointing vectors
See also
Foam::Function1Types Foam::fixedValueFvPatchField Foam::surfaceNormalFixedValueFvPatchVectorField Foam::uniformFixedValueFvPatchVectorField
Source files

Definition at line 93 of file uniformNormalFixedValueFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ uniformNormalFixedValueFvPatchVectorField() [1/5]

Definition at line 30 of file uniformNormalFixedValueFvPatchVectorField.C.

Referenced by uniformNormalFixedValueFvPatchVectorField::clone().

Here is the caller graph for this function:

◆ uniformNormalFixedValueFvPatchVectorField() [2/5]

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

Definition at line 43 of file uniformNormalFixedValueFvPatchVectorField.C.

References dict, Foam::stringOps::evaluate(), and p.

Here is the call graph for this function:

◆ uniformNormalFixedValueFvPatchVectorField() [3/5]

Definition at line 69 of file uniformNormalFixedValueFvPatchVectorField.C.

References FieldMapper::direct(), Foam::stringOps::evaluate(), and FieldMapper::hasUnmapped().

Here is the call graph for this function:

◆ uniformNormalFixedValueFvPatchVectorField() [4/5]

Definition at line 95 of file uniformNormalFixedValueFvPatchVectorField.C.

◆ uniformNormalFixedValueFvPatchVectorField() [5/5]

Definition at line 107 of file uniformNormalFixedValueFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "uniformNormalFixedValue"  )

◆ clone() [1/2]

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

Definition at line 163 of file uniformNormalFixedValueFvPatchVectorField.H.

◆ autoMap()

void autoMap ( const fvPatchFieldMapper mapper)
virtual

Definition at line 121 of file uniformNormalFixedValueFvPatchVectorField.C.

References Foam::stringOps::evaluate().

Here is the call graph for this function:

◆ rmap()

void rmap ( const fvPatchVectorField ptf,
const labelList addr 
)
virtual

Definition at line 137 of file uniformNormalFixedValueFvPatchVectorField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Definition at line 151 of file uniformNormalFixedValueFvPatchVectorField.C.

References fvPatchField::operator=(), Foam::foamVersion::patch, tmp::ref(), and fvPatchField::updateCoeffs().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Definition at line 172 of file uniformNormalFixedValueFvPatchVectorField.C.

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

Here is the call graph for this function:

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