FreeFOAM The Cross-Platform CFD Toolkit
uniformDensityHydrostaticPressureFvPatchScalarField Class Reference

Hydrostatic pressure boundary condition calculated as. More...

#include <finiteVolume/uniformDensityHydrostaticPressureFvPatchScalarField.H>


Detailed Description

List of all members.

Public Member Functions

 TypeName ("uniformDensityHydrostaticPressure")
 Runtime type information.
 uniformDensityHydrostaticPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 uniformDensityHydrostaticPressureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 uniformDensityHydrostaticPressureFvPatchScalarField (const uniformDensityHydrostaticPressureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given.
 uniformDensityHydrostaticPressureFvPatchScalarField (const uniformDensityHydrostaticPressureFvPatchScalarField &)
 Construct as copy.
virtual tmp< fvPatchScalarField > clone () const
 Construct and return a clone.
 uniformDensityHydrostaticPressureFvPatchScalarField (const uniformDensityHydrostaticPressureFvPatchScalarField &, 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.
scalar rho () const
 Return the constant density in the far-field.
scalar & rho ()
 Return reference to the constant density in the far-field.
scalar pRefValue () const
 Return the reference pressure.
scalar & pRefValue ()
 Return reference to the reference pressure to allow adjustment.
const vector & pRefPoint () const
 Return the pressure reference location.
vector & pRefPoint ()
 Return reference to the pressure reference location.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

Constructor & Destructor Documentation

Construct from patch and internal field.

Definition at line 37 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.

Referenced by uniformDensityHydrostaticPressureFvPatchScalarField::clone().

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

Construct from patch, internal field and dictionary.

Definition at line 51 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.

References dictionary::found(), scalarField(), and fvPatch::size().

Construct as copy setting internal field reference.

Definition at line 107 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.


Member Function Documentation

TypeName ( "uniformDensityHydrostaticPressure"  )

Runtime type information.

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

Return the constant density in the far-field.

Definition at line 146 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.

scalar& rho ( )
inline

Return reference to the constant density in the far-field.

to allow adjustment

Definition at line 153 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.

scalar pRefValue ( ) const
inline

Return the reference pressure.

Definition at line 159 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.

scalar& pRefValue ( )
inline

Return reference to the reference pressure to allow adjustment.

Definition at line 165 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.

const vector& pRefPoint ( ) const
inline

Return the pressure reference location.

Definition at line 171 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.

vector& pRefPoint ( )
inline

Return reference to the pressure reference location.

to allow adjustment

Definition at line 178 of file uniformDensityHydrostaticPressureFvPatchScalarField.H.

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 121 of file uniformDensityHydrostaticPressureFvPatchScalarField.C.

References dimensioned< Type >::value().

void write ( Ostream &  os) const
virtual

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