Computes the Brickmann penalization function for topology optimisation, relying on tanh functions and proposed in. More...
#include <tanhInterpolation.H>


Public Member Functions | |
| TypeName ("tanh") | |
| Runtime type information. | |
| tanhInterpolation (const fvMesh &mesh, const dictionary &dict) | |
| Construct from components. | |
| virtual | ~tanhInterpolation ()=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. | |
| virtual void | setLengthScaleParam (const scalar lengthScale) |
| Set the parameter determining length scale. | |
| 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. | |
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 topology optimisation, relying on tanh functions and proposed in.
Reference:
Wang, F., Lazarov, B., Sigmund, O.(2011).
On projection methods, convergence and robust formulations in topO
optimization.
Structural and Multidisciplinary Optimization 43(6), 767–784.
https://doi:10.1007/s00158-010-0602-y
Definition at line 58 of file tanhInterpolation.H.
| tanhInterpolation | ( | const fvMesh & | mesh, |
| const dictionary & | dict ) |
Construct from components.
Definition at line 41 of file tanhInterpolation.C.
References dict, mesh, and topOInterpolationFunction::New().

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

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

|
virtual |
Set the parameter determining length scale.
Reimplemented from topOInterpolationFunction.
Definition at line 95 of file tanhInterpolation.C.