A centralized porousZone collection. More...
#include <finiteVolume/porousZones.H>
A centralized porousZone collection.
Container class for a set of porousZones with the porousZone member functions implemented to loop over the functions for each porousZone.
The input file constant/porousZone is implemented as IOPtrList<porousZone> and contains the following type of data:
1
(
cat1
{
coordinateSystemsystem_10;
porosity0.781;
Darcy
{
d d [0 -2 0 0 0] (-1000 -1000 0.50753e+08);
f f [0 -1 0 0 0] (-1000 -1000 12.83);
}
}
)
Definition at line 77 of file porousZones.H.
Inheritance diagram for porousZones:
Collaboration diagram for porousZones:Public Member Functions | |
| porousZones (const fvMesh &) | |
| Construct from fvMesh.
| |
| template<class Type > | |
| tmp< fvMatrix< Type > > | ddt (GeometricField< Type, fvPatchField, volMesh > &) |
| mirror fvm::ddt with porosity
| |
| template<class Type > | |
| tmp< fvMatrix< Type > > | ddt (const geometricOneField &, GeometricField< Type, fvPatchField, volMesh > &) |
| mirror fvm::ddt with porosity
| |
| template<class Type > | |
| tmp< fvMatrix< Type > > | ddt (const dimensionedScalar &, GeometricField< Type, fvPatchField, volMesh > &) |
| mirror fvm::ddt with porosity
| |
| template<class Type > | |
| tmp< fvMatrix< Type > > | ddt (const volScalarField &, GeometricField< Type, fvPatchField, volMesh > &) |
| mirror fvm::ddt with porosity
| |
| void | addResistance (fvVectorMatrix &UEqn) const |
| Add the viscous and inertial resistance force contribution.
| |
| void | addResistance (const fvVectorMatrix &UEqn, volTensorField &AU) const |
| Add the viscous and inertial resistance force contribution.
| |
| virtual bool | readData (Istream &) |
| read modified data
| |
| bool | writeData (Ostream &, bool subDict=true) const |
| write data
| |
| porousZones | ( | const fvMesh & | mesh ) |
Construct from fvMesh.
with automatically constructed coordinate systems list
Definition at line 40 of file porousZones.C.
| Foam::tmp< Foam::fvMatrix< Type > > ddt | ( | GeometricField< Type, fvPatchField, volMesh > & | vf ) |
mirror fvm::ddt with porosity
Definition at line 48 of file porousZonesTemplates.C.
References Foam::fvm::ddt().
| Foam::tmp< Foam::fvMatrix< Type > > ddt | ( | const geometricOneField & | , |
| GeometricField< Type, fvPatchField, volMesh > & | vf | ||
| ) |
mirror fvm::ddt with porosity
Definition at line 61 of file porousZonesTemplates.C.
References Foam::fvm::ddt().
| Foam::tmp< Foam::fvMatrix< Type > > ddt | ( | const dimensionedScalar & | rho, |
| GeometricField< Type, fvPatchField, volMesh > & | vf | ||
| ) |
mirror fvm::ddt with porosity
Definition at line 75 of file porousZonesTemplates.C.
References Foam::fvm::ddt().
| Foam::tmp< Foam::fvMatrix< Type > > ddt | ( | const volScalarField & | rho, |
| GeometricField< Type, fvPatchField, volMesh > & | vf | ||
| ) |
mirror fvm::ddt with porosity
Definition at line 89 of file porousZonesTemplates.C.
References Foam::fvm::ddt().
| void addResistance | ( | fvVectorMatrix & | UEqn ) | const |
Add the viscous and inertial resistance force contribution.
to the momentum equation
Definition at line 62 of file porousZones.C.
References porousZone::addResistance(), forAll, and PtrList< porousZone >::operator[]().
| void addResistance | ( | const fvVectorMatrix & | UEqn, |
| volTensorField & | AU | ||
| ) | const |
Add the viscous and inertial resistance force contribution.
to the tensorial diagonal
Definition at line 72 of file porousZones.C.
References GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), and forAll.
| bool readData | ( | Istream & | is ) | [virtual]
|
read modified data
Reimplemented from regIOobject.
Definition at line 91 of file porousZones.C.
References clear(), IOstream::good(), IOobject::MUST_READ, and IOobject::NO_WRITE.
| bool writeData | ( | Ostream & | os, |
| bool | subDict = true
|
||
| ) | const |
write data
Definition at line 115 of file porousZones.C.
References token::BEGIN_LIST, token::END_LIST, forAll, IOstream::good(), and Foam::nl.