waveVelocityFvPatchVectorField Class Reference

Example of the boundary condition specification: More...

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

Public Member Functions

 TypeName ("waveVelocity")
 Runtime type information. More...
 
 waveVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 waveVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorFieldclone () const
 Construct and return a clone. More...
 
 waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &, 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...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

Example of the boundary condition specification:

inlet
{
    type            waveVelocity;
    value           uniform (0 0 0);
}
Usage
Property Description Required Default value
type type: waveVelocity yes
waveDict Dictionary specifying wave variables no waveProperties
Note
  • The value is positive inwards
  • May not work correctly for transonic inlets
  • Strange behaviour with potentialFoam since the U equation is not solved
Source files

Definition at line 84 of file waveVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ waveVelocityFvPatchVectorField() [1/5]

Construct from patch and internal field.

Definition at line 36 of file waveVelocityFvPatchVectorField.C.

◆ waveVelocityFvPatchVectorField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 60 of file waveVelocityFvPatchVectorField.C.

◆ waveVelocityFvPatchVectorField() [3/5]

waveVelocityFvPatchVectorField ( const waveVelocityFvPatchVectorField ptf,
const fvPatch p,
const DimensionedField< vector, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Construct by mapping given.

waveVelocityFvPatchVectorField onto a new patch

Definition at line 47 of file waveVelocityFvPatchVectorField.C.

◆ waveVelocityFvPatchVectorField() [4/5]

Construct as copy.

Definition at line 72 of file waveVelocityFvPatchVectorField.C.

◆ waveVelocityFvPatchVectorField() [5/5]

Construct as copy setting internal field reference.

Definition at line 82 of file waveVelocityFvPatchVectorField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "waveVelocity"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchVectorField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 135 of file waveVelocityFvPatchVectorField.H.

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 151 of file waveVelocityFvPatchVectorField.H.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 95 of file waveVelocityFvPatchVectorField.C.

References tmp< T >::constCast(), waveModel::correct(), waveModel::lookupOrCreate(), mesh, Foam::operator==(), waveModel::U(), and atmBoundaryLayerInletEpsilonFvPatchScalarField::updateCoeffs().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 122 of file waveVelocityFvPatchVectorField.C.

References os(), ObukhovLength::write(), and Ostream::writeEntry().

Here is the call graph for this function:

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