FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

buoyantPressureFvPatchScalarField Class Reference

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

#include <finiteVolume/buoyantPressureFvPatchScalarField.H>


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 53 of file buoyantPressureFvPatchScalarField.H.

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.

Constructor & Destructor Documentation

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

Construct from patch and internal field.

Definition at line 41 of file buoyantPressureFvPatchScalarField.C.

Referenced by buoyantPressureFvPatchScalarField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 53 of file buoyantPressureFvPatchScalarField.C.

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

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

Construct by mapping given.

buoyantPressureFvPatchScalarField onto a new patch

Definition at line 69 of file buoyantPressureFvPatchScalarField.C.

Construct as copy.

Definition at line 83 of file buoyantPressureFvPatchScalarField.C.

Construct as copy setting internal field reference.

Definition at line 94 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 103 of file buoyantPressureFvPatchScalarField.H.

References buoyantPressureFvPatchScalarField::buoyantPressureFvPatchScalarField().

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

Construct and return a clone setting internal field reference.

Definition at line 120 of file buoyantPressureFvPatchScalarField.H.

References buoyantPressureFvPatchScalarField::buoyantPressureFvPatchScalarField().

void updateCoeffs (  ) [virtual]

Update the coefficients associated with the patch field.

Definition at line 106 of file buoyantPressureFvPatchScalarField.C.

References rho, and dimensioned< Type >::value().

void write ( Ostream &   os  ) const [virtual]

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