OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

porousZone Class Reference

Collaboration diagram for porousZone:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 78 of file porousZone.H.


Public Member Functions

 porousZone (const fvMesh &mesh, Istream &is)
 Construct from fvMesh and Istream.
autoPtr< porousZone > clone () const
 Return clone.
const word & zoneName () const
label zoneId () const
const dictionary & dict () const
void addResistance (fvVectorMatrix &UEqn) const
 Add the viscous and inertial resistance force contribution.
void addResistance (const fvVectorMatrix &UEqn, volTensorField &AU, bool correctAUpBC=true) const
 Add the viscous and inertial resistance force contribution.
void writeDict (Ostream &, bool subDict=true) const
 Write the porousZone dictionary.

Friends

Ostream & operator<< (Ostream &, const porousZone &)

Classes

class  iNew
 Return a pointer to a new porousZone created on freestore. More...

Constructor & Destructor Documentation

porousZone ( const fvMesh &  mesh,
Istream &  is 
)

Construct from fvMesh and Istream.


Member Function Documentation

autoPtr<porousZone> clone (  )  const [inline]

Return clone.

Definition at line 171 of file porousZone.H.

References porousZone::iNew::iNew(), and mesh.

Here is the call graph for this function:

const word& zoneName (  )  const [inline]

Definition at line 203 of file porousZone.H.

label zoneId (  )  const [inline]

Definition at line 208 of file porousZone.H.

const dictionary& dict (  )  const [inline]

Definition at line 213 of file porousZone.H.

void addResistance ( fvVectorMatrix &  UEqn  )  const

Add the viscous and inertial resistance force contribution.

to the momentum equation

void addResistance ( const fvVectorMatrix &  UEqn,
volTensorField &  AU,
bool  correctAUpBC = true 
) const

Add the viscous and inertial resistance force contribution.

to the tensorial diagonal. Optionally correct the processor BCs of AU.

void writeDict ( Ostream &  ,
bool  subDict = true 
) const

Write the porousZone dictionary.


Friends And Related Function Documentation

Ostream& operator<< ( Ostream &  ,
const porousZone &   
) [friend]


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