OGS
excavation_niches.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>excavation_niches.vtu</mesh>
    <mesh>excavation_niches_back.vtu</mesh>
    <mesh>excavation_niches_front.vtu</mesh>
    <mesh>excavation_niches_left.vtu</mesh>
    <mesh>excavation_niches_right.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HM</name>
      <type>HYDRO_MECHANICS</type>
      <dimension>2</dimension>
      <integration_order>2</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <specific_body_force>0 0</specific_body_force>
      <process_variables>
        <displacement>displacement</displacement>
        <pressure>pressure</pressure>
      </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_variables>
    </process>
  </processes>
  <media>
    <medium id="0,1,2">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.5e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1200</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2533</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>0.6</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-19</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>295.15</value>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="HM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-10 1e-10 1e-10</abstols>
          <reltols>1e-10 1e-5 1e-5</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>11000</t_end>
          <timesteps>
            <pair>
              <repeat>1000</repeat>
              <delta_t>1000</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>excavation_niches</prefix>
      <suffix>ts{:timestep}_t_{:time}</suffix>
      <timesteps>
        <pair>
          <repeat>1000</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>pressure</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>velocity</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>4e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.35</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>pressure0</name>
      <type>Constant</type>
      <values>4e6</values>
    </parameter>
    <parameter>
      <name>pressure_tunnel</name>
      <type>Constant</type>
      <values>1e5</values>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>excavation_curve_open_niche</name>
      <coords>0 10000 11000</coords>
      <values>0 11 11</values>
    </curve>
    <curve>
      <name>excavation_curve_closed_niche</name>
      <coords>5000 10000 11000</coords>
      <values>0 11 11</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>1</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>excavation_niches_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>excavation_niches_back</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>excavation_niches_right</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>excavation_niches_front</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_curve_open_niche</time_curve>
          <line_segment>
            <start>-5 0 0</start>
            <end>-5 11 0</end>
          </line_segment>
          <material_ids>2</material_ids>
        </deactivated_subdomain>
        <deactivated_subdomain>
          <time_curve>excavation_curve_closed_niche</time_curve>
          <line_segment>
            <start>5 0 0</start>
            <end>5 11 0</end>
          </line_segment>
          <material_ids>1</material_ids>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>pressure0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>excavation_niches_back</mesh>
          <type>Dirichlet</type>
          <parameter>pressure0</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_curve_open_niche</time_curve>
          <line_segment>
            <start>-5 0 0</start>
            <end>-5 11 0</end>
          </line_segment>
          <material_ids>2</material_ids>
          <boundary_parameter>pressure_tunnel</boundary_parameter>
        </deactivated_subdomain>
        <deactivated_subdomain>
          <time_curve>excavation_curve_closed_niche</time_curve>
          <line_segment>
            <start>5 0 0</start>
            <end>5 11 0</end>
          </line_segment>
          <material_ids>1</material_ids>
          <boundary_parameter>pressure_tunnel</boundary_parameter>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </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>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>excavation_niches_ts_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches_ts_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches_ts_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>3e-8</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches_ts_.*.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>6e-8</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches_ts_.*.vtu</regex>
      <field>velocity</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches_ts_.*.vtu</regex>
      <field>HydraulicFlow</field>
      <absolute_tolerance>3e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches_ts_.*.vtu</regex>
      <field>NodalForces</field>
      <absolute_tolerance>2e-5</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>