OGS
mechanics_linear.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>square_1x1_quad8_1e2.vtu</mesh>
    <mesh>square_1x1_geometry_bottom.vtu</mesh>
    <mesh>square_1x1_geometry_left.vtu</mesh>
    <mesh>square_1x1_geometry_top.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>RM</name>
      <type>THERMO_RICHARDS_MECHANICS</type>
      <subtype>Stress_StrainTemperature</subtype>
      <integration_order>3</integration_order>
      <constitutive_relation id="0">
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <process_variables>
        <temperature>temperature</temperature>
        <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_variable internal_name="velocity" output_name="velocity" />
        <secondary_variable internal_name="saturation" output_name="saturation" />
      </secondary_variables>
      <specific_body_force>0 0</specific_body_force>
    </process>
  </processes>
  <media>
    <medium>
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1e-10</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1e-6</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>1.0</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>bulk_modulus</name>
              <type>Constant</type>
              <value>1e100</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>1.0</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>0.0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>relative_permeability</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>saturation</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>bishops_effective_stress</name>
          <type>BishopsSaturationCutoff</type>
          <cutoff_value>1.1</cutoff_value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>storage</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-20</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="RM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-10 1e-5 1e-14 1e-14</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>1</t_end>
          <timesteps>
            <pair>
              <repeat>4</repeat>
              <delta_t>0.25</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <outputs>
      <output>
        <type>VTK</type>
        <prefix>mechanics_linear</prefix>
        <timesteps>
          <pair>
            <repeat>1</repeat>
            <each_steps>10000000</each_steps>
          </pair>
        </timesteps>
        <variables>
          <variable>temperature</variable>
          <variable>displacement</variable>
          <variable>pressure</variable>
          <variable>sigma</variable>
          <variable>epsilon</variable>
          <variable>velocity</variable>
          <variable>saturation</variable>
          <variable>NodalForces</variable>
        </variables>
        <suffix>ts{:timestep}_t_{:time}</suffix>
      </output>
      <output>
        <type>VTK</type>
        <prefix>mechanics_linear_{:meshname}</prefix>
        <meshes>
          <mesh>square_1x1_geometry_left</mesh>
        </meshes>
        <timesteps>
          <pair>
            <repeat>1</repeat>
            <each_steps>10000000</each_steps>
          </pair>
        </timesteps>
        <variables />
        <suffix>ts{:timestep}_t_{:time}</suffix>
      </output>
    </outputs>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>.3</value>
    </parameter>
    <parameter>
      <name>mu</name>
      <type>Constant</type>
      <value>1e100</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>pressure_ic</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>dirichlet_p</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>dirichlet1</name>
      <type>Constant</type>
      <value>0.05</value>
    </parameter>
    <parameter>
      <name>T_ref</name>
      <type>Constant</type>
      <value>293.15</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>T_ref</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>square_1x1_geometry_top</mesh>
          <type>Dirichlet</type>
          <parameter>T_ref</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>
          <mesh>square_1x1_geometry_top</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet_p</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>square_1x1_geometry_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_geometry_bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>square_1x1_geometry_top</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet1</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>
      <eigen>
        <solver_type>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>mechanics_linear.*_ts_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mechanics_linear.*_ts_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>5e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mechanics_linear.*_ts_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>5e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>mechanics_linear.*_ts_.*.vtu</regex>
      <field>NodalForces</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>