Public Member Functions | List of all members
SRFFreestreamVelocityFvPatchVectorField Class Reference
Inheritance diagram for SRFFreestreamVelocityFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for SRFFreestreamVelocityFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("SRFFreestreamVelocity")
 Runtime type information. More...
 
 SRFFreestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 SRFFreestreamVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 SRFFreestreamVelocityFvPatchVectorField (const SRFFreestreamVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given SRFFreestreamVelocityFvPatchVectorField. More...
 
 SRFFreestreamVelocityFvPatchVectorField (const SRFFreestreamVelocityFvPatchVectorField &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 SRFFreestreamVelocityFvPatchVectorField (const SRFFreestreamVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchVectorFieldclone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
const vectorUInf () const
 Return the velocity at infinity. More...
 
vectorUInf ()
 Return reference to the velocity at infinity to allow adjustment. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

Definition at line 120 of file SRFFreestreamVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 38 of file SRFFreestreamVelocityFvPatchVectorField.C.

Referenced by SRFFreestreamVelocityFvPatchVectorField::clone(), and SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().

Here is the caller graph for this function:

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

Construct from patch, internal field and dictionary.

Definition at line 66 of file SRFFreestreamVelocityFvPatchVectorField.C.

References dictionary::lookupOrDefault(), fvPatch::size(), SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField(), and vectorField().

Here is the call graph for this function:

Construct by mapping given SRFFreestreamVelocityFvPatchVectorField.

onto a new patch

Definition at line 51 of file SRFFreestreamVelocityFvPatchVectorField.C.

References SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().

Here is the call graph for this function:

Construct as copy.

Definition at line 84 of file SRFFreestreamVelocityFvPatchVectorField.C.

References SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().

Here is the call graph for this function:

Construct as copy setting internal field reference.

Definition at line 96 of file SRFFreestreamVelocityFvPatchVectorField.C.

Member Function Documentation

TypeName ( "SRFFreestreamVelocity"  )

Runtime type information.

virtual tmp<fvPatchVectorField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 173 of file SRFFreestreamVelocityFvPatchVectorField.H.

References SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().

Here is the call graph for this function:

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

Construct and return a clone setting internal field reference.

Definition at line 190 of file SRFFreestreamVelocityFvPatchVectorField.H.

References SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().

Here is the call graph for this function:

const vector& UInf ( ) const
inline

Return the velocity at infinity.

Definition at line 206 of file SRFFreestreamVelocityFvPatchVectorField.H.

vector& UInf ( )
inline

Return reference to the velocity at infinity to allow adjustment.

Definition at line 212 of file SRFFreestreamVelocityFvPatchVectorField.H.

References SRFFreestreamVelocityFvPatchVectorField::updateCoeffs(), and SRFFreestreamVelocityFvPatchVectorField::write().

Here is the call graph for this function:

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 109 of file SRFFreestreamVelocityFvPatchVectorField.C.

References SRFModel::axis(), Foam::cos(), Foam::mag(), mesh, Foam::name(), SRFModel::omega(), Foam::pos(), Foam::sin(), fvPatchField< Type >::updateCoeffs(), dimensioned< Type >::value(), and SRFModel::velocity().

Referenced by SRFFreestreamVelocityFvPatchVectorField::UInf().

Here is the call graph for this function:

Here is the caller graph for this function:

void write ( Ostream os) const
virtual

Write.

Definition at line 158 of file SRFFreestreamVelocityFvPatchVectorField.C.

References token::END_STATEMENT, Foam::makePatchTypeField(), Foam::nl, fvPatchField< Type >::write(), and Ostream::writeKeyword().

Referenced by SRFFreestreamVelocityFvPatchVectorField::UInf().

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: