surfaceNormalUniformFixedValueFvPatchVectorField Class Reference

Surface-normal fixed value vector boundary condition. More...

Inheritance diagram for surfaceNormalUniformFixedValueFvPatchVectorField:
Collaboration diagram for surfaceNormalUniformFixedValueFvPatchVectorField:

Public Member Functions

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

Surface-normal fixed value vector boundary condition.

in which the vector field is obtained by scaling the patch normals by the evaluated scalar Function1 provided.

Usage
Property Description Required Default value
uniformValue uniform value yes

Example of the boundary condition specification:

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

Definition at line 84 of file surfaceNormalUniformFixedValueFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ surfaceNormalUniformFixedValueFvPatchVectorField() [1/5]

◆ surfaceNormalUniformFixedValueFvPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

Definition at line 47 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.

References Foam::evaluate(), and surfaceNormalUniformFixedValueFvPatchVectorField::surfaceNormalUniformFixedValueFvPatchVectorField().

Here is the call graph for this function:

◆ surfaceNormalUniformFixedValueFvPatchVectorField() [3/5]

◆ surfaceNormalUniformFixedValueFvPatchVectorField() [4/5]

Disallow copy without setting internal field reference.

◆ surfaceNormalUniformFixedValueFvPatchVectorField() [5/5]

Copy constructor setting internal field reference.

Definition at line 79 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.

References Foam::evaluate(), and autoPtr< T >::valid().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "surfaceNormalUniformFixedValue"  )

Runtime type information.

◆ clone()

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 97 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.

References fvPatchField< Type >::operator=(), fvPatchField< Type >::updateCoeffs(), Function1< Type >::value(), and surfaceNormalUniformFixedValueFvPatchVectorField::write().

Referenced by surfaceNormalUniformFixedValueFvPatchVectorField::clone().

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

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 112 of file surfaceNormalUniformFixedValueFvPatchVectorField.C.

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

Referenced by surfaceNormalUniformFixedValueFvPatchVectorField::clone(), and surfaceNormalUniformFixedValueFvPatchVectorField::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: