betaMax Class Reference

Base class for selecting the betaMax value, i.e. the value multiplying the Brinkman penalisation term, for topology optimisation. More...

Inheritance diagram for betaMax:
Collaboration diagram for betaMax:

Public Member Functions

 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...
 

Static Public Member Functions

static autoPtr< betaMaxNew (const fvMesh &mesh, const dictionary &dict)
 Construct and return the selected betaMax model. More...
 

Protected Member Functions

scalar computeLength (const dictionary &dict) const
 Compute the characteristic length. More...
 
boolList markProcessorEdges (const polyPatch &patch) const
 Mark all common inlet - processor edges. More...
 

Protected Attributes

const fvMeshmesh_
 Reference to mesh. More...
 
scalar value_
 betaMax value More...
 

Detailed Description

Base class for selecting the betaMax value, i.e. the value multiplying the Brinkman penalisation term, for topology optimisation.

Source files

Definition at line 49 of file betaMax.H.

Constructor & Destructor Documentation

◆ betaMax()

betaMax ( const fvMesh mesh,
const dictionary dict 
)

Construct from components.

Definition at line 208 of file betaMax.C.

◆ ~betaMax()

virtual ~betaMax ( )
virtualdefault

Destructor.

Member Function Documentation

◆ computeLength()

◆ markProcessorEdges()

◆ TypeName()

TypeName ( "betaMax"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
betaMax  ,
dictionary  ,
(const fvMesh &mesh, const dictionary &dict ,
(mesh, dict  
)

◆ New()

Foam::autoPtr< Foam::betaMax > New ( const fvMesh mesh,
const dictionary dict 
)
static

Construct and return the selected betaMax model.

Definition at line 221 of file betaMax.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::getOrDefault(), Foam::Info, and mesh.

Here is the call graph for this function:

◆ value()

Foam::scalar value ( ) const
virtual

Get value.

Reimplemented in betaMaxStepRamp.

Definition at line 249 of file betaMax.C.

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

Reference to mesh.

Definition at line 73 of file betaMax.H.

Referenced by betaMax::computeLength(), and betaMaxStepRamp::value().

◆ value_

scalar value_
protected

betaMax value

Definition at line 78 of file betaMax.H.

Referenced by betaMaxStepRamp::value().


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