solidBodyMotionDisplacementPointPatchVectorField Class Reference

Enables the specification of a fixed value boundary condition using the solid body motion functions. More...

Inheritance diagram for solidBodyMotionDisplacementPointPatchVectorField:
[legend]
Collaboration diagram for solidBodyMotionDisplacementPointPatchVectorField:
[legend]

Public Member Functions

 TypeName ("solidBodyMotionDisplacement")
 Runtime type information. More...
 
 solidBodyMotionDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &)
 Construct from patch and internal field. More...
 
 solidBodyMotionDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 solidBodyMotionDisplacementPointPatchVectorField (const solidBodyMotionDisplacementPointPatchVectorField &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const pointPatchFieldMapper &)
 Construct by mapping given patchField<vector> onto a new patch. More...
 
 solidBodyMotionDisplacementPointPatchVectorField (const solidBodyMotionDisplacementPointPatchVectorField &)
 Construct as copy. More...
 
virtual autoPtr< pointPatchField< vector > > clone () const
 Construct and return a clone. More...
 
 solidBodyMotionDisplacementPointPatchVectorField (const solidBodyMotionDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual autoPtr< pointPatchField< vector > > clone (const DimensionedField< vector, pointMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const solidBodyMotionFunctionmotion () const
 Return the fluctuation scale. More...
 
const pointFieldlocalPoints0 () const
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

Enables the specification of a fixed value boundary condition using the solid body motion functions.

Source files

Definition at line 53 of file solidBodyMotionDisplacementPointPatchVectorField.H.

Constructor & Destructor Documentation

◆ solidBodyMotionDisplacementPointPatchVectorField() [1/5]

Construct from patch and internal field.

Definition at line 41 of file solidBodyMotionDisplacementPointPatchVectorField.C.

◆ solidBodyMotionDisplacementPointPatchVectorField() [2/5]

Construct from patch, internal field and dictionary.

Definition at line 54 of file solidBodyMotionDisplacementPointPatchVectorField.C.

References dict, dictionary::found(), solidBodyMotionDisplacementPointPatchVectorField::localPoints0(), and Foam::transformPoints().

Here is the call graph for this function:

◆ solidBodyMotionDisplacementPointPatchVectorField() [3/5]

Construct by mapping given patchField<vector> onto a new patch.

Definition at line 78 of file solidBodyMotionDisplacementPointPatchVectorField.C.

References solidBodyMotionDisplacementPointPatchVectorField::localPoints0(), and Foam::transformPoints().

Here is the call graph for this function:

◆ solidBodyMotionDisplacementPointPatchVectorField() [4/5]

◆ solidBodyMotionDisplacementPointPatchVectorField() [5/5]

Construct as copy setting internal field reference.

Definition at line 113 of file solidBodyMotionDisplacementPointPatchVectorField.C.

References solidBodyMotionDisplacementPointPatchVectorField::localPoints0(), and Foam::transformPoints().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "solidBodyMotionDisplacement"  )

Runtime type information.

◆ clone() [1/2]

virtual autoPtr< pointPatchField< vector > > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 104 of file solidBodyMotionDisplacementPointPatchVectorField.H.

◆ clone() [2/2]

virtual autoPtr< pointPatchField< vector > > clone ( const DimensionedField< vector, pointMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 124 of file solidBodyMotionDisplacementPointPatchVectorField.H.

◆ motion()

const solidBodyMotionFunction & motion ( ) const
inline

Return the fluctuation scale.

Definition at line 145 of file solidBodyMotionDisplacementPointPatchVectorField.H.

◆ localPoints0()

const pointField & localPoints0 ( ) const

Definition at line 137 of file solidBodyMotionDisplacementPointPatchVectorField.C.

References polyMesh::meshSubDir, IOobject::MUST_READ, IOobject::NO_WRITE, and points0().

Referenced by solidBodyMotionDisplacementPointPatchVectorField::solidBodyMotionDisplacementPointPatchVectorField(), and solidBodyMotionDisplacementPointPatchVectorField::updateCoeffs().

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 162 of file solidBodyMotionDisplacementPointPatchVectorField.C.

References solidBodyMotionDisplacementPointPatchVectorField::localPoints0(), and Foam::transformPoints().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 180 of file solidBodyMotionDisplacementPointPatchVectorField.C.

References Foam::indent(), os(), ensightPTraits< Type >::typeName, and Ostream::writeEntry().

Here is the call graph for this function:

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