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

porousZone.H File Reference


Detailed Description

View porousZone.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
porous zone definition based on cell zones and parameters obtained
from a control dictionary constructed from the given stream.
The orientation of the porous region is defined either by the local
e1/e2 vectors, or by axis (e3) and direction (e1) as per coordinateSystems.
Implemented porosity models:

    powerLaw (C0/C1 parameters)
        S = - rho * C0 * |U|^((C1 - 1) / 2) * U

    Darcy-Forchheimer (d/f parameters)
        S = - (mu * U * d + rho/2 * |U| * f) * U

The model does not include correction of the temporal terms.

Source files

Definition in file porousZone.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Classes

class  porousZone
class  porousZone::iNew
 Return a pointer to a new porousZone created on freestore. More...
Copyright © 2000-2007 OpenCFD Ltd