Skip to content
Snippets Groups Projects
Commit 223eeb21 authored by jonathan.froehlich's avatar jonathan.froehlich
Browse files

updated python

parent f66c49b1
No related branches found
No related tags found
1 merge request!153Local add output info
......@@ -84,7 +84,7 @@ def modifyJobskript(name, degree, logfolder,penalty, args):
if mat=='Holzapfel' and degree > 1:
args.update({'ReferenceLevel': '3'})
else:
args.update({'ReferenceLevel': '4'})
args.update({'ReferenceLevel': '3'})
args.update({'DGPenalty': penalty})
filename = name + '_' + mat.lower() + '_p' + str(degree) + 'DG' + str(penalty)
jobname = args['MechProblem'] + mat + 'P' + str(degree) + 'DG' + str(penalty)
......@@ -131,6 +131,18 @@ def elliposid_jobs(mesh, run_jobs=False):
'NewtonDamping': '0.75'
}
]
arglists3 = [
{
'ActiveMaterial': 'Holzapfel',
'QuasiCompressiblePenalty': 'Ciarlet',
'DGSign': '-1',
'DGPenalty': '700',
'Overlap': 'dG1',
'Overlap_Distribution': '1',
'InterpolateStartVector': 'false',
'NewtonDamping': '0.75'
}
]
penalty1 = {'20'}
for d in range(1,3):
for arglist1 in arglists1:
......@@ -150,6 +162,15 @@ def elliposid_jobs(mesh, run_jobs=False):
if run_jobs:
print('running job', jobname)
os.system('sbatch ' + jobname)
penalty3 = {'700'}
for d in range(1,3):
for arglist3 in arglists3:
arglist3.update({"MechProblem": mesh})
for p3 in penalty3:
jobname = modifyJobskript('run_'+mesh.lower() + 'DG', d, '../data/benchmarks/', p3, arglist3)
if run_jobs:
print('running job', jobname)
os.system('sbatch ' + jobname)
......
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