OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

buoyantPressureFvPatchScalarField Class Reference

Set the pressure gradient boundary condition appropriately for buoyant flow. More...

Collaboration diagram for buoyantPressureFvPatchScalarField:

List of all members.


Public Member Functions

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

Detailed Description

Set the pressure gradient boundary condition appropriately for buoyant flow.

If the variable name is "pd" assume it is p - rho*g.h and set the gradient appropriately. Otherwise assume the variable is the static pressure.

Source files

Definition at line 48 of file buoyantPressureFvPatchScalarField.H.


Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 33 of file buoyantPressureFvPatchScalarField.C.

References p.

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

Construct from patch, internal field and dictionary.

Definition at line 45 of file buoyantPressureFvPatchScalarField.C.

Construct by mapping given.

buoyantPressureFvPatchScalarField onto a new patch

Definition at line 61 of file buoyantPressureFvPatchScalarField.C.

References fvPatchField< Type >::operator=().

Here is the call graph for this function:

Construct as copy.

Definition at line 75 of file buoyantPressureFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 86 of file buoyantPressureFvPatchScalarField.C.


Member Function Documentation

TypeName ( "buoyantPressure"   ) 

Runtime type information.

virtual tmp<fvPatchScalarField> clone (  )  const [inline, virtual]

Construct and return a clone.

Definition at line 100 of file buoyantPressureFvPatchScalarField.H.

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF  )  const [inline, virtual]

Construct and return a clone setting internal field reference.

Definition at line 117 of file buoyantPressureFvPatchScalarField.H.

void updateCoeffs (  )  [virtual]

Update the coefficients associated with the patch field.

Definition at line 98 of file buoyantPressureFvPatchScalarField.C.

void write ( Ostream &  os  )  const [virtual]

Write.

Definition at line 127 of file buoyantPressureFvPatchScalarField.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd