OGS
|
<OpenGeoSysProject>
<meshes>
<mesh>square_1x1_quad_16.vtu</mesh>
<mesh>square_1x1_quad_16_left_boundary.vtu</mesh>
<mesh>square_1x1_quad_16_right_boundary.vtu</mesh>
</meshes>
<processes>
<process>
<name>TemperaturePressure</name>
<type>HT</type>
<integration_order>2</integration_order>
<process_variables>
<temperature>T</temperature>
<pressure>p</pressure>
</process_variables>
<specific_body_force>0 0</specific_body_force>
<secondary_variables>
<secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity" />
</secondary_variables>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<properties>
<property>
<name>density</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>viscosity</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>0.1</value>
</property>
</properties>
</phase>
<phase>
<type>Solid</type>
<properties>
<property>
<name>storage</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>density</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>0.1</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>1</value>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>thermal_longitudinal_dispersivity</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>thermal_transversal_dispersivity</name>
<type>Constant</type>
<value>0</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.5</value>
</property>
<property>
<name>permeability</name>
<type>Constant</type>
<value>0.5</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>EffectiveThermalConductivityPorosityMixing</type>
</property>
</properties>
</medium>
<medium id="1">
<phases>
<phase>
<type>AqueousLiquid</type>
<properties>
<property>
<name>density</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>viscosity</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>0.1</value>
</property>
</properties>
</phase>
<phase>
<type>Solid</type>
<properties>
<property>
<name>storage</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>density</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>0.1</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>1</value>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>thermal_longitudinal_dispersivity</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>thermal_transversal_dispersivity</name>
<type>Constant</type>
<value>0</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.5</value>
</property>
<property>
<name>permeability</name>
<type>Constant</type>
<value>0.5</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>EffectiveThermalConductivityPorosityMixing</type>
</property>
</properties>
</medium>
</media>
<time_loop>
<processes>
<process ref="TemperaturePressure">
<nonlinear_solver>basic_picard</nonlinear_solver>
<convergence_criterion>
<type>PerComponentDeltaX</type>
<norm_type>NORM2</norm_type>
<reltols>1e-15 1e-15</reltols>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>1</t_end>
<timesteps>
<pair>
<repeat>1000</repeat>
<delta_t>0.01</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>Test_HT_DeactivatedSubdomain_{:meshname}</prefix>
<suffix>ts{:timestep}_t_{:time}</suffix>
<fixed_output_times>0.19 0.29 0.31 0.59 0.69 0.71 1</fixed_output_times>
<variables />
<meshes>
<mesh>square_1x1_quad_16</mesh>
</meshes>
</output>
</time_loop>
<parameters>
<parameter>
<name>T0</name>
<type>Function</type>
<expression>0</expression>
</parameter>
<parameter>
<name>T1</name>
<type>Function</type>
<expression>1</expression>
</parameter>
<parameter>
<name>P0</name>
<type>Function</type>
<expression>1</expression>
</parameter>
<parameter>
<name>PressureLeft</name>
<type>Function</type>
<expression>2</expression>
</parameter>
<parameter>
<name>PressureRight</name>
<type>Function</type>
<expression>10*t</expression>
</parameter>
<parameter>
<name>TemperatureLeft</name>
<type>Function</type>
<expression>10*t</expression>
</parameter>
</parameters>
<process_variables>
<process_variable>
<name>p</name>
<components>1</components>
<order>1</order>
<initial_condition>P0</initial_condition>
<deactivated_subdomains>
<deactivated_subdomain>
<time_interval>
<start>0.2</start>
<end>0.2999999</end>
</time_interval>
<material_ids>1</material_ids>
<boundary_parameter>P0</boundary_parameter>
</deactivated_subdomain>
</deactivated_subdomains>
<boundary_conditions>
<boundary_condition>
<mesh>square_1x1_quad_16_left_boundary</mesh>
<type>Dirichlet</type>
<parameter>PressureLeft</parameter>
</boundary_condition>
<boundary_condition>
<mesh>square_1x1_quad_16_right_boundary</mesh>
<type>Dirichlet</type>
<parameter>PressureRight</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>T</name>
<components>1</components>
<order>1</order>
<initial_condition>T0</initial_condition>
<deactivated_subdomains>
<deactivated_subdomain>
<time_interval>
<start>0.6</start>
<end>0.6999999</end>
</time_interval>
<material_ids>1</material_ids>
<boundary_parameter>T1</boundary_parameter>
</deactivated_subdomain>
</deactivated_subdomains>
<boundary_conditions>
<boundary_condition>
<mesh>square_1x1_quad_16_left_boundary</mesh>
<type>Dirichlet</type>
<parameter>TemperatureLeft</parameter>
</boundary_condition>
<boundary_condition>
<mesh>square_1x1_quad_16_right_boundary</mesh>
<type>Dirichlet</type>
<parameter>T0</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>basic_picard</name>
<type>Picard</type>
<max_iter>100</max_iter>
<linear_solver>general_linear_solver</linear_solver>
</nonlinear_solver>
</nonlinear_solvers>
<linear_solvers>
<linear_solver>
<name>general_linear_solver</name>
<eigen>
<solver_type>BiCGSTAB</solver_type>
<precon_type>DIAGONAL</precon_type>
<max_iteration_step>10000</max_iteration_step>
<error_tolerance>1e-16</error_tolerance>
</eigen>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<regex>Test_HT_DeactivatedSubdomain_square_1x1_quad_16_ts_.*.vtu</regex>
<field>p</field>
<absolute_tolerance>1e-15</absolute_tolerance>
<relative_tolerance>1e-14</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>Test_HT_DeactivatedSubdomain_square_1x1_quad_16_ts_.*.vtu</regex>
<field>darcy_velocity</field>
<absolute_tolerance>5e-14</absolute_tolerance>
<relative_tolerance>1e-14</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>Test_HT_DeactivatedSubdomain_square_1x1_quad_16_ts_.*.vtu</regex>
<field>T</field>
<absolute_tolerance>4e-14</absolute_tolerance>
<relative_tolerance>2e-14</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>Test_HT_DeactivatedSubdomain_square_1x1_quad_16_ts_.*.vtu</regex>
<field>p_active</field>
<absolute_tolerance>0</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>Test_HT_DeactivatedSubdomain_square_1x1_quad_16_ts_.*.vtu</regex>
<field>T_active</field>
<absolute_tolerance>0</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>