Computes the Brickmann penalization function for topO optimisation, proposed by Borrvall and Petersson. More...
#include <BorrvallPeterssonInterpolation.H>


Public Member Functions | |
| TypeName ("BorrvallPetersson") | |
| Runtime type information. | |
| BorrvallPeterssonInterpolation (const fvMesh &mesh, const dictionary &dict) | |
| Construct from components. | |
| virtual | ~BorrvallPeterssonInterpolation ()=default |
| Destructor. | |
| virtual void | interpolate (const scalarField &arg, scalarField &res) const |
| Interpolate argument and write to result. | |
| virtual tmp< scalarField > | derivative (const scalarField &arg) const |
| Return of function with respect to the argument field. | |
| Public Member Functions inherited from topOInterpolationFunction | |
| TypeName ("topOInterpolationFunction") | |
| Runtime type information. | |
| declareRunTimeSelectionTable (autoPtr, topOInterpolationFunction, dictionary,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
| topOInterpolationFunction (const fvMesh &mesh, const dictionary &dict) | |
| Construct from components. | |
| virtual | ~topOInterpolationFunction ()=default |
| Destructor. | |
| virtual void | setLengthScaleParam (const scalar lengthScale) |
| Set the parameter determining length scale. | |
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. | |
| Protected Attributes inherited from topOInterpolationFunction | |
| const fvMesh & | mesh_ |
| dictionary | dict_ |
Computes the Brickmann penalization function for topO optimisation, proposed by Borrvall and Petersson.
Reference:
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 41 of file BorrvallPeterssonInterpolation.C.
References dict, mesh, and topOInterpolationFunction::New().

|
virtualdefault |
Destructor.
|
virtual |
Interpolate argument and write to result.
Implements topOInterpolationFunction.
Definition at line 54 of file BorrvallPeterssonInterpolation.C.
References b, DebugInfo, Foam::endl(), topOInterpolationFunction::mesh_, and Foam::type().

|
virtual |
Return of function with respect to the argument field.
Implements topOInterpolationFunction.
Definition at line 71 of file BorrvallPeterssonInterpolation.C.
References b, DebugInfo, Foam::endl(), topOInterpolationFunction::mesh_, tmp< T >::New(), tmp< T >::ref(), UList< T >::size(), Foam::sqr(), Foam::type(), and Foam::Zero.
