Loading...
Searching...
No Matches
waveVelocityFvPatchVectorField Class Reference

Example of the boundary condition specification: More...

#include <waveVelocityFvPatchVectorField.H>

Inheritance diagram for waveVelocityFvPatchVectorField:
Collaboration diagram for waveVelocityFvPatchVectorField:

Public Member Functions

 TypeName ("waveVelocity")
 Runtime type information.
 waveVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field.
 waveVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &)
 Construct as copy.
 waveVelocityFvPatchVectorField (const waveVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference.
virtual tmp< fvPatchField< vector > > clone () const
 Return a clone.
virtual tmp< fvPatchField< vector > > clone (const DimensionedField< vector, volMesh > &iF) const
 Clone with an internal field reference.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

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 80 of file waveVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

◆ waveVelocityFvPatchVectorField() [1/5]

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

Construct from patch and internal field.

Definition at line 29 of file waveVelocityFvPatchVectorField.C.

References dictName(), and p.

Referenced by TypeName(), waveVelocityFvPatchVectorField(), waveVelocityFvPatchVectorField(), and waveVelocityFvPatchVectorField().

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

◆ 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 53 of file waveVelocityFvPatchVectorField.C.

References dict, dictName(), and p.

Here is the call graph for this function:

◆ 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 40 of file waveVelocityFvPatchVectorField.C.

References p, and waveVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ waveVelocityFvPatchVectorField() [4/5]

waveVelocityFvPatchVectorField ( const waveVelocityFvPatchVectorField & ptf)

Construct as copy.

Definition at line 65 of file waveVelocityFvPatchVectorField.C.

References waveVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ waveVelocityFvPatchVectorField() [5/5]

waveVelocityFvPatchVectorField ( const waveVelocityFvPatchVectorField & ptf,
const DimensionedField< vector, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 75 of file waveVelocityFvPatchVectorField.C.

References waveVelocityFvPatchVectorField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "waveVelocity" )

Runtime type information.

References waveVelocityFvPatchVectorField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< vector > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 155 of file waveVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 163 of file waveVelocityFvPatchVectorField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 88 of file waveVelocityFvPatchVectorField.C.

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

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 115 of file waveVelocityFvPatchVectorField.C.

References os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

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