Loading...
Searching...
No Matches
betaMaxReynoldsDarcy Class Reference

Compute betaMax through the products of the Reynolds and Darcy numbers, quantifying the momentum-to-porous forces ratio ReDa = Uref/betaMax/L where Uref is a reference velocity and L is a characteristic length. The latter is either supplied directly or computed as the. More...

#include <betaMaxReynoldsDarcy.H>

Inheritance diagram for betaMaxReynoldsDarcy:
Collaboration diagram for betaMaxReynoldsDarcy:

Public Member Functions

 TypeName ("ReynoldsDarcy")
 Runtime type information.
 betaMaxReynoldsDarcy (const fvMesh &mesh, const dictionary &dict)
 Construct from components.
virtual ~betaMaxReynoldsDarcy ()=default
 Destructor.
Public Member Functions inherited from betaMax
 TypeName ("betaMax")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, betaMax, dictionary,(const fvMesh &mesh, const dictionary &dict),(mesh, dict))
 betaMax (const fvMesh &mesh, const dictionary &dict)
 Construct from components.
virtual ~betaMax ()=default
 Destructor.
virtual scalar value () const
 Get value.

Protected Attributes

scalar ReynoldsDarcyNumber_
 The Darcy number expressing the ratio of viscous to porous forces.
scalar length_
 Characteristic length of the case.
scalar Uref_
 Reference velocity.
Protected Attributes inherited from betaMax
const fvMeshmesh_
 Reference to mesh.
scalar value_
 betaMax value

Additional Inherited Members

Static Public Member Functions inherited from betaMax
static autoPtr< betaMax > New (const fvMesh &mesh, const dictionary &dict)
 Construct and return the selected betaMax model.
Protected Member Functions inherited from betaMax
scalar computeLength (const dictionary &dict) const
 Compute the characteristic length.
boolList markProcessorEdges (const polyPatch &patch) const
 Mark all common inlet - processor edges.

Detailed Description

Compute betaMax through the products of the Reynolds and Darcy numbers, quantifying the momentum-to-porous forces ratio ReDa = Uref/betaMax/L where Uref is a reference velocity and L is a characteristic length. The latter is either supplied directly or computed as the.

  • 2D: area of the inlet patches divided by the span in the empty direction
  • 3D: the hydraulic diameter of the inlet patches
Source files

Definition at line 54 of file betaMaxReynoldsDarcy.H.

Constructor & Destructor Documentation

◆ betaMaxReynoldsDarcy()

betaMaxReynoldsDarcy ( const fvMesh & mesh,
const dictionary & dict )

Construct from components.

Definition at line 38 of file betaMaxReynoldsDarcy.C.

References betaMax::computeLength(), dict, Foam::endl(), Foam::Info, length_, mesh, Foam::nl, ReynoldsDarcyNumber_, Uref_, and betaMax::value_.

Here is the call graph for this function:

◆ ~betaMaxReynoldsDarcy()

virtual ~betaMaxReynoldsDarcy ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "ReynoldsDarcy" )

Runtime type information.

References dict, and mesh.

Member Data Documentation

◆ ReynoldsDarcyNumber_

scalar ReynoldsDarcyNumber_
protected

The Darcy number expressing the ratio of viscous to porous forces.

Definition at line 81 of file betaMaxReynoldsDarcy.H.

Referenced by betaMaxReynoldsDarcy().

◆ length_

scalar length_
protected

Characteristic length of the case.

Either supplied directly or computed as the hydraulic diameter of the inlet

Definition at line 89 of file betaMaxReynoldsDarcy.H.

Referenced by betaMaxReynoldsDarcy().

◆ Uref_

scalar Uref_
protected

Reference velocity.

Definition at line 94 of file betaMaxReynoldsDarcy.H.

Referenced by betaMaxReynoldsDarcy().


The documentation for this class was generated from the following files:
  • src/optimisation/adjointOptimisation/adjoint/optimisation/designVariables/topODesignVariables/betaMax/ReynoldsDarcy/betaMaxReynoldsDarcy.H
  • src/optimisation/adjointOptimisation/adjoint/optimisation/designVariables/topODesignVariables/betaMax/ReynoldsDarcy/betaMaxReynoldsDarcy.C