Computes the Brickmann penalization function for topO optimisation, proposed by Borrvall and Petersson. More...
Public Member Functions | |
TypeName ("BorrvallPetersson") | |
Runtime type information. More... | |
BorrvallPeterssonInterpolation (const fvMesh &mesh, const dictionary &dict) | |
Construct from components. More... | |
virtual | ~BorrvallPeterssonInterpolation ()=default |
Destructor. More... | |
virtual void | interpolate (const scalarField &arg, scalarField &res) const |
Interpolate argument and write to result. More... | |
virtual tmp< scalarField > | derivative (const scalarField &arg) const |
Return of function with respect to the argument field. More... | |
Public Member Functions inherited from topOInterpolationFunction | |
TypeName ("topOInterpolationFunction") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, topOInterpolationFunction, dictionary,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
topOInterpolationFunction (const fvMesh &mesh, const dictionary &dict) | |
Construct from components. More... | |
virtual | ~topOInterpolationFunction ()=default |
Destructor. More... | |
virtual void | setLengthScaleParam (const scalar lengthScale) |
Set the parameter determining length scale. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from topOInterpolationFunction | |
static autoPtr< topOInterpolationFunction > | New (const fvMesh &mesh, const dictionary &dict) |
Return an autoPtr to the selected interpolation type. More... | |
Protected Attributes inherited from topOInterpolationFunction | |
const fvMesh & | mesh_ |
dictionary | dict_ |
Computes the Brickmann penalization function for topO optimisation, proposed by Borrvall and Petersson.
Borrvall, T., & Petersson, J. (2002). TopO optimization of fluids in Stokes flow. International Journal for Numerical Methods in Fluids, 41(1), 77-107. https://doi.org/10.1002/fld.426
Definition at line 56 of file BorrvallPeterssonInterpolation.H.
BorrvallPeterssonInterpolation | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from components.
Definition at line 42 of file BorrvallPeterssonInterpolation.C.
|
virtualdefault |
Destructor.
TypeName | ( | "BorrvallPetersson" | ) |
Runtime type information.
|
virtual |
Interpolate argument and write to result.
Implements topOInterpolationFunction.
Definition at line 55 of file BorrvallPeterssonInterpolation.C.
References Foam::constant::physicoChemical::b, DebugInfo, and Foam::endl().
|
virtual |
Return of function with respect to the argument field.
Implements topOInterpolationFunction.
Definition at line 71 of file BorrvallPeterssonInterpolation.C.
References Foam::constant::physicoChemical::b, DebugInfo, Foam::endl(), topOInterpolationFunction::mesh_, tmp< T >::ref(), UList< T >::size(), Foam::sqr(), fvMesh::time(), TimeState::timeOutputValue(), Foam::type(), and Foam::Zero.