Skip to content
Snippets Groups Projects
Commit 24454990 authored by Adrien Crovato's avatar Adrien Crovato
Browse files

Adapt to TACS API

parent 545f92e2
No related branches found
No related tags found
1 merge request!1Version 1.1
Pipeline #48245 failed
......@@ -77,12 +77,6 @@ def tacs_cfg(n_mod):
transform = elements.ShellRefAxisTransform(np.array([np.sqrt(2), np.sqrt(2), 0.0]))
return elements.Quad4Shell(transform, con)
# Modal problem parameters
modal_cfg = {
'num_modes': n_mod,
'sigma': 1.
}
# Various pyTACS options
options = {
'printtiming': True
......@@ -91,7 +85,8 @@ def tacs_cfg(n_mod):
return {
'mesh_file': get_path('agard445.bdf'),
'element_callback': element_callback,
'problem_cfg': modal_cfg,
'num_modes': n_mod,
'sigma': 1.,
'pytacs_options': options,
'write_solution': False
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment