OGS
|
<OpenGeoSysProject>
<mesh>thm2_1Dfixd.vtu</mesh>
<geometry>thm2_1Dfixd.gml</geometry>
<processes>
<process>
<name>THERMO_HYDRO_MECHANICS</name>
<type>THERMO_HYDRO_MECHANICS</type>
<integration_order>3</integration_order>
<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>
<temperature>temperature</temperature>
</process_variables>
<secondary_variables>
<secondary_variable internal_name="sigma" output_name="sigma" />
<secondary_variable internal_name="epsilon" output_name="epsilon" />
</secondary_variables>
<specific_body_force>0 0 0</specific_body_force>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<properties>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>1100</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>10</value>
</property>
<property>
<name>density</name>
<type>Constant</type>
<value>1e3</value>
</property>
<property>
<name>thermal_expansivity</name>
<type>Constant</type>
<value>0</value>
</property>
<property>
<name>viscosity</name>
<type>Constant</type>
<value>1.e-3</value>
</property>
</properties>
</phase>
<phase>
<type>Solid</type>
<properties>
<property>
<name>density</name>
<type>Constant</type>
<value>2e3</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>50</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>250</value>
</property>
<property>
<name>thermal_expansivity</name>
<type>Constant</type>
<value>1e-6</value>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>permeability</name>
<type>Constant</type>
<value>1.e-11 0 0 0 1.e-11 0 0 0 1.e-11</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.1</value>
</property>
<property>
<name>biot_coefficient</name>
<type>Constant</type>
<value>1.0</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>EffectiveThermalConductivityPorosityMixing</type>
</property>
</properties>
</medium>
</media>
<time_loop>
<processes>
<process ref="THERMO_HYDRO_MECHANICS">
<nonlinear_solver>basic_newton</nonlinear_solver>
<convergence_criterion>
<type>PerComponentDeltaX</type>
<norm_type>NORM2</norm_type>
<reltols>1e-15 5e-15 1e-14 1e-0 1e-0</reltols>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0</t_initial>
<t_end>2e4</t_end>
<timesteps>
<pair>
<repeat>8</repeat>
<delta_t>25</delta_t>
</pair>
<pair>
<repeat>8</repeat>
<delta_t>100</delta_t>
</pair>
<pair>
<repeat>80</repeat>
<delta_t>250</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>thm2_1Dfixd</prefix>
<timesteps>
<pair>
<repeat>1</repeat>
<each_steps>52</each_steps>
</pair>
<pair>
<repeat>1</repeat>
<each_steps>40</each_steps>
</pair>
</timesteps>
<variables>
<variable>displacement</variable>
<variable>pressure</variable>
<variable>temperature</variable>
<variable>sigma</variable>
<variable>epsilon</variable>
</variables>
</output>
</time_loop>
<parameters>
<parameter>
<name>E</name>
<type>Constant</type>
<value>5.e9</value>
</parameter>
<parameter>
<name>nu</name>
<type>Constant</type>
<value>0.25</value>
</parameter>
<parameter>
<name>T0</name>
<type>Constant</type>
<value>273.15</value>
</parameter>
<parameter>
<name>displacement0</name>
<type>Constant</type>
<values>0 0 0</values>
</parameter>
<parameter>
<name>pressure_ic</name>
<type>Function</type>
<expression>1.0e4*(1.0e1-x)</expression>
</parameter>
<parameter>
<name>pressure_bc_outlet</name>
<type>Constant</type>
<values>0</values>
</parameter>
<parameter>
<name>pressure_bc_inlet</name>
<type>Constant</type>
<value>1.0e5</value>
</parameter>
<parameter>
<name>dirichlet0</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>temperature_ic</name>
<type>Constant</type>
<value>273.15</value>
</parameter>
<parameter>
<name>temperature_bc_inlet</name>
<type>Constant</type>
<value>263.15</value>
</parameter>
</parameters>
<process_variables>
<process_variable>
<name>displacement</name>
<components>3</components>
<order>2</order>
<initial_condition>displacement0</initial_condition>
<boundary_conditions>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_X0</geometry>
<type>Dirichlet</type>
<component>0</component>
<parameter>dirichlet0</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_X10</geometry>
<type>Dirichlet</type>
<component>0</component>
<parameter>dirichlet0</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_Y0</geometry>
<type>Dirichlet</type>
<component>1</component>
<parameter>dirichlet0</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_Y1</geometry>
<type>Dirichlet</type>
<component>1</component>
<parameter>dirichlet0</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_Z0</geometry>
<type>Dirichlet</type>
<component>2</component>
<parameter>dirichlet0</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_Z1</geometry>
<type>Dirichlet</type>
<component>2</component>
<parameter>dirichlet0</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>pressure</name>
<components>1</components>
<order>1</order>
<initial_condition>pressure_ic</initial_condition>
<boundary_conditions>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_X0</geometry>
<type>Dirichlet</type>
<parameter>pressure_bc_inlet</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_X10</geometry>
<type>Dirichlet</type>
<parameter>pressure_bc_outlet</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>temperature</name>
<components>1</components>
<order>1</order>
<initial_condition>temperature_ic</initial_condition>
<boundary_conditions>
<boundary_condition>
<geometrical_set>thm2_1Dfixed_geom</geometrical_set>
<geometry>SURF_X0</geometry>
<type>Dirichlet</type>
<parameter>temperature_bc_inlet</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>basic_newton</name>
<type>Newton</type>
<max_iter>50</max_iter>
<linear_solver>general_linear_solver</linear_solver>
</nonlinear_solver>
</nonlinear_solvers>
<linear_solvers>
<linear_solver>
<name>general_linear_solver</name>
<lis>-i bicgstab -p ilu -tol 1e-16 -maxiter 10000</lis>
<eigen>
<solver_type>BiCGSTAB</solver_type>
<precon_type>ILUT</precon_type>
<max_iteration_step>10000</max_iteration_step>
<error_tolerance>1e-20</error_tolerance>
</eigen>
<petsc>
<prefix>sd</prefix>
<parameters>-sd_ksp_type cg -sd_pc_type bjacobi -sd_ksp_rtol 1e-16 -sd_ksp_max_it 10000</parameters>
</petsc>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<regex>thm2_1Dfixd_ts_.*.vtu</regex>
<field>displacement</field>
<absolute_tolerance>1e-14</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>thm2_1Dfixd_ts_.*.vtu</regex>
<field>sigma</field>
<absolute_tolerance>3e-8</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>thm2_1Dfixd_ts_.*.vtu</regex>
<field>epsilon</field>
<absolute_tolerance>1e-12</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>thm2_1Dfixd_ts_.*.vtu</regex>
<field>pressure</field>
<absolute_tolerance>1e-7</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>thm2_1Dfixd_ts_.*.vtu</regex>
<field>temperature</field>
<absolute_tolerance>1e-10</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>