Base class for selecting the betaMax value, i.e. the value multiplying the Brinkman penalisation term, for topology optimisation. More...
#include <betaMax.H>


Public Member Functions | |
| 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. | |
Static Public Member Functions | |
| static autoPtr< betaMax > | New (const fvMesh &mesh, const dictionary &dict) |
| Construct and return the selected betaMax model. | |
Protected Member Functions | |
| scalar | computeLength (const dictionary &dict) const |
| Compute the characteristic length. | |
| boolList | markProcessorEdges (const polyPatch &patch) const |
| Mark all common inlet - processor edges. | |
Protected Attributes | |
| const fvMesh & | mesh_ |
| Reference to mesh. | |
| scalar | value_ |
| betaMax value | |
Base class for selecting the betaMax value, i.e. the value multiplying the Brinkman penalisation term, for topology optimisation.
| betaMax | ( | const fvMesh & | mesh, |
| const dictionary & | dict ) |
|
virtualdefault |
Destructor.
|
protected |
Compute the characteristic length.
Definition at line 37 of file betaMax.C.
References dict, Foam::endl(), forAll, dictionary::get(), Foam::Info, markProcessorEdges(), mesh_, Foam::nl, points, dictionary::readIfPresent(), Foam::reduce(), Foam::returnReduce(), Foam::sum(), Foam::type(), and Foam::Zero.
Referenced by betaMaxDarcy::betaMaxDarcy(), and betaMaxReynoldsDarcy::betaMaxReynoldsDarcy().


|
protected |
Mark all common inlet - processor edges.
Definition at line 122 of file betaMax.C.
References e, PrimitivePatch< FaceList, PointField >::edges(), HashTable< T, Key, Hash >::find(), HashTable< T, Key, Hash >::insert(), HashTable< T, Key, Hash >::lookup(), mesh_, PrimitivePatch< FaceList, PointField >::meshPoints(), PrimitivePatch< FaceList, PointField >::nEdges(), PrimitivePatch< FaceList, PointField >::nInternalEdges(), pbm, and syncTools::syncEdgeMap().
Referenced by computeLength().


| TypeName | ( | "betaMax" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , |
| betaMax | , | ||
| dictionary | , | ||
| (const fvMesh &mesh, const dictionary &dict) | , | ||
| (mesh, dict) | ) |
|
static |
Construct and return the selected betaMax model.
Definition at line 219 of file betaMax.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, and mesh.

|
virtual |
Get value.
Reimplemented in betaMaxStepRamp.
Definition at line 248 of file betaMax.C.
References value_.
Referenced by betaMaxDarcy::betaMaxDarcy().

|
protected |
Reference to mesh.
Definition at line 73 of file betaMax.H.
Referenced by betaMax(), computeLength(), markProcessorEdges(), and betaMaxStepRamp::value().
|
protected |
betaMax value
Definition at line 78 of file betaMax.H.
Referenced by betaMax(), betaMaxDarcy::betaMaxDarcy(), betaMaxReynoldsDarcy::betaMaxReynoldsDarcy(), value(), and betaMaxStepRamp::value().