Skip to content

Commit 15130a0

Browse files
committed
fixed GUI elastic properties bug
1 parent 27e4c3c commit 15130a0

4 files changed

+1
-4
lines changed

pyauxetic/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def main_gui_proxy(**kwargs):
303303
if run_analysis:
304304
# Define material_params.
305305
if kwargs['material_type'] == 'Elastic':
306-
material_params = MaterialParams(elastic = kwargs['material_elastic_table'])
306+
material_params = MaterialParams(elastic = kwargs['material_elastic_table'][0])
307307
elif kwargs['material_type'] == 'Hyperelastic - Ogden':
308308
material_params = MaterialParams(hyperelastic = ('ogden', kwargs['material_stress_strain_table']))
309309
elif kwargs['material_type'] == 'Hyperelastic - Marlow':

sample scripts/reentrant2d_planar_shell batch.py

-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
save_cae = True,
7373
save_odb = True,
7474
save_job_files = True,
75-
export_extrusion_depth = 5.0 ,
7675
export_ribbon_width = 4.0 ,
7776
export_stl = True,
7877
export_stp = True

sample scripts/reentrant2d_planar_shell nonuniform.py

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
save_cae = True,
8484
save_odb = True,
8585
save_job_files = True,
86-
export_extrusion_depth = 5.0 ,
8786
export_ribbon_width = 4.0 ,
8887
export_stl = True,
8988
export_stp = True

sample scripts/reentrant2d_planar_shell uniform.py

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
save_cae = True,
7575
save_odb = True,
7676
save_job_files = True,
77-
export_extrusion_depth = 5.0 ,
7877
export_ribbon_width = 4.0 ,
7978
export_stl = True,
8079
export_stp = True

0 commit comments

Comments
 (0)