OGS
excavation_niches2.prj
<OpenGeoSysProject>
  <mesh axially_symmetric="false">excavation_niches2.vtu</mesh>
  <geometry>excavation_niches2.gml</geometry>
  <processes>
    <process>
      <name>process</name>
      <type>HYDRO_MECHANICS</type>
      <integration_order>3</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>
      <initial_stress>sigma0</initial_stress>
    </process>
  </processes>
  <media>
    <medium id="0,1,2,3">
      <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>1000</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4160</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.6</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2533</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>1254.74</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>2.156</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>1e-5</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>relative_permeability</name>
          <type>RelativePermeabilityVanGenuchten</type>
          <residual_liquid_saturation>0.0</residual_liquid_saturation>
          <residual_gas_saturation>0.0</residual_gas_saturation>
          <exponent>0.4</exponent>
          <minimum_relative_permeability_liquid>1e-25</minimum_relative_permeability_liquid>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-19</value>
        </property>
        <property>
          <name>saturation</name>
          <type>SaturationVanGenuchten</type>
          <residual_liquid_saturation>0.0</residual_liquid_saturation>
          <residual_gas_saturation>0.0</residual_gas_saturation>
          <exponent>0.4</exponent>
          <p_b>42e6</p_b>
        </property>
        <property>
          <name>bishops_effective_stress</name>
          <type>BishopsPowerLaw</type>
          <exponent>1</exponent>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>298.15</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="process">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-8 1e-8 1e-8</abstols>
          <reltols>1e-8 1e-8 1e-8</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>2000</t_end>
          <timesteps>
            <pair>
              <repeat>1000</repeat>
              <delta_t>50</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>excavation_niches2</prefix>
      <suffix>ts{:0>2timestep}_t_{:.0ftime}</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>
        <variable>MassFlowRate</variable>
        <variable>NodalForces</variable>
        <variable>displacement_active</variable>
        <variable>pressure_active</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>sigma0</name>
      <type>Function</type>
      <expression>-10e6 + 0.6 * 4e6</expression>
      <expression>-10e6 + 0.6 * 4e6</expression>
      <expression>0</expression>
      <expression>0</expression>
    </parameter>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>4000e6</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>pressure_outside</name>
      <type>Constant</type>
      <values>4e6</values>
    </parameter>
    <parameter>
      <name>load_top</name>
      <type>Constant</type>
      <values>-12e6</values>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>excavation_first_tunnel</name>
      <coords>0 1000 2000</coords>
      <values>0 5 0</values>
    </curve>
    <curve>
      <name>excavation_parallel_first_tunnel</name>
      <coords>0 2000</coords>
      <values>0 5</values>
    </curve>
    <curve>
      <name>excavation_second_tunnel</name>
      <coords>0 1000 2000</coords>
      <values>0 5 5</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>
          <geometrical_set>excavation_niches2</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>excavation_niches2</geometrical_set>
          <geometry>back</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>excavation_niches2</geometrical_set>
          <geometry>right</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_second_tunnel</time_curve>
          <line_segment>
            <start>0 5 0</start>
            <end>0 0 0</end>
          </line_segment>
          <material_ids>2</material_ids>
        </deactivated_subdomain>
        <deactivated_subdomain>
          <time_curve>excavation_first_tunnel</time_curve>
          <line_segment>
            <start>0 0 0</start>
            <end>0 5 0</end>
          </line_segment>
          <material_ids>1</material_ids>
        </deactivated_subdomain>
        <deactivated_subdomain>
          <time_curve>excavation_parallel_first_tunnel</time_curve>
          <line_segment>
            <start>0 0 0</start>
            <end>0 5 0</end>
          </line_segment>
          <material_ids>3</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>
          <geometrical_set>excavation_niches2</geometrical_set>
          <geometry>back</geometry>
          <type>Dirichlet</type>
          <parameter>pressure_outside</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>excavation_niches2</geometrical_set>
          <geometry>right</geometry>
          <type>Dirichlet</type>
          <parameter>pressure_outside</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_first_tunnel</time_curve>
          <line_segment>
            <start>0 0 0</start>
            <end>0 5 0</end>
          </line_segment>
          <material_ids>1</material_ids>
        </deactivated_subdomain>
        <deactivated_subdomain>
          <time_curve>excavation_parallel_first_tunnel</time_curve>
          <line_segment>
            <start>0 0 0</start>
            <end>0 5 0</end>
          </line_segment>
          <material_ids>3</material_ids>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>10</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_niches2_ts_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>2e-7</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>4e-7</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>velocity</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>MassFlowRate</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>NodalForces</field>
      <absolute_tolerance>7e-8</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>displacement_active</field>
      <absolute_tolerance>0</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>excavation_niches2_ts_.*.vtu</regex>
      <field>pressure_active</field>
      <absolute_tolerance>0</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>