femo_alpha.dynamic_rm_shell.plate_sim

Module Contents

Classes

BC_list

Setting Dirichlet boundary condition

PlateSim

Implements St. Venant--Kirchhoff constitutive model for

Functions

extractTipDispDolfinx(w[, x_tip, cell_tip])

Attributes

comm

class femo_alpha.dynamic_rm_shell.plate_sim.BC_list(W_space, direction=0, custom_bc_func=None)

Bases: object

Setting Dirichlet boundary condition

return_affected_dof_tuple()
return_bc_list()
class femo_alpha.dynamic_rm_shell.plate_sim.PlateSim(mesh, E, nu, rho, dt, Nsteps, element_wise_thickness=False, custom_bc_func=None, add_self_weight=False, g_factor=None, quad_deg=3, comm=MPI.COMM_WORLD)

Bases: object

Implements St. Venant–Kirchhoff constitutive model for isogeometric shell.

SVK_residual()
assembleStrainEnergy(w)
compute_solution_vectors_at_time(disp_arr, i, backwards_timestepping=False)
compute_wdot_vector_at_time_n(w_arr)
constructStrainEnergy(w)
construct_CG2_CG1_interpolation_map()
construct_disp_extraction_mats()
construct_force_to_pressure_map()
construct_nodal_disp_map()
create_mat_from_form(inp_form, apply_bcs=False)
dRdt(svk_res, w_cur, w_old, wdot_old, adjoint=True)
dRdw(svk_res, w_cur, w_old, wdot_old, adjoint=True)

This function assembles the derivative matrix dR/dw, where R is the residual vector of all time steps and w contains all displacements and rotations. Inputs: w_cur: Solution vector at current time step w_old: Solution vector at previous time step wdot: Solution time derivative at current time step

dRdwdot(svk_res, w_cur, w_old, wdot_old)
eval_fe_basis_all_dolfinx(x, dofmap_adjacencylist, mesh_bbt, basix_element, x_idx, mat_shape)
pnorm_stress(m=1e-06, rho=100, alpha=None, regularization=False)

Compute the p-norm of the stress rho is the Constraint aggregation factor

reset_solution_vectors()
static set_solution_vector(func_obj, arr)
set_solution_vectors_for_adjoint(w, w_old, wdot_old)
set_up_tip_dofs(x_tip, cell_tip)
solve_dynamic_problem(residual, saving_outputs=False, PATH=None, POD_matrix=None, POD_mean=None, timing=False)
update_f(f_array)
update_f_history(f_history_array)
update_materialmodel()
update_nsteps(Nsteps)
update_t(t_array)
update_wdot_vector_at_time(w_vec, w_old_vec, wdot_old_vec)
update_wdot_vector_at_time_reverse(w_vec, w_old_vec, wdot_vec)
von_Mises_stress()
wdot_vector()
femo_alpha.dynamic_rm_shell.plate_sim.extractTipDispDolfinx(w, x_tip=[10.0, 0.0, 0.0], cell_tip=18)
femo_alpha.dynamic_rm_shell.plate_sim.comm