femo_alpha.rm_shell.rm_shell_model

Module Contents

Classes

AggregatedStressModel

Compute the aggregated stress

DisplacementExtractionModel

Extract and reshape displacement vector into matrix

ForceReshapingModel

Reshape force matrix to vector

RMShellModel

class femo_alpha.rm_shell.rm_shell_model.AggregatedStressModel(m: float, rho: int)

Compute the aggregated stress

evaluate(pnorm_stress: csdl_alpha.Variable)
class femo_alpha.rm_shell.rm_shell_model.DisplacementExtractionModel(shell_pde: femo_alpha.rm_shell.rm_shell_pde.RMShellPDE)

Extract and reshape displacement vector into matrix

evaluate(disp_vec: csdl_alpha.Variable)
class femo_alpha.rm_shell.rm_shell_model.ForceReshapingModel(shell_pde: femo_alpha.rm_shell.rm_shell_pde.RMShellPDE)

Reshape force matrix to vector

evaluate(nodal_force_mat: csdl_alpha.Variable)
class femo_alpha.rm_shell.rm_shell_model.RMShellModel(mesh: dolfinx.mesh, shell_bc_func: callable = None, element_wise_material=False, rho=100, PENALTY_BC=True, additional_outputs=None, mesh_tags=None, record=True, elementwise_pressure=False)
evaluate(force_vector: csdl_alpha.Variable, thickness: csdl_alpha.Variable, E: csdl_alpha.Variable, nu: csdl_alpha.Variable, density: csdl_alpha.Variable, node_disp: csdl_alpha.Variable = None, debug_mode=False, is_pressure=True) csdl_alpha.VariableGroup
evaluate_modal_fea(shell_pde, E_val, nu_val, h_val, density_val)
set_up_bcs(bc_locs_func, PENALTY_BC)

Set up the boundary conditions for the shell model and the tip displacement ** helper function for aircraft optimization with clamped root bc **

set_up_fea()

Set up the FEMO FEA model for RM shell analysis

set_up_subdomains(mesh_tags)

Convert mesh tags to dolfinx mesh tags and set up the measure. Creates self.dxx, which is a dolfinx mesh tag measure for the shell model. Also creates self.association_table, which is a dictionary that maps the meshtag indices to the input tags.