Public Member Functions | List of all members
waveAlphaFvPatchScalarField Class Reference

Example of the boundary condition specification: More...

Inheritance diagram for waveAlphaFvPatchScalarField:
Inheritance graph
[legend]
Collaboration diagram for waveAlphaFvPatchScalarField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("waveAlpha")
 
 waveAlphaFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 waveAlphaFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 waveAlphaFvPatchScalarField (const waveAlphaFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 waveAlphaFvPatchScalarField (const waveAlphaFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 waveAlphaFvPatchScalarField (const waveAlphaFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

Example of the boundary condition specification:

inlet
{
    type            waveAlpha;
    value           uniform (0 0 0);
}
Usage
Property Description Required Default value
type type: waveAlpha 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 waveAlphaFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ waveAlphaFvPatchScalarField() [1/5]

waveAlphaFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF 
)

Definition at line 30 of file waveAlphaFvPatchScalarField.C.

Referenced by waveAlphaFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ waveAlphaFvPatchScalarField() [2/5]

waveAlphaFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Definition at line 54 of file waveAlphaFvPatchScalarField.C.

◆ waveAlphaFvPatchScalarField() [3/5]

waveAlphaFvPatchScalarField ( const waveAlphaFvPatchScalarField ptf,
const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const fvPatchFieldMapper mapper 
)

Definition at line 41 of file waveAlphaFvPatchScalarField.C.

◆ waveAlphaFvPatchScalarField() [4/5]

Definition at line 66 of file waveAlphaFvPatchScalarField.C.

◆ waveAlphaFvPatchScalarField() [5/5]

Definition at line 76 of file waveAlphaFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "waveAlpha"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Definition at line 131 of file waveAlphaFvPatchScalarField.H.

References waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Definition at line 148 of file waveAlphaFvPatchScalarField.H.

References waveAlphaFvPatchScalarField::waveAlphaFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 115 of file waveAlphaFvPatchScalarField.C.

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

Here is the call graph for this function:

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