All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
Public Member Functions | List of all members
mQhdFluxFvPatchScalarField Class Reference

This boundary condition sets the pressure gradient to the provided value such that the flux on the boundary is that specified by the velocity boundary condition. More...

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

Public Member Functions

 TypeName ("mQhdFlux")
 Runtime type information. More...
 
 mQhdFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 mQhdFluxFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 mQhdFluxFvPatchScalarField (const mQhdFluxFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given mQhdFluxFvPatchScalarField onto. More...
 
 mQhdFluxFvPatchScalarField (const mQhdFluxFvPatchScalarField &)
 Construct as copy. More...
 
virtual tmp< fvPatchScalarField > clone () const
 Construct and return a clone. More...
 
 mQhdFluxFvPatchScalarField (const mQhdFluxFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchScalarField > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the patch pressure gradient field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Detailed Description

This boundary condition sets the pressure gradient to the provided value such that the flux on the boundary is that specified by the velocity boundary condition.

Example of the boundary condition specification:

<patchName>
{
    type            mQhdFlux;
}
See Also
Foam::fixedGradientFvPatchField
Source files

Definition at line 65 of file mQhdFluxFvPatchScalarField.H.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 32 of file mQhdFluxFvPatchScalarField.C.

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

Construct from patch, internal field and dictionary.

Definition at line 42 of file mQhdFluxFvPatchScalarField.C.

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

Construct by mapping given mQhdFluxFvPatchScalarField onto.

a new patch

Definition at line 69 of file mQhdFluxFvPatchScalarField.C.

Construct as copy.

Definition at line 116 of file mQhdFluxFvPatchScalarField.C.

mQhdFluxFvPatchScalarField ( const mQhdFluxFvPatchScalarField wbppsf,
const DimensionedField< scalar, volMesh > &  iF 
)

Construct as copy setting internal field reference.

Definition at line 125 of file mQhdFluxFvPatchScalarField.C.

Member Function Documentation

TypeName ( "mQhdFlux"  )

Runtime type information.

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 124 of file mQhdFluxFvPatchScalarField.H.

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

Construct and return a clone setting internal field reference.

Definition at line 145 of file mQhdFluxFvPatchScalarField.H.

void updateCoeffs ( )
virtual

Update the patch pressure gradient field.

Definition at line 153 of file mQhdFluxFvPatchScalarField.C.

References coeffp(), and phiwm().

Here is the call graph for this function:

void write ( Ostream &  os) const
virtual

Write.

Definition at line 194 of file mQhdFluxFvPatchScalarField.C.


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