OGS
square.prj
<OpenGeoSysProject>
  <geometry>square_1x1.gml</geometry>
  <mesh>square_1x1_quad8_1e2.vtu</mesh>
  <processes>
    <process>
      <name>BodyForceTest</name>
      <type>THERMO_RICHARDS_MECHANICS</type>
      <mass_lumping>false</mass_lumping>
      <integration_order>3</integration_order>
      <constitutive_relation id="0">
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>YoungsModulusClay</youngs_modulus>
        <poissons_ratio>PoissonsRatioClay</poissons_ratio>
      </constitutive_relation>
      <process_variables>
        <temperature>temperature</temperature>
        <pressure>pressure</pressure>
        <displacement>displacement</displacement>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="saturation" output_name="saturation" />
        <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>
      <apply_body_force_for_deformation>false</apply_body_force_for_deformation>
      <initial_stress>Initial_stress</initial_stress>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>bulk_modulus</name>
              <type>Constant</type>
              <value>2.15e9</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4181.3</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>999.1</reference_value>
              <independent_variable>
                <variable_name>liquid_phase_pressure</variable_name>
                <reference_condition>1.0e5</reference_condition>
                <slope>4.6511627906976743e-10</slope>
              </independent_variable>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>0.001</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>4e-4</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>995</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>1.5e-5</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2689.65517241379</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>thermal_conductivity</name>
          <type>Constant</type>
          <value>1.5</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.13</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Parameter</type>
          <parameter_name>IntrinsicPermClay</parameter_name>
        </property>
        <property>
          <name>relative_permeability</name>
          <type>RelativePermeabilityVanGenuchten</type>
          <residual_liquid_saturation>0</residual_liquid_saturation>
          <residual_gas_saturation>0</residual_gas_saturation>
          <exponent>0.6</exponent>
          <minimum_relative_permeability_liquid>1e-6</minimum_relative_permeability_liquid>
        </property>
        <property>
          <name>saturation</name>
          <type>SaturationVanGenuchten</type>
          <residual_liquid_saturation>0.0</residual_liquid_saturation>
          <residual_gas_saturation>0</residual_gas_saturation>
          <exponent>0.6</exponent>
          <p_b>20000000</p_b>
        </property>
        <property>
          <name>bishops_effective_stress</name>
          <type>BishopsSaturationCutoff</type>
          <cutoff_value>1.0</cutoff_value>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="BodyForceTest">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1e-12</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>864000</t_end>
          <timesteps>
            <pair>
              <repeat>1826</repeat>
              <delta_t>86400</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>21600</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>dont_apply_body_force_for_deformation</prefix>
      <suffix>ts{:timestep}_t_{:time}</suffix>
      <timesteps>
        <pair>
          <repeat>1000</repeat>
          <each_steps>10</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>temperature</variable>
        <variable>displacement</variable>
        <variable>pressure</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>saturation</variable>
      </variables>
    </output>
  </time_loop>
  <local_coordinate_system>
    <basis_vector_0>b0</basis_vector_0>
    <basis_vector_1>b1</basis_vector_1>
  </local_coordinate_system>
  <parameters>
    <parameter>
      <name>b0</name>
      <type>Constant</type>
      <values>0.829037572555041692 0.55919290347074683016</values>
    </parameter>
    <parameter>
      <name>b1</name>
      <type>Constant</type>
      <values>-0.55919290347074683016 0.829037572555041692</values>
    </parameter>
    <parameter>
      <name>ThermalConductivityClay</name>
      <type>Constant</type>
      <values>2.75862068965517 0 0 1.49425287356322</values>
      <use_local_coordinate_system>true</use_local_coordinate_system>
    </parameter>
    <parameter>
      <name>IntrinsicPermClay</name>
      <type>Constant</type>
      <values>1e-20 0 0 1e-20</values>
      <use_local_coordinate_system>false</use_local_coordinate_system>
    </parameter>
    <parameter>
      <name>YoungsModulusClay</name>
      <type>Constant</type>
      <value>8e9</value>
    </parameter>
    <parameter>
      <name>PoissonsRatioClay</name>
      <type>Constant</type>
      <value>0.35</value>
    </parameter>
    <parameter>
      <mesh>square_1x1_quad8_1e2</mesh>
      <name>Initial_stress</name>
      <type>Function</type>
      <expression>-2.5e6+-1.0e4*y</expression>
      <expression>-0.5e6+-1.0e4*y</expression>
      <expression>-4.0e6+-1.0e4*y</expression>
      <expression>0.0</expression>
    </parameter>
    <parameter>
      <name>displacement_ic</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>pressure_ic</name>
      <type>Function</type>
      <expression>2.e6+-1.0e4*y</expression>
    </parameter>
    <parameter>
      <name>pressure_high</name>
      <type>Constant</type>
      <value>2.0e6</value>
    </parameter>
    <parameter>
      <name>pressure_low</name>
      <type>Constant</type>
      <value>1.99e6</value>
    </parameter>
    <parameter>
      <name>temperature_ic</name>
      <type>Constant</type>
      <values>288.15</values>
    </parameter>
    <parameter>
      <name>dirichlet</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement_ic</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>bottom</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>right</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet</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>square_1x1_geometry</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <parameter>pressure_low</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>bottom</geometry>
          <type>Dirichlet</type>
          <parameter>pressure_high</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 />
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>100</max_iter>
      <linear_solver>linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>linear_solver</name>
      <eigen>
        <solver_type>SparseLU</solver_type>
      </eigen>
      <petsc>
        <parameters>-ksp_type bcgs -pc_type jacobi -ksp_rtol 1.e-20 -ksp_atol 1.e-10 -ksp_max_it 4000</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>