Class for defining element properties for the structural solver.
More...
#include <CElementProperty.hpp>
|
| | CElementProperty (unsigned long valMat_Model, unsigned long valMat_Prop, unsigned long valElectric_Prop, unsigned long valDV, su2double valDensity=1.0) |
| | Constructor of the class.
|
| |
| | ~CElementProperty (void) override |
| | Destructor of the class.
|
| |
| unsigned long | GetMat_Mod (void) const override |
| | Get the material model to use for the element.
|
| |
| unsigned long | GetElectric_Prop (void) const override |
| | Get index of the electric properties.
|
| |
| unsigned long | GetDV (void) const override |
| | Get index of the design variable.
|
| |
| void | SetDesignDensity (su2double valDensity) override |
| | Set the Design density (topology optimization variable).
|
| |
| su2double | GetDesignDensity (void) const override |
| | Get the value of the Design density.
|
| |
| void | SetPhysicalDensity (su2double valDensity) override |
| | Set the Physical density (used to penalize element stiffness by the FEM solver).
|
| |
| su2double | GetPhysicalDensity (void) const override |
| | Get the value of the Physical density.
|
| |
| su2double | GetAdjointDensity (void) override |
| | Extract the derivative of the Design density.
|
| |
| void | RegisterDensity (void) override |
| | Register the Design density as an AD input variable.
|
| |
| | CProperty (unsigned long valMat_Prop) |
| | Constructor of the class.
|
| |
| virtual | ~CProperty (void) |
| | Destructor of the class.
|
| |
| unsigned long | GetMat_Prop (void) const |
| | Get index of the physical properties.
|
| |
|
| unsigned long | iMat_Prop = 0 |
| | Index of the properties (E, Nu) for the structural model used.
|
| |
Class for defining element properties for the structural solver.
- Author
- R. Sanchez
- Version
- 8.5.0 "Harrier"
◆ CElementProperty()
| CElementProperty::CElementProperty |
( |
unsigned long |
valMat_Model, |
|
|
unsigned long |
valMat_Prop, |
|
|
unsigned long |
valElectric_Prop, |
|
|
unsigned long |
valDV, |
|
|
su2double |
valDensity = 1.0 |
|
) |
| |
|
inline |
Constructor of the class.
- Parameters
-
| [in] | valMat_Model | - Type of material model (i.e. numerics) for the element, see FEA_TERM etc. in option_structure.hpp. |
| [in] | valMat_Prop | - Index of the physical properties (E,nu,rho,rho_dead_load) assigned to the element. |
| [in] | valElectric_Prop | - Index of the electric properties. |
| [in] | valDV | - Index of the design variable assigned to the element (bound to a material property by "DESIGN_VARIABLE_FEA"). |
| [in] | valDensity | - Value for Design and Physical densities (topology optimization variables). |
◆ ~CElementProperty()
| CElementProperty::~CElementProperty |
( |
void |
| ) |
|
|
inlineoverride |
◆ GetAdjointDensity()
| su2double CElementProperty::GetAdjointDensity |
( |
void |
| ) |
|
|
inlineoverridevirtual |
Extract the derivative of the Design density.
Reimplemented from CProperty.
◆ GetDesignDensity()
| su2double CElementProperty::GetDesignDensity |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Get the value of the Design density.
Reimplemented from CProperty.
◆ GetDV()
| unsigned long CElementProperty::GetDV |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Get index of the design variable.
Reimplemented from CProperty.
◆ GetElectric_Prop()
| unsigned long CElementProperty::GetElectric_Prop |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Get index of the electric properties.
Reimplemented from CProperty.
◆ GetMat_Mod()
| unsigned long CElementProperty::GetMat_Mod |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Get the material model to use for the element.
Reimplemented from CProperty.
◆ GetPhysicalDensity()
| su2double CElementProperty::GetPhysicalDensity |
( |
void |
| ) |
const |
|
inlineoverridevirtual |
Get the value of the Physical density.
Reimplemented from CProperty.
◆ RegisterDensity()
| void CElementProperty::RegisterDensity |
( |
void |
| ) |
|
|
inlineoverridevirtual |
Register the Design density as an AD input variable.
Reimplemented from CProperty.
◆ SetDesignDensity()
| void CElementProperty::SetDesignDensity |
( |
su2double |
valDensity | ) |
|
|
inlineoverridevirtual |
Set the Design density (topology optimization variable).
Reimplemented from CProperty.
◆ SetPhysicalDensity()
| void CElementProperty::SetPhysicalDensity |
( |
su2double |
valDensity | ) |
|
|
inlineoverridevirtual |
Set the Physical density (used to penalize element stiffness by the FEM solver).
Reimplemented from CProperty.
The documentation for this class was generated from the following file: