OGS
simHM_deactivate_H.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>unit_square_domain.vtu</mesh>
    <mesh>unit_square_left.vtu</mesh>
    <mesh>unit_square_right.vtu</mesh>
    <mesh>unit_square_bottom.vtu</mesh>
    <mesh>unit_square_top.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HM</name>
      <type>HYDRO_MECHANICS</type>
      <integration_order>2</integration_order>
      <process_variables>
        <pressure>pressure</pressure>
        <displacement>displacement</displacement>
      </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 -9.81</specific_body_force>
      <constitutive_relation id="0">
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
    </process>
  </processes>
  <media>
    <medium id="0,2,4">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1.e3</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2500.0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-14</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
      </properties>
    </medium>
    <medium id="1,3">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1.e3</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2500.0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-14</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
      </properties>
    </medium>
  </media>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>1e8</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.3</value>
    </parameter>
    <parameter>
      <name>InitialDisplacement</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>InitialPressure</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>zero</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>influx</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>InitialPressure</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>unit_square_top</mesh>
          <type>Dirichlet</type>
          <parameter>zero</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_interval>
            <start>0</start>
            <end>1</end>
          </time_interval>
          <material_ids>1 3</material_ids>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>1</order>
      <initial_condition>InitialDisplacement</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>unit_square_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>unit_square_right</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>unit_square_bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <time_loop>
    <processes>
      <process ref="HM">
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>1</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>1</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-2 1e-6 1e-6</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>hydraulic_deactivation</prefix>
      <suffix>ts{:timestep}_t_{:0.0etime}</suffix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables />
    </output>
  </time_loop>
  <linear_solvers>
    <linear_solver>
      <name>direct_linear_solver</name>
      <eigen>
        <solver_type>SparseLU</solver_type>
        <scaling>false</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>30</max_iter>
      <linear_solver>direct_linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
</OpenGeoSysProject>