betaMaxDarcy Class Reference

Compute betaMax through the definition of the Darcy number, quantifying the viscous-to-porous forces ratio Da = nu/betaMax/L/L where nu is the bulk viscosity and L is a characteristic length. The latter is either supplied directly or computed as the. More...

Inheritance diagram for betaMaxDarcy:
Collaboration diagram for betaMaxDarcy:

Public Member Functions

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

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

Compute betaMax through the definition of the Darcy number, quantifying the viscous-to-porous forces ratio Da = nu/betaMax/L/L where nu is the bulk viscosity 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

Reference:

    Olesen, L. H., Okkels, F., & Bruus H. (2006).
    A high-level programming-language implementation of topology
    optimization applied to steady-state Navier–Stokes flow.
    International Journal for Numerical Methods in Engineering,
    65(7), 975-1001.
    https://doi.org/10.1002/nme.1468
Source files

Definition at line 64 of file betaMaxDarcy.H.

Constructor & Destructor Documentation

◆ betaMaxDarcy()

betaMaxDarcy ( const fvMesh mesh,
const dictionary dict 
)

Construct from components.

Definition at line 37 of file betaMaxDarcy.C.

References Foam::endl(), dictionary::get(), Foam::Info, mesh, Foam::nl, and nu.

Here is the call graph for this function:

◆ ~betaMaxDarcy()

virtual ~betaMaxDarcy ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "Darcy"  )

Runtime type information.

Member Data Documentation

◆ DarcyNumber_

scalar DarcyNumber_
protected

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

Definition at line 91 of file betaMaxDarcy.H.

◆ length_

scalar length_
protected

Characteristic length of the case.

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

Definition at line 99 of file betaMaxDarcy.H.


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