OGS  master
model_triaxtest.prj
<OpenGeoSysProject>
  <meshes>
    <mesh axially_symmetric="true">model.vtu</mesh>
    <mesh axially_symmetric="true">geometry_left.vtu</mesh>
    <mesh axially_symmetric="true">geometry_right.vtu</mesh>
    <mesh axially_symmetric="true">geometry_top.vtu</mesh>
    <mesh axially_symmetric="true">geometry_bottom.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>SD</name>
      <type>SMALL_DEFORMATION</type>
      <integration_order>2</integration_order>
      <constitutive_relation>
        <type>MFront</type>
        <behaviour>ModCamClay_semiExplParaInit</behaviour>
        <material_properties>
          <material_property name="YoungModulus" parameter="YoungModulus" />
          <material_property name="PoissonRatio" parameter="PoissonRatio" />
          <material_property name="CriticalStateLineSlope" parameter="CriticalStateLineSlope" />
          <material_property name="SwellingLineSlope" parameter="SwellingLineSlope" />
          <material_property name="VirginConsolidationLineSlope" parameter="VirginConsolidationLineSlope" />
          <material_property name="InitialPreConsolidationPressure" parameter="InitialPreConsolidationPressure" />
          <material_property name="InitialPorosity" parameter="InitialPorosity" />
        </material_properties>
      </constitutive_relation>
      <solid_density>rho_sr</solid_density>
      <specific_body_force>0 0</specific_body_force>
      <process_variables>
        <process_variable>displacement</process_variable>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="ElasticStrain" output_name="ElasticStrain" />
        <secondary_variable internal_name="EquivalentPlasticStrain" output_name="EquivalentPlasticStrain" />
        <secondary_variable internal_name="PreConsolidationPressure" output_name="PreConsolidationPressure" />
        <secondary_variable internal_name="VolumeRatio" output_name="VolumeRatio" />
        <secondary_variable internal_name="Porosity" output_name="Porosity" />
        <secondary_variable internal_name="PlasticVolumetricStrain" output_name="PlasticVolumetricStrain" />
      </secondary_variables>
    </process>
  </processes>
  <time_loop>
    <processes>
      <process ref="SD">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>INFINITY_N</norm_type>
          <abstol>1e-12</abstol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>IterationNumberBasedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>1</t_end>
          <initial_dt>0.001</initial_dt>
          <minimum_dt>1.e-3</minimum_dt>
          <maximum_dt>1.e-1</maximum_dt>
          <number_iterations>1 5 10 15</number_iterations>
          <multiplier>1.2 1.0 0.8 0.6</multiplier>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>triaxtest_output</prefix>
      <timesteps>
        <pair>
          <repeat>10000</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>YoungModulus</name>
      <type>Constant</type>
      <value>52e6</value>
    </parameter>
    <parameter>
      <name>PoissonRatio</name>
      <type>Constant</type>
      <value>0.3</value>
    </parameter>
    <parameter>
      <name>CriticalStateLineSlope</name>
      <type>Constant</type>
      <value>1.2</value>
    </parameter>
    <parameter>
      <name>SwellingLineSlope</name>
      <type>Constant</type>
      <value>6.6e-3</value>
    </parameter>
    <parameter>
      <name>VirginConsolidationLineSlope</name>
      <type>Constant</type>
      <value>7.7e-2</value>
    </parameter>
    <parameter>
      <name>InitialPreConsolidationPressure</name>
      <type>Constant</type>
      <value>2.e5</value>
    </parameter>
    <parameter>
      <name>InitialPorosity</name>
      <type>Constant</type>
      <value>0.44</value>
    </parameter>
    <parameter>
      <name>rho_sr</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>zero</name>
      <type>Constant</type>
      <value>0.0</value>
    </parameter>
    <parameter>
      <name>axial_pressure</name>
      <type>CurveScaled</type>
      <curve>ax_loading_curve</curve>
      <parameter>loading_value_top</parameter>
    </parameter>
    <parameter>
      <name>loading_value_top</name>
      <type>Constant</type>
      <value>-625.e3</value>
    </parameter>
    <parameter>
      <name>confining_pressure_value</name>
      <type>Constant</type>
      <values>-200.e3</values>
    </parameter>
    <parameter>
      <name>confining_pressure</name>
      <type>CurveScaled</type>
      <curve>pre_loading_curve</curve>
      <parameter>confining_pressure_value</parameter>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>ax_loading_curve</name>
      <coords>0.0 0.02 1</coords>
      <values>0.0 0.32 1.0</values>
    </curve>
    <curve>
      <name>pre_loading_curve</name>
      <coords>0.0 0.02 1</coords>
      <values>0.0 1.0 1.05</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>geometry_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_top</mesh>
          <type>Neumann</type>
          <component>1</component>
          <parameter>axial_pressure</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_right</mesh>
          <type>Neumann</type>
          <component>0</component>
          <parameter>confining_pressure</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>60</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>
      <file>triaxtest_output_ts_99_t_0.484319.vtu</file>
      <field>displacement</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>triaxtest_output_ts_199_t_1.000000.vtu</file>
      <field>displacement</field>
      <absolute_tolerance>7e-13</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>triaxtest_output_ts_99_t_0.484319.vtu</file>
      <field>sigma</field>
      <absolute_tolerance>6e-9</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>triaxtest_output_ts_199_t_1.000000.vtu</file>
      <field>sigma</field>
      <absolute_tolerance>9e-8</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>triaxtest_output_ts_99_t_0.484319.vtu</file>
      <field>PreConsolidationPressure</field>
      <absolute_tolerance>3e-9</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <file>triaxtest_output_ts_199_t_1.000000.vtu</file>
      <field>PreConsolidationPressure</field>
      <absolute_tolerance>5e-8</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>