OGS
excavation_th2m.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>domain.vtu</mesh>
    <mesh>left.vtu</mesh>
    <mesh>right.vtu</mesh>
    <mesh>top.vtu</mesh>
    <mesh>bottom.vtu</mesh>
    <mesh>arc.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>TH2M</name>
      <type>TH2M</type>
      <integration_order>4</integration_order>
      <constitutive_relation>
        <type>MFront</type>
        <behaviour>MohrCoulombAbboSloan</behaviour>
        <material_properties>
          <material_property name="YoungModulus" parameter="E" />
          <material_property name="PoissonRatio" parameter="nu" />
          <material_property name="Cohesion" parameter="Cohesion" />
          <material_property name="FrictionAngle" parameter="FrictionAngle" />
          <material_property name="DilatancyAngle" parameter="DilatancyAngle" />
          <material_property name="TransitionAngle" parameter="TransitionAngle" />
          <material_property name="TensionCutOffParameter" parameter="TensionCutOffParameter" />
        </material_properties>
      </constitutive_relation>
      <jacobian_assembler>
        <type>ForwardDifferences</type>
        <epsilons>0.01 0.01 1.0</epsilons>
      </jacobian_assembler>
      <reference_temperature>T0</reference_temperature>
      <process_variables>
        <gas_pressure>gas_pressure</gas_pressure>
        <capillary_pressure>capillary_pressure</capillary_pressure>
        <temperature>temperature</temperature>
        <displacement>displacement</displacement>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="velocity_gas" output_name="velocity_gas" />
        <secondary_variable internal_name="velocity_liquid" output_name="velocity_liquid" />
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="EquivalentPlasticStrain" output_name="epsilon_pls" />
        <secondary_variable internal_name="gas_density" output_name="gas_density" />
        <secondary_variable internal_name="saturation" output_name="saturation" />
        <secondary_variable internal_name="vapour_pressure" output_name="vapour_pressure" />
      </secondary_variables>
      <specific_body_force>0 0.0</specific_body_force>
      <mass_lumping>true</mass_lumping>
      <initial_stress type="total">sigma0</initial_stress>
    </process>
  </processes>
  <time_loop>
    <processes>
      <process ref="TH2M">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1.e-06 1.e-06 1.e-04 1.e-05 1.e-05</abstols>
          <reltols>1.e-06 2.e-05 0.0 1.e-07 1.e-07</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>IterationNumberBasedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>2.16e+5</t_end>
          <initial_dt>10000</initial_dt>
          <minimum_dt>1e1</minimum_dt>
          <maximum_dt>2.16e+5</maximum_dt>
          <number_iterations>1 4 10 15 20 25 31</number_iterations>
          <multiplier>1.5 1.3 1.2 1.1 0.8 0.7 0.6</multiplier>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>excavation_th2m_pls</prefix>
      <suffix>ts{:gtime}</suffix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>gas_pressure</variable>
        <variable>capillary_pressure</variable>
        <variable>temperature</variable>
        <variable>displacement</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>epsilon_pls</variable>
        <variable>velocity_gas</variable>
        <variable>velocity_liquid</variable>
        <variable>liquid_density</variable>
        <variable>gas_density</variable>
        <variable>saturation</variable>
        <variable>vapour_pressure</variable>
        <variable>gas_pressure_interpolated</variable>
        <variable>capillary_pressure_interpolated</variable>
        <variable>liquid_pressure_interpolated</variable>
        <variable>temperature_interpolated</variable>
        <variable>MaterialIDs</variable>
      </variables>
      <fixed_output_times>31558
            63115
            94673
            126230
            157788
            189346
            220903
            252461
            284018
            315576
            631152
            946728
            1262304
            1577880
            1728000</fixed_output_times>
    </output>
  </time_loop>
  <media>
    <medium>
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <components>
            <component>
              <name>A</name>
              <properties>
                <property>
                  <name>specific_heat_capacity</name>
                  <type>Constant</type>
                  <value>733</value>
                </property>
                <property>
                  <name>henry_coefficient</name>
                  <type>Constant</type>
                  <value>7.600000000000001e-06</value>
                </property>
                <property>
                  <name>diffusion</name>
                  <type>Constant</type>
                  <value>4.5e-09</value>
                </property>
                <property>
                  <name>specific_latent_heat</name>
                  <type>Constant</type>
                  <value>0</value>
                </property>
              </properties>
            </component>
            <component>
              <name>W</name>
              <properties>
                <property>
                  <name>specific_heat_capacity</name>
                  <type>Constant</type>
                  <value>4187</value>
                </property>
              </properties>
            </component>
          </components>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4187</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1000</reference_value>
              <independent_variable>
                <variable_name>liquid_phase_pressure</variable_name>
                <reference_condition>1e5</reference_condition>
                <slope>4.e-10</slope>
              </independent_variable>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Gas</type>
          <components>
            <component>
              <name>A</name>
              <properties>
                <property>
                  <name>molar_mass</name>
                  <type>Constant</type>
                  <value>0.002016</value>
                </property>
                <property>
                  <name>specific_heat_capacity</name>
                  <type>Constant</type>
                  <value>733</value>
                </property>
              </properties>
            </component>
            <component>
              <name>W</name>
              <properties>
                <property>
                  <name>molar_mass</name>
                  <type>Constant</type>
                  <value>0.0</value>
                </property>
                <property>
                  <name>specific_heat_capacity</name>
                  <type>Constant</type>
                  <value>4187</value>
                </property>
                <property>
                  <name>specific_latent_heat</name>
                  <type>Constant</type>
                  <value>2258000</value>
                </property>
                <property>
                  <name>vapour_pressure</name>
                  <type>Constant</type>
                  <value>0.0</value>
                </property>
                <property>
                  <name>diffusion</name>
                  <type>Constant</type>
                  <value>0.0</value>
                </property>
              </properties>
            </component>
          </components>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
            <property>
              <name>density</name>
              <type>IdealGasLawBinaryMixture</type>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>9.e-6</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2.e3</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>1.838</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>917.654</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-21</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>saturation</name>
          <type>SaturationVanGenuchten</type>
          <residual_liquid_saturation>0.01</residual_liquid_saturation>
          <residual_gas_saturation>0.01</residual_gas_saturation>
          <p_b>48000000.0</p_b>
          <exponent>0.2</exponent>
        </property>
        <property>
          <name>relative_permeability_nonwetting_phase</name>
          <type>RelativePermeabilityNonWettingPhaseVanGenuchtenMualem</type>
          <residual_liquid_saturation>0.6</residual_liquid_saturation>
          <residual_gas_saturation>0.0</residual_gas_saturation>
          <exponent>0.2</exponent>
          <min_relative_permeability>1e-5</min_relative_permeability>
        </property>
        <property>
          <name>relative_permeability</name>
          <type>RelativePermeabilityVanGenuchten</type>
          <residual_liquid_saturation>0.1</residual_liquid_saturation>
          <residual_gas_saturation>0.1</residual_gas_saturation>
          <exponent>0.2</exponent>
          <minimum_relative_permeability_liquid>1e-12</minimum_relative_permeability_liquid>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>tortuosity</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
        <property>
          <name>bishops_effective_stress</name>
          <type>BishopsSaturationCutoff</type>
          <cutoff_value>0.99</cutoff_value>
        </property>
      </properties>
    </medium>
  </media>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>6.5e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>.3</value>
    </parameter>
    <parameter>
      <name>Cohesion</name>
      <type>Constant</type>
      <value>5.0e+6</value>
    </parameter>
    <parameter>
      <name>FrictionAngle</name>
      <type>Constant</type>
      <value>25</value>
    </parameter>
    <parameter>
      <name>DilatancyAngle</name>
      <type>Constant</type>
      <value>2.0</value>
    </parameter>
    <parameter>
      <name>TransitionAngle</name>
      <type>Constant</type>
      <value>25.0</value>
    </parameter>
    <parameter>
      <name>TensionCutOffParameter</name>
      <type>Constant</type>
      <value>0.5</value>
    </parameter>
    <parameter>
      <name>zero</name>
      <type>Constant</type>
      <value>0.0</value>
    </parameter>
    <parameter>
      <name>initial_displacement</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>sigma0</name>
      <type>Function</type>
      <expression>y*(14.3e+6-1e+5)/857-1e+5</expression>
      <expression>y*(20.4e+6-1e+5)/857-1e+5</expression>
      <expression>y*(22.4e+6-1e+5)/857-1e+5</expression>
      <expression>0</expression>
    </parameter>
    <parameter>
      <name>sigma_top</name>
      <type>Function</type>
      <expression>y*(20.4e+6-1e+5)/857-1e+5</expression>
    </parameter>
    <parameter>
      <name>T0</name>
      <type>Constant</type>
      <value>300</value>
    </parameter>
    <parameter>
      <name>pg_0_function</name>
      <type>Function</type>
      <expression>1e+5 - 1000 * 9.81 * y</expression>
    </parameter>
    <parameter>
      <name>pc_0</name>
      <type>Constant</type>
      <value>1000</value>
    </parameter>
    <parameter>
      <name>decay_function</name>
      <type>Function</type>
      <expression>if (t>1.728e+5) 0.0; else 1 - t/ 1.728e+5;</expression>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <compensate_non_equilibrium_initial_residuum>true</compensate_non_equilibrium_initial_residuum>
      <initial_condition>initial_displacement</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>top</mesh>
          <type>Neumann</type>
          <component>1</component>
          <parameter>sigma_top</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>arc</mesh>
          <type>ReleaseNodalForce</type>
          <time_decay_parameter>decay_function</time_decay_parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>gas_pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>pg_0_function</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>top</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>pg_0_function</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>arc</mesh>
          <type>TimeDecayDirichlet</type>
          <component>0</component>
          <time_decay_parameter>decay_function</time_decay_parameter>
          <lower_limit>1e+5</lower_limit>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>capillary_pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>pc_0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>top</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>pc_0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>arc</mesh>
          <type>TimeDecayDirichlet</type>
          <component>0</component>
          <time_decay_parameter>decay_function</time_decay_parameter>
          <lower_limit>238501051.60885435</lower_limit>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>T0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>domain</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>T0</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</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>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
      <petsc>
        <parameters>-ksp_type bcgs
                    -pc_type lu -pc_factor_mat_solver_type mkl_pardiso</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>