tractionDisplacementFvPatchVectorField Class Reference

Fixed traction boundary condition for the standard linear elastic, fixed coefficient displacement equation. More...

Inheritance diagram for tractionDisplacementFvPatchVectorField:
Collaboration diagram for tractionDisplacementFvPatchVectorField:

Public Member Functions

 TypeName ("tractionDisplacement")
 Runtime type information. More...
 
 tractionDisplacementFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 tractionDisplacementFvPatchVectorField (const tractionDisplacementFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 tractionDisplacementFvPatchVectorField (const tractionDisplacementFvPatchVectorField &)=delete
 Disallow copy without setting internal field reference. More...
 
 tractionDisplacementFvPatchVectorField (const tractionDisplacementFvPatchVectorField &, 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 const vectorFieldtraction () const
 
virtual vectorFieldtraction ()
 
virtual void map (const fvPatchVectorField &, const fvPatchFieldMapper &)
 Map the given fvPatchField onto this fvPatchField. More...
 
virtual void reset (const fvPatchVectorField &)
 Reset the fvPatchField to the given fvPatchField. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Protected Member Functions

template<class Type >
void updateCoeffs (const Type &pressure)
 Update the coefficients associated with the patch field. More...
 
 tractionDisplacementFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 

Detailed Description

Fixed traction boundary condition for the standard linear elastic, fixed coefficient displacement equation.

Source files

Definition at line 50 of file tractionDisplacementFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ tractionDisplacementFvPatchVectorField() [1/5]

tractionDisplacementFvPatchVectorField ( const fvPatch p,
const DimensionedField< vector, volMesh > &  iF 
)
protected

Construct from patch and internal field.

Definition at line 31 of file tractionDisplacementFvPatchVectorField.C.

References fvPatchField< Type >::operator=(), and Foam::Zero.

Referenced by tractionDisplacementFvPatchVectorField::clone().

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

◆ tractionDisplacementFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 47 of file tractionDisplacementFvPatchVectorField.C.

References fvPatchField< Type >::operator=(), and Foam::Zero.

Here is the call graph for this function:

◆ tractionDisplacementFvPatchVectorField() [3/5]

Construct by mapping given.

tractionDisplacementFvPatchVectorField onto a new patch

Definition at line 64 of file tractionDisplacementFvPatchVectorField.C.

◆ tractionDisplacementFvPatchVectorField() [4/5]

Disallow copy without setting internal field reference.

◆ tractionDisplacementFvPatchVectorField() [5/5]

Copy constructor setting internal field reference.

Definition at line 79 of file tractionDisplacementFvPatchVectorField.C.

Member Function Documentation

◆ updateCoeffs() [1/2]

void updateCoeffs ( const Type &  pressure)
protected

Update the coefficients associated with the patch field.

for the given pressure

Definition at line 32 of file tractionDisplacementFvPatchVectorFieldTemplates.C.

References lambda(), Foam::constant::physicoChemical::mu, n, patchi, and thermo.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "tractionDisplacement"  )

Runtime type information.

◆ clone()

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

Construct and return a clone setting internal field reference.

Reimplemented in hydrostaticDisplacementFvPatchVectorField.

Definition at line 114 of file tractionDisplacementFvPatchVectorField.H.

References tractionDisplacementFvPatchVectorField::tractionDisplacementFvPatchVectorField().

Here is the call graph for this function:

◆ traction() [1/2]

virtual const vectorField& traction ( ) const
inlinevirtual

Definition at line 130 of file tractionDisplacementFvPatchVectorField.H.

◆ traction() [2/2]

virtual vectorField& traction ( )
inlinevirtual

Definition at line 135 of file tractionDisplacementFvPatchVectorField.H.

◆ map()

void map ( const fvPatchVectorField ptf,
const fvPatchFieldMapper mapper 
)
virtual

Map the given fvPatchField onto this fvPatchField.

Definition at line 94 of file tractionDisplacementFvPatchVectorField.C.

◆ reset()

void reset ( const fvPatchVectorField ptf)
virtual

Reset the fvPatchField to the given fvPatchField.

Used for mesh to mesh mapping

Definition at line 109 of file tractionDisplacementFvPatchVectorField.C.

◆ updateCoeffs() [2/2]

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Reimplemented in hydrostaticDisplacementFvPatchVectorField.

Definition at line 123 of file tractionDisplacementFvPatchVectorField.C.

Referenced by hydrostaticDisplacementFvPatchVectorField::updateCoeffs().

Here is the caller graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Reimplemented in hydrostaticDisplacementFvPatchVectorField.

Definition at line 134 of file tractionDisplacementFvPatchVectorField.C.

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

Here is the call graph for this function:

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