All Classes Namespaces Files Functions Variables Typedefs Friends Macros Groups
Public Member Functions | Protected Attributes | List of all members
cosVelocityFvPatchVectorField 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 cosVelocityFvPatchVectorField:
Inheritance graph
[legend]
Collaboration diagram for cosVelocityFvPatchVectorField:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("cosVelocity")
 Runtime type information. More...
 
 cosVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &)
 Construct from patch and internal field. More...
 
 cosVelocityFvPatchVectorField (const fvPatch &, const DimensionedField< vector, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 cosVelocityFvPatchVectorField (const cosVelocityFvPatchVectorField &, const fvPatch &, const DimensionedField< vector, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given cosVelocityFvPatchVectorField. More...
 
 cosVelocityFvPatchVectorField (const cosVelocityFvPatchVectorField &)
 Construct as copy. More...
 
virtual tmp< fvPatchVectorField > clone () const
 Construct and return a clone. More...
 
 cosVelocityFvPatchVectorField (const cosVelocityFvPatchVectorField &, const DimensionedField< vector, volMesh > &)
 Construct as copy setting internal field reference. More...
 
virtual tmp< fvPatchVectorField > clone (const DimensionedField< vector, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
void setPatchVelocities (vectorField &pV)
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchVectorField &pf, const labelList &ll)
 

Protected Attributes

vector A_
 
scalar H_
 
vector Hdirection_
 
scalar omega0_
 
scalar phi0_
 
scalar minZ_
 

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.

Usage
Example of the boundary condition specification:
<patchName>
{
    type            cosVelocity;
}
Source files

Definition at line 64 of file cosVelocityFvPatchVectorField.H.

Constructor & Destructor Documentation

cosVelocityFvPatchVectorField ( const fvPatch &  p,
const DimensionedField< vector, volMesh > &  iF 
)

Construct from patch and internal field.

Definition at line 32 of file cosVelocityFvPatchVectorField.C.

Referenced by cosVelocityFvPatchVectorField::clone().

Here is the caller graph for this function:

cosVelocityFvPatchVectorField ( const fvPatch &  p,
const DimensionedField< vector, volMesh > &  iF,
const dictionary &  dict 
)

Construct from patch, internal field and dictionary.

Definition at line 78 of file cosVelocityFvPatchVectorField.C.

cosVelocityFvPatchVectorField ( const cosVelocityFvPatchVectorField ptf,
const fvPatch &  p,
const DimensionedField< vector, volMesh > &  iF,
const fvPatchFieldMapper &  mapper 
)

Construct by mapping given cosVelocityFvPatchVectorField.

onto a new patch

Definition at line 55 of file cosVelocityFvPatchVectorField.C.

Construct as copy.

Definition at line 117 of file cosVelocityFvPatchVectorField.C.

cosVelocityFvPatchVectorField ( const cosVelocityFvPatchVectorField ptpsf,
const DimensionedField< vector, volMesh > &  iF 
)

Construct as copy setting internal field reference.

Definition at line 135 of file cosVelocityFvPatchVectorField.C.

Member Function Documentation

TypeName ( "cosVelocity"  )

Runtime type information.

virtual tmp<fvPatchVectorField > clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 155 of file cosVelocityFvPatchVectorField.H.

References cosVelocityFvPatchVectorField::cosVelocityFvPatchVectorField().

Here is the call graph for this function:

virtual tmp<fvPatchVectorField> clone ( const DimensionedField< vector, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 176 of file cosVelocityFvPatchVectorField.H.

void setPatchVelocities ( vectorField &  pV)

Definition at line 169 of file cosVelocityFvPatchVectorField.C.

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 187 of file cosVelocityFvPatchVectorField.C.

void write ( Ostream &  os) const
virtual

Write.

Definition at line 202 of file cosVelocityFvPatchVectorField.C.

void autoMap ( const fvPatchFieldMapper &  m)
virtual

Definition at line 156 of file cosVelocityFvPatchVectorField.C.

void rmap ( const fvPatchVectorField &  pf,
const labelList &  ll 
)
virtual

Definition at line 163 of file cosVelocityFvPatchVectorField.C.

Member Data Documentation

vector A_
protected

Definition at line 75 of file cosVelocityFvPatchVectorField.H.

scalar H_
protected

Definition at line 80 of file cosVelocityFvPatchVectorField.H.

vector Hdirection_
protected

Definition at line 85 of file cosVelocityFvPatchVectorField.H.

scalar omega0_
protected

Definition at line 90 of file cosVelocityFvPatchVectorField.H.

scalar phi0_
protected

Definition at line 95 of file cosVelocityFvPatchVectorField.H.

scalar minZ_
protected

Definition at line 100 of file cosVelocityFvPatchVectorField.H.


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