Loading [MathJax]/extensions/MathMenu.js
OGS
excavation.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>SMA_2D.vtu</mesh>
    <mesh>SMA_2D_arc.vtu</mesh>
    <mesh>top_mesh.vtu</mesh>
    <mesh>bottom_mesh.vtu</mesh>
    <mesh>left_mesh.vtu</mesh>
    <mesh>right_mesh.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HM</name>
      <type>HYDRO_MECHANICS</type>
      <integration_order>2</integration_order>
      <constitutive_relation id="*">
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <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>
      <specific_body_force>0 -9.81</specific_body_force>
      <initial_stress type="effective">sigma0</initial_stress>
    </process>
  </processes>
  <media>
    <medium id="*">
      <phases>
        <phase>
          <type>Gas</type>
          <properties>
            <property>
              <name>molar_mass</name>
              <type>Constant</type>
              <value>0.013</value>
            </property>
            <property>
              <name>density</name>
              <type>IdealGasLaw</type>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-5</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2.e3</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-21</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>300.0</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>1.e-06 1.e-08 1.e-08</abstols>
          <reltols>1.e-06 1.e-05 1.e-05</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>IterationNumberBasedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>8.64e6</t_end>
          <initial_dt>70</initial_dt>
          <minimum_dt>1e1</minimum_dt>
          <maximum_dt>8.64e5</maximum_dt>
          <number_iterations>1 4 15 20 40</number_iterations>
          <multiplier>1.2 1.1 1.0 0.62 0.55</multiplier>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>sma_HM_2D_excavation</prefix>
      <suffix>ts{:gtime}</suffix>
      <timesteps>
        <pair>
          <repeat>10</repeat>
          <each_steps>10</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>pressure</variable>
        <variable>pressure_interpolated</variable>
        <variable>velocity</variable>
        <variable>displacement</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>gas_density</variable>
        <variable>MaterialIDs</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>5e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>.3</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>zero</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>T0</name>
      <type>Constant</type>
      <value>300</value>
    </parameter>
    <parameter>
      <name>sigma0</name>
      <type>Function</type>
      <expression>0.3* 0.9* 2000 * 9.81 * y/0.7</expression>
      <expression>0.9* 2000 * 9.81 * y</expression>
      <expression>0.3* 0.9* 2000 * 9.81 * y/0.7</expression>
      <expression>0</expression>
    </parameter>
    <parameter>
      <name>pg_0</name>
      <type>Function</type>
      <expression>1e+5 - 1000 * 9.81 * y</expression>
    </parameter>
    <parameter>
      <name>pg_bc</name>
      <type>Constant</type>
      <value>1.0e+5</value>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>excavation_curve</name>
      <coords>0 8.64e5 1e99</coords>
      <values>0.0 6.5 6.5</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>1</order>
      <initial_condition>displacement0</initial_condition>
      <compensate_non_equilibrium_initial_residuum>true</compensate_non_equilibrium_initial_residuum>
      <boundary_conditions>
        <boundary_condition>
          <mesh>left_mesh</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>right_mesh</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>bottom_mesh</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_curve</time_curve>
          <ball>
            <center>0 -857 0</center>
            <radius>6.5</radius>
          </ball>
          <material_ids>0</material_ids>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>pg_0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>top_mesh</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>pg_0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>bottom_mesh</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>pg_0</parameter>
        </boundary_condition>
      </boundary_conditions>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_curve>excavation_curve</time_curve>
          <ball>
            <center>0 -857 0</center>
            <radius>6.5</radius>
          </ball>
          <material_ids>0</material_ids>
          <boundary_parameter>pg_bc</boundary_parameter>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>300</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>sma_HM_2D_excavation_ts_.*.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>1.0e-8</absolute_tolerance>
      <relative_tolerance>1e-12</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>sma_HM_2D_excavation_ts_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1.0e-10</absolute_tolerance>
      <relative_tolerance>0.0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>sma_HM_2D_excavation_ts_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>3e-7</absolute_tolerance>
      <relative_tolerance>2e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>sma_HM_2D_excavation_ts_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1.0e-10</absolute_tolerance>
      <relative_tolerance>0.0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>