update_gauge module
Modules for updating structural gauge based on Maring of safety
- Revision:
1.0.0 $Date: 25/01/2023 18:21$
- History:
1.0.0 - Initial Module Creation
Todo:
- update_gauge.update_gauge(gauge, ms, beta, gauge_min, gauge_max, mstar)[source]
update gauge
\begin{gather} g^{k+1} = g^{k} \left(\frac{1.0 + \overline{MS}}{1.0+MS^{k}}\right) ^ \beta \end{gather}- Parameters
gauge (float) – structural gauge at current step
ms (float) – minimum margin of safety
beta (float) – overcorrection rate
gauge_min (float) – minimum value of structural gauge
gauge_max (float) – maximum value of structural gauge
mstar (float) – target value of margin of safety
- Returns
structural gauge at next step
- Return type
gauge_next (float)
Documentation last updated: Jan. 24, 2023 - Shugo Date
- update_gauge.main()[source]
main sequence
- Procedure:
read BDF, minimum MS, current gauge
check convergence
update gauge if convergence is not achieved
export next gauge
- Input files:
‘mesh_property_load_gauge.bdf’ (ASCII): bulk data of structural mesh
‘gauge_shell.csv’ (ASCII): thickness of each shell property
‘gauge_rod.csv’ (ASCII): are of each rod property
‘gauge_minmax.csv’ (ASCII): lower and upper limit of structural gauge
- Output files:
‘gauge_shell.csv’ (ASCII): thickness of each shell property
‘gauge_rod.csv’ (ASCII): area of each rod property
‘gauge_shell.hdf5’ (binary): history of shell thickness
‘gauge_rod.hdf5’ (binary): history of rod area
‘check.hdf5’ (binary): history of gauge, ms, bool
‘sizing_bool.hdf5’ (binary): history of convergence
- Parameters
None –
- Returns
None
Documentation last updated: Jan. 24, 2023 - Shugo Date