diff --git a/models/Panthera_pardus/Panthera_pardus_RC_30.py b/models/Panthera_pardus/Panthera_pardus_RC_30.py index 94832ddb075d81ed486f08fc497e5f95f330c7ab..891dca0cd4c6a7f4fc97b098c9346df97f1d6f89 100644 --- a/models/Panthera_pardus/Panthera_pardus_RC_30.py +++ b/models/Panthera_pardus/Panthera_pardus_RC_30.py @@ -60,6 +60,8 @@ def parms(d={}): p['Young'] = 18000. # [MPa] p['Poisson'] = 0.3 # [-] + # p['use_gmshOld'] = True + p.update(d) return p diff --git a/models/boneload.py b/models/boneload.py index 59b919b01fb4183c014fcdadebfa6f9121d1fbda..e69afec118487e49eb57721992925a499564b6ae 100644 --- a/models/boneload.py +++ b/models/boneload.py @@ -168,7 +168,7 @@ def identify_nodes_brutal(coords, all_no, all_coords, eps=1e-3): cpu_stop = time.perf_counter() # print stats - print(f'identify_nodes_brutal done in {cpu_stop-cpu_start} seconds') + print(f'identify_nodes_brutal done in {cpu_stop-cpu_start:.2f} seconds') if(len(notfound) != 0): print('WARNING: these nodes have not been identified:') @@ -248,7 +248,7 @@ def identify_nodes_SaP(coords, all_no, all_coords, eps=1e-3): cpu_stop = time.perf_counter() # print stats - print(f'sweep and prune done in {cpu_stop-cpu_start} seconds') + print(f'sweep and prune done in {cpu_stop-cpu_start:.2f} seconds') print(f'({ntests} tests instead of {len(coords)*len(all_coords)})') print(f'{len(coords)} to be identified') print(f'{len(ntags)} successfully identified') diff --git a/models/bonemodel.py b/models/bonemodel.py index 120258b7a1d075763183145df587715914ee9285..1652645bc263f4c967b6a938c3d19e2d137f774e 100644 --- a/models/bonemodel.py +++ b/models/bonemodel.py @@ -69,7 +69,7 @@ def parms(d={}): p['dt0'] = 1.0 # [s] time step size # gmsh toolbox - p['use_gmshOld'] = True # use old gmsh interface + p['use_gmshOld'] = False # use old gmsh interface p.update(d) return p diff --git a/models/dolicorhynchops/dolicorhynchops_149k.py b/models/dolicorhynchops/dolicorhynchops_149k.py index 7ee91279fdbe7acda0c6d6146dfa0c943e172a7d..ee24fa77b8e00f966c3cbe134564219839e48586 100644 --- a/models/dolicorhynchops/dolicorhynchops_149k.py +++ b/models/dolicorhynchops/dolicorhynchops_149k.py @@ -36,6 +36,8 @@ def parms(d={}): p['Young'] = 20000. # [MPa] p['Poisson'] = 0.3 # [-] + # p['use_gmshOld'] = True + p.update(d) return p