Compare commits
No commits in common. "49e6de207b1268d43645a801f496c7071738a4a1" and "b24c48b6e386a1fbf3bb3f1976face4fae26699e" have entirely different histories.
49e6de207b
...
b24c48b6e3
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
corrector/data/checkpoint/0/u.h5
Normal file
BIN
corrector/data/checkpoint/0/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/1/u.h5
Normal file
BIN
corrector/data/checkpoint/1/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/10/u.h5
Normal file
BIN
corrector/data/checkpoint/10/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/11/u.h5
Normal file
BIN
corrector/data/checkpoint/11/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/12/u.h5
Normal file
BIN
corrector/data/checkpoint/12/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/13/u.h5
Normal file
BIN
corrector/data/checkpoint/13/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/14/u.h5
Normal file
BIN
corrector/data/checkpoint/14/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/15/u.h5
Normal file
BIN
corrector/data/checkpoint/15/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/16/u.h5
Normal file
BIN
corrector/data/checkpoint/16/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/17/u.h5
Normal file
BIN
corrector/data/checkpoint/17/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/18/u.h5
Normal file
BIN
corrector/data/checkpoint/18/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/19/u.h5
Normal file
BIN
corrector/data/checkpoint/19/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/2/u.h5
Normal file
BIN
corrector/data/checkpoint/2/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/20/u.h5
Normal file
BIN
corrector/data/checkpoint/20/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/21/u.h5
Normal file
BIN
corrector/data/checkpoint/21/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/22/u.h5
Normal file
BIN
corrector/data/checkpoint/22/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/23/u.h5
Normal file
BIN
corrector/data/checkpoint/23/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/24/u.h5
Normal file
BIN
corrector/data/checkpoint/24/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/3/u.h5
Normal file
BIN
corrector/data/checkpoint/3/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/4/u.h5
Normal file
BIN
corrector/data/checkpoint/4/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/5/u.h5
Normal file
BIN
corrector/data/checkpoint/5/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/6/u.h5
Normal file
BIN
corrector/data/checkpoint/6/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/7/u.h5
Normal file
BIN
corrector/data/checkpoint/7/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/8/u.h5
Normal file
BIN
corrector/data/checkpoint/8/u.h5
Normal file
Binary file not shown.
BIN
corrector/data/checkpoint/9/u.h5
Normal file
BIN
corrector/data/checkpoint/9/u.h5
Normal file
Binary file not shown.
57
corrector/input/corrector.yaml
Normal file
57
corrector/input/corrector.yaml
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
mesh: './mesh/volunteer.h5'
|
||||||
|
density: 1.06
|
||||||
|
dynamic_viscosity: 0.038
|
||||||
|
|
||||||
|
io:
|
||||||
|
write_path: './results'
|
||||||
|
write_xdmf: True
|
||||||
|
write_timeseries: false
|
||||||
|
write_checkpoint: True
|
||||||
|
log: false
|
||||||
|
|
||||||
|
postprocessing:
|
||||||
|
enabled: false
|
||||||
|
debug_xdmf: false
|
||||||
|
pressure_drop:
|
||||||
|
method: boundaries # slices, boundaries, spheres
|
||||||
|
boundaries: [2,3]
|
||||||
|
slices:
|
||||||
|
-
|
||||||
|
spheres:
|
||||||
|
-
|
||||||
|
timeseries:
|
||||||
|
# FOR ALL THAT IS LOVED & HOLY, do not put the .h5 file extension here!
|
||||||
|
|
||||||
|
measurements:
|
||||||
|
- 'all'
|
||||||
|
- './data/'
|
||||||
|
|
||||||
|
dt: 0.0343
|
||||||
|
pressure_checkpoints:
|
||||||
|
|
||||||
|
|
||||||
|
methods:
|
||||||
|
- COR
|
||||||
|
|
||||||
|
COR:
|
||||||
|
time_schemes:
|
||||||
|
- implicit
|
||||||
|
fix_const: 2 # 0: false, 1: substract zero_point, 2: nullspace, 3: both
|
||||||
|
convection_schemes:
|
||||||
|
- standard
|
||||||
|
zero_point:
|
||||||
|
boundary_type: 'dirichlet'
|
||||||
|
theta: 1.0
|
||||||
|
solver:
|
||||||
|
type: 'newton'
|
||||||
|
max_iteration: 30
|
||||||
|
tol: 1e-7
|
||||||
|
mode: 'auto'
|
||||||
|
reynolds_continuation:
|
||||||
|
enabled: true
|
||||||
|
Nfrac: {20: 'normal' , 50: [1,2,3,4,5,6] }
|
||||||
|
fe_space: P2P1
|
||||||
|
stabilization_parameter: 0.01
|
||||||
|
compute_norms: false
|
||||||
|
linear_solver:
|
||||||
|
method: mumps
|
BIN
corrector/mesh/volunteer.h5
Normal file
BIN
corrector/mesh/volunteer.h5
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
30
corrector/run_estimate.py
Normal file
30
corrector/run_estimate.py
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
import sys
|
||||||
|
import logging
|
||||||
|
import os.path
|
||||||
|
from dolfin import *
|
||||||
|
from dPdirectestim.dPdirectestim import *
|
||||||
|
|
||||||
|
|
||||||
|
logging.getLogger().setLevel(logging.INFO)
|
||||||
|
#set_log_level(PROGRESS)
|
||||||
|
|
||||||
|
parameters['form_compiler']['optimize'] = True
|
||||||
|
parameters['form_compiler']['cpp_optimize'] = True
|
||||||
|
parameters['form_compiler']['cpp_optimize_flags'] = \
|
||||||
|
'-O3 -ffast-math -march=native'
|
||||||
|
|
||||||
|
if len(sys.argv) > 1 and os.path.exists(sys.argv[1]):
|
||||||
|
inpfile = sys.argv[1]
|
||||||
|
print('Found input file ' + inpfile)
|
||||||
|
else:
|
||||||
|
raise Exception('No input file given')
|
||||||
|
|
||||||
|
estimator = DPDirectEstim(inpfile)
|
||||||
|
|
||||||
|
estimator.estimate()
|
||||||
|
|
||||||
|
|
||||||
|
if '2019' in dolfin.__version__:
|
||||||
|
list_timings(TimingClear.clear, [TimingType.wall])
|
||||||
|
else:
|
||||||
|
list_timings(TimingClear_clear, [TimingType_wall])
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 310 KiB |
Binary file not shown.
Before Width: | Height: | Size: 290 KiB |
Binary file not shown.
Loading…
Reference in New Issue
Block a user