uniformInterpolatedDisplacementPointPatchVectorField Class Reference

Interpolates pre-specified motion. More...

Inheritance diagram for uniformInterpolatedDisplacementPointPatchVectorField:
Collaboration diagram for uniformInterpolatedDisplacementPointPatchVectorField:

Public Member Functions

 TypeName ("uniformInterpolatedDisplacement")
 Runtime type information. More...
 
 uniformInterpolatedDisplacementPointPatchVectorField (const pointPatch &, const DimensionedField< vector, pointMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 uniformInterpolatedDisplacementPointPatchVectorField (const uniformInterpolatedDisplacementPointPatchVectorField &, const pointPatch &, const DimensionedField< vector, pointMesh > &, const fieldMapper &)
 Construct by mapping given patchField<vector> onto a new patch. More...
 
 uniformInterpolatedDisplacementPointPatchVectorField (const uniformInterpolatedDisplacementPointPatchVectorField &, const DimensionedField< vector, pointMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual autoPtr< pointPatchVectorFieldclone (const DimensionedField< vector, pointMesh > &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

Interpolates pre-specified motion.

Motion specified as pointVectorFields.

Usage
Example:
walls
{
    type                uniformInterpolatedDisplacement;
    value               uniform (0 0 0);
    field               wantedDisplacement;
    interpolationScheme linear;
}

This will scan the case for wantedDisplacement pointVectorFields and interpolate those in time (using linear interpolation) to obtain the current displacement. The advantage of specifying displacement in this way is that it automatically works through decomposePar.

Source files

Definition at line 70 of file uniformInterpolatedDisplacementPointPatchVectorField.H.

Constructor & Destructor Documentation

◆ uniformInterpolatedDisplacementPointPatchVectorField() [1/3]

Construct from patch, internal field and dictionary.

Definition at line 32 of file uniformInterpolatedDisplacementPointPatchVectorField.C.

References dict, and uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs().

Here is the call graph for this function:

◆ uniformInterpolatedDisplacementPointPatchVectorField() [2/3]

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

Definition at line 53 of file uniformInterpolatedDisplacementPointPatchVectorField.C.

◆ uniformInterpolatedDisplacementPointPatchVectorField() [3/3]

Member Function Documentation

◆ TypeName()

TypeName ( "uniformInterpolatedDisplacement"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Definition at line 112 of file uniformInterpolatedDisplacementPointPatchVectorField.H.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 79 of file uniformInterpolatedDisplacementPointPatchVectorField.C.

Referenced by uniformInterpolatedDisplacementPointPatchVectorField::uniformInterpolatedDisplacementPointPatchVectorField().

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 96 of file uniformInterpolatedDisplacementPointPatchVectorField.C.

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

Here is the call graph for this function:

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