waveAlphaFvPatchScalarField Class Reference

Example of the boundary condition specification: More...

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

Public Member Functions

 TypeName ("waveAlpha")
 Runtime type information. More...
 
 waveAlphaFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 waveAlphaFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 waveAlphaFvPatchScalarField (const waveAlphaFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 waveAlphaFvPatchScalarField (const waveAlphaFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 waveAlphaFvPatchScalarField (const waveAlphaFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, 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            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 84 of file waveAlphaFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ waveAlphaFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 36 of file waveAlphaFvPatchScalarField.C.

◆ waveAlphaFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 60 of file waveAlphaFvPatchScalarField.C.

◆ waveAlphaFvPatchScalarField() [3/5]

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

Construct by mapping given.

waveAlphaFvPatchScalarField onto a new patch

Definition at line 47 of file waveAlphaFvPatchScalarField.C.

◆ waveAlphaFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 72 of file waveAlphaFvPatchScalarField.C.

◆ waveAlphaFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 82 of file waveAlphaFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "waveAlpha"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp< fvPatchScalarField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 135 of file waveAlphaFvPatchScalarField.H.

◆ clone() [2/2]

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

Construct and return a clone setting internal field reference.

Definition at line 151 of file waveAlphaFvPatchScalarField.H.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 95 of file waveAlphaFvPatchScalarField.C.

References waveModel::alpha(), tmp< T >::constCast(), waveModel::correct(), waveModel::lookupOrCreate(), mesh, Foam::operator==(), 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 waveAlphaFvPatchScalarField.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: