From f804b6cda599b7e432385cf618d8d5d2324801d3 Mon Sep 17 00:00:00 2001 From: Florian Zill <florian.zill@ufz.de> Date: Wed, 27 Oct 2021 13:53:58 +0200 Subject: [PATCH] [T/HM] shared use of identical project data --- .../cube_strain_flow_data.include | 132 +++++++++++++++++ .../x_strain_y_flow.prj | 135 +---------------- .../y_strain_z_flow.prj | 133 +---------------- .../z_strain_x_flow.prj | 137 +----------------- 4 files changed, 138 insertions(+), 399 deletions(-) create mode 100644 Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/cube_strain_flow_data.include diff --git a/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/cube_strain_flow_data.include b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/cube_strain_flow_data.include new file mode 100644 index 00000000000..62fab02e407 --- /dev/null +++ b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/cube_strain_flow_data.include @@ -0,0 +1,132 @@ +<mesh>cube_1x1x1_quad.vtu</mesh> +<geometry>cube_1x1x1.gml</geometry> +<processes> + <process> + <name>HM</name> + <type>HYDRO_MECHANICS</type> + <integration_order>3</integration_order> + <dimension>3</dimension> + <constitutive_relation> + <type>LinearElasticIsotropic</type> + <youngs_modulus>E</youngs_modulus> + <poissons_ratio>nu</poissons_ratio> + </constitutive_relation> + <process_variables> + <displacement>displacement</displacement> + <pressure>pressure</pressure> + </process_variables> + <secondary_variables> + <secondary_variable internal_name="sigma" output_name="sigma"/> + <secondary_variable internal_name="epsilon" output_name="epsilon"/> + <secondary_variable internal_name="velocity" output_name="velocity"/> + </secondary_variables> + <specific_body_force>0 0 0</specific_body_force> + </process> +</processes> +<media> + <medium> + <phases> + <phase> + <type>Gas</type> + <properties> + <property> + <name>viscosity</name> + <type>Constant</type> + <value>1e-3</value> + </property> + <property> + <name>density</name> + <type>Constant</type> + <value>1</value> + </property> + </properties> + </phase> + <phase> + <type>Solid</type> + <properties> + <property> + <name>density</name> + <type>Constant</type> + <value>2000</value> + </property> + </properties> + </phase> + </phases> + <properties> + <property> + <name>porosity</name> + <type>Constant</type> + <value>0.01</value> + </property> + <property> + <name>biot_coefficient</name> + <type>Constant</type> + <value>0</value> + </property> + <property> + <name>reference_temperature</name> + <type>Constant</type> + <value>293.15</value> + </property> + <property> + <name>permeability</name> + <type>OrthotropicEmbeddedFracturePermeability</type> + <intrinsic_permeability>k</intrinsic_permeability> + <mean_frac_distances>1e-4 2e-4 3e-4</mean_frac_distances> + <threshold_strains>10e-5 5e-5 1e-5</threshold_strains> + <fracture_normals> 1 0 0 0 1 0 </fracture_normals> + <fracture_rotation_xy>zero</fracture_rotation_xy> + <fracture_rotation_yz>zero</fracture_rotation_yz> + </property> + </properties> + </medium> +</media> +<parameters> + <!-- Mechanics --> + <parameter> + <name>E</name> + <type>Constant</type> + <value>1e9</value> + </parameter> + <parameter> + <name>nu</name> + <type>Constant</type> + <value>.3</value> + </parameter> + <!-- Model parameters --> + <parameter> + <name>k</name> + <type>Constant</type> + <value>1e-19</value> + </parameter> + <parameter> + <name>displacement0</name> + <type>Constant</type> + <values>0 0 0</values> + </parameter> + <parameter> + <name>pressure_ic</name> + <type>Constant</type> + <values>1e5</values> + </parameter> + <parameter> + <name>flow_in</name> + <type>Constant</type> + <values>1e-10</values> + </parameter> + <parameter> + <name>dirichlet0</name> + <type>Constant</type> + <value>0</value> + </parameter> + <parameter> + <name>disp</name> + <type>Constant</type> + <value>5e-4</value> + </parameter> + <parameter> + <name>zero</name> + <type>Constant</type> + <value>0</value> + </parameter> +</parameters> \ No newline at end of file diff --git a/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/x_strain_y_flow.prj b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/x_strain_y_flow.prj index c9089173ad4..b5a64de1353 100644 --- a/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/x_strain_y_flow.prj +++ b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/x_strain_y_flow.prj @@ -1,88 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <OpenGeoSysProject> - <mesh>cube_1x1x1_quad.vtu</mesh> - <geometry>cube_1x1x1.gml</geometry> - <processes> - <process> - <name>HM</name> - <type>HYDRO_MECHANICS</type> - <integration_order>3</integration_order> - <dimension>3</dimension> - <constitutive_relation> - <type>LinearElasticIsotropic</type> - <youngs_modulus>E</youngs_modulus> - <poissons_ratio>nu</poissons_ratio> - </constitutive_relation> - <process_variables> - <displacement>displacement</displacement> - <pressure>pressure</pressure> - </process_variables> - <secondary_variables> - <secondary_variable internal_name="sigma" output_name="sigma"/> - <secondary_variable internal_name="epsilon" output_name="epsilon"/> - <secondary_variable internal_name="velocity" output_name="velocity"/> - </secondary_variables> - <specific_body_force>0 0 0</specific_body_force> - </process> - </processes> - <media> - <medium> - <phases> - <phase> - <type>Gas</type> - <properties> - <property> - <name>viscosity</name> - <type>Constant</type> - <value>1e-3</value> - </property> - <property> - <name>density</name> - <type>Constant</type> - <value>1</value> - </property> - </properties> - </phase> - <phase> - <type>Solid</type> - <properties> - <property> - <name>density</name> - <type>Constant</type> - <value>2000</value> - </property> - </properties> - </phase> - </phases> - <properties> - <property> - <name>porosity</name> - <type>Constant</type> - <value>0.01</value> - </property> - <property> - <name>biot_coefficient</name> - <type>Constant</type> - <value>0</value> - </property> - <property> - <name>reference_temperature</name> - <type>Constant</type> - <value>293.15</value> - </property> - <property> - <name>permeability</name> - <type>OrthotropicEmbeddedFracturePermeability</type> - <intrinsic_permeability>k</intrinsic_permeability> - <mean_frac_distances>1e-4 2e-4 3e-4</mean_frac_distances> - <threshold_strains>10e-5 5e-5 1e-5</threshold_strains> - <fracture_normals> 1 0 0 0 1 0 </fracture_normals> - <fracture_rotation_xy>zero</fracture_rotation_xy> - <fracture_rotation_yz>zero</fracture_rotation_yz> - </property> - </properties> - </medium> - </media> + <include file="cube_strain_flow_data.include"/> <time_loop> <processes> <process ref="HM"> @@ -132,55 +50,6 @@ </variables> </output> </time_loop> - <parameters> - <!-- Mechanics --> - <parameter> - <name>E</name> - <type>Constant</type> - <value>1e9</value> - </parameter> - <parameter> - <name>nu</name> - <type>Constant</type> - <value>.3</value> - </parameter> - <!-- Model parameters --> - <parameter> - <name>k</name> - <type>Constant</type> - <value>1e-19</value> - </parameter> - <parameter> - <name>displacement0</name> - <type>Constant</type> - <values>0 0 0</values> - </parameter> - <parameter> - <name>pressure_ic</name> - <type>Constant</type> - <values>1e5</values> - </parameter> - <parameter> - <name>flow_in</name> - <type>Constant</type> - <values>1e-10</values> - </parameter> - <parameter> - <name>dirichlet0</name> - <type>Constant</type> - <value>0</value> - </parameter> - <parameter> - <name>disp</name> - <type>Constant</type> - <value>5e-4</value> - </parameter> - <parameter> - <name>zero</name> - <type>Constant</type> - <value>0</value> - </parameter> - </parameters> <process_variables> <process_variable> <name>displacement</name> @@ -195,7 +64,7 @@ <component>0</component> <parameter>dirichlet0</parameter> </boundary_condition> - <boundary_condition> + <boundary_condition> <geometrical_set>cube_1x1x1_geometry</geometrical_set> <geometry>right</geometry> <type>Dirichlet</type> diff --git a/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/y_strain_z_flow.prj b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/y_strain_z_flow.prj index bb4ceb9f0ab..9262762e8aa 100644 --- a/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/y_strain_z_flow.prj +++ b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/y_strain_z_flow.prj @@ -1,88 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <OpenGeoSysProject> - <mesh>cube_1x1x1_quad.vtu</mesh> - <geometry>cube_1x1x1.gml</geometry> - <processes> - <process> - <name>HM</name> - <type>HYDRO_MECHANICS</type> - <integration_order>3</integration_order> - <dimension>3</dimension> - <constitutive_relation> - <type>LinearElasticIsotropic</type> - <youngs_modulus>E</youngs_modulus> - <poissons_ratio>nu</poissons_ratio> - </constitutive_relation> - <process_variables> - <displacement>displacement</displacement> - <pressure>pressure</pressure> - </process_variables> - <secondary_variables> - <secondary_variable internal_name="sigma" output_name="sigma"/> - <secondary_variable internal_name="epsilon" output_name="epsilon"/> - <secondary_variable internal_name="velocity" output_name="velocity"/> - </secondary_variables> - <specific_body_force>0 0 0</specific_body_force> - </process> - </processes> - <media> - <medium> - <phases> - <phase> - <type>Gas</type> - <properties> - <property> - <name>viscosity</name> - <type>Constant</type> - <value>1e-3</value> - </property> - <property> - <name>density</name> - <type>Constant</type> - <value>1</value> - </property> - </properties> - </phase> - <phase> - <type>Solid</type> - <properties> - <property> - <name>density</name> - <type>Constant</type> - <value>2000</value> - </property> - </properties> - </phase> - </phases> - <properties> - <property> - <name>porosity</name> - <type>Constant</type> - <value>0.01</value> - </property> - <property> - <name>biot_coefficient</name> - <type>Constant</type> - <value>0</value> - </property> - <property> - <name>reference_temperature</name> - <type>Constant</type> - <value>293.15</value> - </property> - <property> - <name>permeability</name> - <type>OrthotropicEmbeddedFracturePermeability</type> - <intrinsic_permeability>k</intrinsic_permeability> - <mean_frac_distances>1e-4 2e-4 3e-4</mean_frac_distances> - <threshold_strains>10e-5 5e-5 1e-5</threshold_strains> - <fracture_normals> 1 0 0 0 1 0 </fracture_normals> - <fracture_rotation_xy>zero</fracture_rotation_xy> - <fracture_rotation_yz>zero</fracture_rotation_yz> - </property> - </properties> - </medium> - </media> + <include file="cube_strain_flow_data.include"/> <time_loop> <processes> <process ref="HM"> @@ -132,55 +50,6 @@ </variables> </output> </time_loop> - <parameters> - <!-- Mechanics --> - <parameter> - <name>E</name> - <type>Constant</type> - <value>1e9</value> - </parameter> - <parameter> - <name>nu</name> - <type>Constant</type> - <value>.3</value> - </parameter> - <!-- Model parameters --> - <parameter> - <name>k</name> - <type>Constant</type> - <value>1e-19</value> - </parameter> - <parameter> - <name>displacement0</name> - <type>Constant</type> - <values>0 0 0</values> - </parameter> - <parameter> - <name>pressure_ic</name> - <type>Constant</type> - <values>1e5</values> - </parameter> - <parameter> - <name>flow_in</name> - <type>Constant</type> - <values>1e-10</values> - </parameter> - <parameter> - <name>dirichlet0</name> - <type>Constant</type> - <value>0</value> - </parameter> - <parameter> - <name>disp</name> - <type>Constant</type> - <value>5e-4</value> - </parameter> - <parameter> - <name>zero</name> - <type>Constant</type> - <value>0</value> - </parameter> - </parameters> <process_variables> <process_variable> <name>displacement</name> diff --git a/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/z_strain_x_flow.prj b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/z_strain_x_flow.prj index e7f1e1622d5..d28e656b5a2 100644 --- a/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/z_strain_x_flow.prj +++ b/Tests/Data/HydroMechanics/OrthotropicEmbeddedFracturePermeability/z_strain_x_flow.prj @@ -1,88 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <OpenGeoSysProject> - <mesh>cube_1x1x1_quad.vtu</mesh> - <geometry>cube_1x1x1.gml</geometry> - <processes> - <process> - <name>HM</name> - <type>HYDRO_MECHANICS</type> - <integration_order>3</integration_order> - <dimension>3</dimension> - <constitutive_relation> - <type>LinearElasticIsotropic</type> - <youngs_modulus>E</youngs_modulus> - <poissons_ratio>nu</poissons_ratio> - </constitutive_relation> - <process_variables> - <displacement>displacement</displacement> - <pressure>pressure</pressure> - </process_variables> - <secondary_variables> - <secondary_variable internal_name="sigma" output_name="sigma"/> - <secondary_variable internal_name="epsilon" output_name="epsilon"/> - <secondary_variable internal_name="velocity" output_name="velocity"/> - </secondary_variables> - <specific_body_force>0 0 0</specific_body_force> - </process> - </processes> - <media> - <medium> - <phases> - <phase> - <type>Gas</type> - <properties> - <property> - <name>viscosity</name> - <type>Constant</type> - <value>1e-3</value> - </property> - <property> - <name>density</name> - <type>Constant</type> - <value>1</value> - </property> - </properties> - </phase> - <phase> - <type>Solid</type> - <properties> - <property> - <name>density</name> - <type>Constant</type> - <value>2000</value> - </property> - </properties> - </phase> - </phases> - <properties> - <property> - <name>porosity</name> - <type>Constant</type> - <value>0.01</value> - </property> - <property> - <name>biot_coefficient</name> - <type>Constant</type> - <value>0</value> - </property> - <property> - <name>reference_temperature</name> - <type>Constant</type> - <value>293.15</value> - </property> - <property> - <name>permeability</name> - <type>OrthotropicEmbeddedFracturePermeability</type> - <intrinsic_permeability>k</intrinsic_permeability> - <mean_frac_distances>1e-4 2e-4 3e-4</mean_frac_distances> - <threshold_strains>10e-5 5e-5 1e-5</threshold_strains> - <fracture_normals> 1 0 0 0 1 0 </fracture_normals> - <fracture_rotation_xy>zero</fracture_rotation_xy> - <fracture_rotation_yz>zero</fracture_rotation_yz> - </property> - </properties> - </medium> - </media> + <include file="cube_strain_flow_data.include"/> <time_loop> <processes> <process ref="HM"> @@ -132,55 +50,6 @@ </variables> </output> </time_loop> - <parameters> - <!-- Mechanics --> - <parameter> - <name>E</name> - <type>Constant</type> - <value>1e9</value> - </parameter> - <parameter> - <name>nu</name> - <type>Constant</type> - <value>.3</value> - </parameter> - <!-- Model parameters --> - <parameter> - <name>k</name> - <type>Constant</type> - <value>1e-19</value> - </parameter> - <parameter> - <name>displacement0</name> - <type>Constant</type> - <values>0 0 0</values> - </parameter> - <parameter> - <name>pressure_ic</name> - <type>Constant</type> - <values>1e5</values> - </parameter> - <parameter> - <name>flow_in</name> - <type>Constant</type> - <values>1e-10</values> - </parameter> - <parameter> - <name>dirichlet0</name> - <type>Constant</type> - <value>0</value> - </parameter> - <parameter> - <name>disp</name> - <type>Constant</type> - <value>5e-4</value> - </parameter> - <parameter> - <name>zero</name> - <type>Constant</type> - <value>0</value> - </parameter> - </parameters> <process_variables> <process_variable> <name>displacement</name> @@ -188,14 +57,14 @@ <order>2</order> <initial_condition>displacement0</initial_condition> <boundary_conditions> - <boundary_condition> + <boundary_condition> <geometrical_set>cube_1x1x1_geometry</geometrical_set> <geometry>bottom</geometry> <type>Dirichlet</type> <component>2</component> <parameter>dirichlet0</parameter> </boundary_condition> - <boundary_condition> + <boundary_condition> <geometrical_set>cube_1x1x1_geometry</geometrical_set> <geometry>top</geometry> <type>Dirichlet</type> -- GitLab