From b24c48b6e386a1fbf3bb3f1976face4fae26699e Mon Sep 17 00:00:00 2001 From: jeremias Date: Fri, 17 Jan 2020 16:26:16 +0100 Subject: [PATCH] inputs --- input/Graphics_input.yaml | 63 ++++++++++++++ input/PostCheck_input.yaml | 80 ++++++++++++++++++ input/aorta.yaml | 138 +++++++++++++++++++++++++++++++ input/aorta_roukf.yaml | 131 +++++++++++++++++++++++++++++ input/cfd_input.yaml | 50 ++++++++++++ input/mri_input.yaml | 163 +++++++++++++++++++++++++++++++++++++ 6 files changed, 625 insertions(+) create mode 100755 input/Graphics_input.yaml create mode 100755 input/PostCheck_input.yaml create mode 100755 input/aorta.yaml create mode 100755 input/aorta_roukf.yaml create mode 100755 input/cfd_input.yaml create mode 100755 input/mri_input.yaml diff --git a/input/Graphics_input.yaml b/input/Graphics_input.yaml new file mode 100755 index 0000000..a57b9da --- /dev/null +++ b/input/Graphics_input.yaml @@ -0,0 +1,63 @@ +################################################# +# +# Input file for Graphics +# +################################################# +ppecol: 'coral' +stecol: 'yellowgreen' +daecol: 'cyan' +corcol: 'indigo' +refcol: 'black' + +dP: + apply: false + data: '/home/yeye/Desktop/dP/results/11AoCoPhantomRest2/R1/testBF/' + R: [1] + #catheter: '/home/yeye/Desktop/PhD/MEDICAL_DATA/DatosSEPT2019/Phantom_catheter/cat9mm_Stress/pressure_drop.npz' + catheter: 'None' + #factors: [130,90,1.58,-0.03,0] # 9mm Rest [x0,x1,a,b,theta] + #factors: [52,35,0.9,0.05,0] # 9mm Stress [x0,x1,a,b,theta] + #factors: [162,90,1.67,0.03,0] # 11mm Rest [x0,x1,a,b,theta] + mode: 'cib' + estim: ['PPE','STE','COR'] + save: True + name: '/home/yeye/Desktop/11AoCoPhantomRest2_BF.png' + +Histograms: + apply: false + outpath: '/home/yeye/Desktop/' + colors: + 0: 'orangered' + 1: 'lime' + 2: 'dodgerblue' + meshnames: + 0: 'coaortaH1' + 1: 'coaortaRH2' + 2: 'coaortaRH3' + paths: + 0: '/home/yeye/Desktop/PhD/AORTA/MESH/coaorta/H1/' + 1: '/home/yeye/Desktop/PhD/AORTA/MESH/coaorta/H2/' + 2: '/home/yeye/Desktop/PhD/AORTA/MESH/coaorta/H3/' + +HistCorrector: + apply: false + errors: '/home/yeye/Desktop/testH/H2/errors.dat' + outpath: '/home/yeye/Desktop/h2_160.png' + +Error-curves: + apply: false + norm: 2 + folder: '/home/yeye/Desktop/First/' + resol: ['H2'] + mode: ['meas','corrs'] + times: ['30ms'] + colors: ['orangered','lime','dodgerblue'] + outpath: '/home/yeye/Desktop/' + +Components: + apply: True + folder: '/home/yeye/Desktop/Corrector_2019/figures/Errorcurves/' + subfolders: ['11mm','13mm','Normal'] + type: ['mean','max'] + colors: ['orangered','lime','dodgerblue'] + outpath: '/home/yeye/Desktop/' \ No newline at end of file diff --git a/input/PostCheck_input.yaml b/input/PostCheck_input.yaml new file mode 100755 index 0000000..5efb529 --- /dev/null +++ b/input/PostCheck_input.yaml @@ -0,0 +1,80 @@ +################################################# +# +# Input file for the checkpoint postprocessing +# +################################################# +Corrector: + apply: false + mode: 'colormap' # h5 , histogram, colormap + outpath: '/home/yeye/Desktop/Corrector_2019/figure3/11mm/' + mesh_path: '/home/yeye/Desktop/Corrector_2019/meshes/11AoCoPhantomRest2.h5' + u_path: '/home/yeye/Desktop/Corrector_2019/First/meas/11mmAoCo2/' + w_path: '/home/yeye/Desktop/Corrector_2019/First/corrector/11mmAoCo2/' + wname: 'w_COR_impl_stan' + uname: 'u' + dt: 0.03072 + +Velocity: + apply: false + mesh_path: '/home/yeye/Desktop/Corrector_2019/meshes/NormalAoCoPhantomRest2.h5' + checkpoint: '/home/yeye/Desktop/Corrector_2019/First/meas/NormalAoCo2/' + undersampling: 1 + dt: 0.03072 + filename: 'u' + +Estim_Pressure: + apply: false + filename: 'p_COR_impl_stan' + outpath: '/home/yeye/Desktop/dP/results/11AoCoPhantomRest2/R1/testBF/' + method: spheres # slices, boundaries, spheres + dt: 0.03072 + boundaries: [2,3] + spheres: + - center: [0.09, 0.093, 0.08] # 11mm + #- center : [0.08, 0.09, 0.08] + #- center : [0.093, 0.09, 0.085] # Normal + radius: 0.005 + Npts: 32 + - center: [0.134, 0.135, 0.026] # 11mm + #- center : [0.125, 0.135, 0.025] # 13 mm + #- center : [0.13, 0.14, 0.03] # Normal + radius: 0.005 + Npts: 32 + +Outlet_Wind: + apply: false + mesh_path: '/home/yeye/NavierStokes/examples/meshes/aorta.h5' + checkpoint: '/home/yeye/NavierStokes/examples/results/aorta/' + filename: ['u','p'] + bnds: [3,4,5,6] + out_path: '/home/yeye/NavierStokes/examples/results/aorta/' + +Error-curves: + apply: true + dt: 0.03072 + type: ['mean','max'] + meshpath: '/home/yeye/Desktop/Corrector_2019/meshes/NormalAoCoPhantomRest1.4.h5' + ref_check: '/home/yeye/Desktop/Corrector_2019/I/meas/NormalRest1.4/R1/' + ref_name: 'u' + undersampling: 1 + com_check: '/home/yeye/Desktop/Corrector_2019/I/corrector/NormalRest1.4/' + com_name: 'w_COR_impl_stan' + outpath: '/home/yeye/Desktop/Corrector_2019/figures/Errorcurves/Normal/' + +Temporal-Average: + apply: false + meshpath: '/home/yeye/Desktop/PhD/AORTA/MESH/coaorta/H1/coaortaH1.h5' + original_check: '/home/yeye/Desktop/First/H1/dt5ms/coaorta/' + xdmf: false + dt: 0.005 + subsampling_rate: 6 + out_check: '/home/yeye/Desktop/First/H1/test/' + +Temporal-Interpolation: + apply: false + meshpath: '/home/yeye/Desktop/Corrector_2019/meshes/11AoCoPhantomRest1.4.h5' + original_check: '/home/yeye/Desktop/Corrector_2019/I/meas/11mmRest1.4/R1/' + xdmf: true + dt: 0.03072 + dt_new: 0.015 + out_check: '/home/yeye/Desktop/Corrector_2019/I/meas/11mmRest1.4/dt15ms/' \ No newline at end of file diff --git a/input/aorta.yaml b/input/aorta.yaml new file mode 100755 index 0000000..71314ed --- /dev/null +++ b/input/aorta.yaml @@ -0,0 +1,138 @@ +# Set of default parameters for steady Navier-Stokes +mesh: '/home/yeye/Desktop/PhD/AORTA/MESH/coaorta/H1/coaortaH1.h5' +density: 1.119 +dynamic_viscosity: 0.0483 +stokes: False + +io: + write_hdf5: True + write_hdf5_timeseries: False + write_xdmf: True + write_path: '/home/yeye/Desktop/coaorta' + restart: + path: '' # './projects/nse_coa3d/results/test_restart2/' + time: 0 + write_checkpoints: true + write_velocity: 'update' # tentative + log: False + + +boundary_conditions: + - id: 2 + type: 'dirichlet' + value: ['0','0','U*sin(DOLFIN_PI*t/Th)*(t<=Th) + (Th