FreeFOAM The Cross-Platform CFD Toolkit
SRFFreestreamVelocityFvPatchVectorField Class Reference

Freestream velocity patch to be used with SRF model to apply the appropriate rotation transformation in time and space. More...

#include <finiteVolume/SRFFreestreamVelocityFvPatchVectorField.H>


Detailed Description

List of all members.

Public Member Functions

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

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 41 of file SRFFreestreamVelocityFvPatchVectorField.C.

Referenced by SRFFreestreamVelocityFvPatchVectorField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 65 of file SRFFreestreamVelocityFvPatchVectorField.C.

References fvPatchField< Type >::operator=(), and fvPatch::size().

Construct by mapping given SRFFreestreamVelocityFvPatchVectorField.

onto a new patch

Definition at line 52 of file SRFFreestreamVelocityFvPatchVectorField.C.

Construct as copy setting internal field reference.

Definition at line 89 of file SRFFreestreamVelocityFvPatchVectorField.C.


Member Function Documentation

TypeName ( "SRFFreestreamVelocity"  )

Runtime type information.

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

Construct and return a clone setting internal field reference.

Definition at line 117 of file SRFFreestreamVelocityFvPatchVectorField.H.

References SRFFreestreamVelocityFvPatchVectorField::SRFFreestreamVelocityFvPatchVectorField().

const vector& UInf ( ) const
inline

Return the velocity at infinity.

Definition at line 133 of file SRFFreestreamVelocityFvPatchVectorField.H.

vector& UInf ( )
inline

Return reference to the velocity at infinity to allow adjustment.

Definition at line 139 of file SRFFreestreamVelocityFvPatchVectorField.H.

void updateCoeffs ( )
virtual
void write ( Ostream os) const
virtual

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