Příklad konfiguračního souboru
Jeden grid
Příklad ze souboru ZIP ke stažení:
- mesh.yaml
source_type: msh msh_options: source_file: ./mesh.msh interpolation_method: IDW_element_neighbors IDW_maximum_included_elements: 32 IDW_distance_exponent: 2 memory_optimization: no grids: - name: A center_position: {x: 2500, y: 50, z: 50} range: {x: 20, y: 100, z: 100} discretization: {dx: 1, dy: 1, dz: 1} point_as_cell_center: no rotate_around_z_axis_degree: 0 incline_to_xy_plane_degree: 0 hdf5_outputs: - hdf5_file: ./output/grid_A.h5 grid: A quantity: pressure_p0 result_formula: value * 1 time_dependance: no times: [0] append_to_group: no group_name: pressure attributes: origin: auto interpolation_method: LINEAR max_buffer_size: 1000 note: pressure example execute: yes planes_outputs: - grid: A plane: {type: YZ, local_x: 0} quantity: pressure_p0 result_formula: value * 1 time: 0 image: file: ./output/grid_A_YZ_plane_X0.png colors: ["white", "blue", "red", "black"] # colors_borders: [-20, -10, 0, 10] colors_view: linear_interpolation origin: {x: 0, y: 0} table: file: ./output/grid_A_XZ_plane_X0.csv column_separator: semicolon decimal_separator: comma number_format: G execute: yes
Více gridů
Příklad obsahuje konfiguraci pro oba typy vstupních souborů (Groundwater Vistas i Flow123d) a výstup pro více gridů.
- delsi_priklad.yaml
source_type: modflow msh_options: # ignorováno source_file: ./inputs/stoneflow3d_v2.msh interpolation_method: constant IDW_maximum_included_elements: 24 IDW_distance_exponent: 2 memory_optimization: no modflow_options: source_file: ./inputs/varB_xyz_head.csv IDW_maximum_point_distance: 8 IDW_minimum_points_count: 3 IDW_distance_exponent: 3 grids: - name: grid_MODFLOW center_position: {x: 500, y: 2.5, z: 125} range: {x: 1195, y: 20, z: 260} discretization: {dx: 1, dy: 1, dz: 1} point_as_cell_center: yes rotate_around_z_axis_degree: 0 incline_to_xy_plane_degree: 0 - name: grid_MODFLOW_2 center_position: {x: 500, y: 2.5, z: 125} range: {x: 1000, y: 20, z: 200} discretization: {dx: 2, dy: 2, dz: 2} point_as_cell_center: yes rotate_around_z_axis_degree: 0 incline_to_xy_plane_degree: 0 - name: grid_MSH # ignorováno center_position: {x: 2500, y: 50, z: 50} range: {x: 5000, y: 100, z: 100} discretization: {Nx: 2500, Ny: 50, Nz: 50} point_as_cell_center: yes rotate_around_z_axis_degree: 0 incline_to_xy_plane_degree: 0 hdf5_outputs: - hdf5_file: pokus_msh.h5 grid: grid_MSH quantity: pressure_p0a result_formula: value time_dependance: no times: [0] group_name: auto append_to_group: no attributes: origin: auto interpolation_method: LINEAR max_buffer_size: 1000 execute: no - hdf5_file: pokus_modflow.h5 grid: grid_MODFLOW quantity: Head result_formula: value - z time_dependance: no times: [0] group_name: Pressure attributes: origin: auto interpolation_method: LINEAR max_buffer_size: 1000 note: modflow execute: yes planes_outputs: - grid: grid_MODFLOW plane: {type: XZ, local_y: 0} quantity: Head result_formula: value - z time: 0 image: file: pokus.png colors: ["white", "blue", "red", "black"] # colors_borders: [-20, -10, 0, 10] colors_view: linear_interpolation origin: {x: 0, y: 0} table: file: pokus.csv column_separator: comma decimal_separator: point number_format: .4E execute: yes
Zápis konkrétního času do existujícího souboru
- konkretni_cas.yaml
source_type: modflow modflow_options: source_file: ../data/in/0.97y.s3d IDW_maximum_point_distance: 280 IDW_minimum_points_count: 1 IDW_distance_exponent: 1 grids: - name: model_3d center_position: {x: -680550, y: -1131850, z: -160} range: {x: 6700, y: 6700, z: 1300} discretization: {dx: 100, dy: 100, dz: 20} point_as_cell_center: yes rotate_around_z_axis_degree: 0 incline_to_xy_plane_degree: 0 hdf5_outputs: - hdf5_file: ../data/out/0.97y.h5 grid: model_3d quantity: Head result_formula: (value-z)*9804.198 + 101325 time_dependance: yes times: [30610218] group_name: pressure append_to_group: yes attributes: origin: auto interpolation_method: LINEAR max_buffer_size: 1000 note: execute: yes planes_outputs: - grid: model_3d plane: {type: YZ, local_x: 0} quantity: Head result_formula: (value-z)*9804.198 + 101325 time: 0 image: file: ./out/x-section.png colors: ["white", "blue", "red", "black"] # colors_borders: [-20, -10, 0, 10] colors_view: linear_interpolation origin: {x: 0, y: 0} table: file: ./out/x-section.csv column_separator: comma decimal_separator: point number_format: .4E execute: no
Poslední úprava: