OGS
load_test_hb_nonassociated.prj
<OpenGeoSysProject>
  <meshes>
    <mesh axially_symmetric="true">load_test_hb.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>HoekBrownC2</behaviour>
        <material_properties>
          <material_property name="YoungModulus" parameter="YoungModulus" />
          <material_property name="PoissonRatio" parameter="PoissonRatio" />
          <material_property name="UniaxialCompressiveStrengthF" parameter="UniaxialCompressiveStrengthF" />
          <material_property name="CurveFittingParameterF" parameter="CurveFittingParameterF" />
          <material_property name="ExponentF" parameter="ExponentF" />
          <material_property name="EstimatedParameterF" parameter="EstimatedParameterF" />
          <material_property name="J2TOL" parameter="delta_tol" />
          <material_property name="InitialJ2" parameter="InitialJ2" />
          <material_property name="TransitionAngle" parameter="TransitionAngle" />
          <material_property name="UniaxialCompressiveStrengthG" parameter="UniaxialCompressiveStrengthG" />
          <material_property name="CurveFittingParameterG" parameter="CurveFittingParameterG" />
          <material_property name="ExponentG" parameter="ExponentG" />
          <material_property name="EstimatedParameterG" parameter="EstimatedParameterG" />
        </material_properties>
      </constitutive_relation>
      <specific_body_force>0 0</specific_body_force>
      <process_variables>
        <process_variable>displacement</process_variable>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="ElasticStrain" output_name="ElasticStrain" />
        <secondary_variable internal_name="EquivalentPlasticStrain" output_name="EquivalentPlasticStrain" />
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium>
      <phases>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2200</value>
            </property>
          </properties>
        </phase>
      </phases>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="SD">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstol>1e-11</abstol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>40</t_end>
          <timesteps>
            <pair>
              <repeat>10</repeat>
              <delta_t>1</delta_t>
            </pair>
            <pair>
              <repeat>10</repeat>
              <delta_t>1</delta_t>
            </pair>
            <pair>
              <repeat>10</repeat>
              <delta_t>1</delta_t>
            </pair>
            <pair>
              <repeat>10</repeat>
              <delta_t>1</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <timesteps>
        <pair>
          <repeat>4000</repeat>
          <each_steps>10</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>ElasticStrain</variable>
        <variable>EquivalentPlasticStrain</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>YoungModulus</name>
      <type>Constant</type>
      <value>600.</value>
    </parameter>
    <parameter>
      <name>PoissonRatio</name>
      <type>Constant</type>
      <value>0.2</value>
    </parameter>
    <parameter>
      <name>UniaxialCompressiveStrengthF</name>
      <type>Constant</type>
      <value>12.</value>
    </parameter>
    <parameter>
      <name>CurveFittingParameterF</name>
      <type>Constant</type>
      <value>0.55</value>
    </parameter>
    <parameter>
      <name>ExponentF</name>
      <type>Constant</type>
      <value>0.55</value>
    </parameter>
    <parameter>
      <name>EstimatedParameterF</name>
      <type>Constant</type>
      <value>0.02</value>
    </parameter>
    <parameter>
      <name>delta_tol</name>
      <type>Constant</type>
      <value>0.00001</value>
    </parameter>
    <parameter>
      <name>InitialJ2</name>
      <type>Constant</type>
      <value>0.00001</value>
    </parameter>
    <parameter>
      <name>TransitionAngle</name>
      <type>Constant</type>
      <value>29</value>
    </parameter>
    <parameter>
      <name>UniaxialCompressiveStrengthG</name>
      <type>Constant</type>
      <value>10.</value>
    </parameter>
    <parameter>
      <name>CurveFittingParameterG</name>
      <type>Constant</type>
      <value>0.055</value>
    </parameter>
    <parameter>
      <name>ExponentG</name>
      <type>Constant</type>
      <value>1.</value>
    </parameter>
    <parameter>
      <name>EstimatedParameterG</name>
      <type>Constant</type>
      <value>1.</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>Dirichlet_left</name>
      <type>Constant</type>
      <value>0.</value>
    </parameter>
    <parameter>
      <name>Dirichlet_bottom</name>
      <type>Constant</type>
      <value>0.</value>
    </parameter>
    <parameter>
      <name>Dirichlet_right</name>
      <type>Constant</type>
      <value>0.</value>
    </parameter>
    <parameter>
      <name>Dirichlet_top</name>
      <type>Constant</type>
      <value>0.</value>
    </parameter>
    <parameter>
      <name>internal_pressure_value</name>
      <type>Constant</type>
      <value>-1.</value>
    </parameter>
    <parameter>
      <name>internal_pressure</name>
      <type>CurveScaled</type>
      <curve>internal_pressure_curve</curve>
      <parameter>internal_pressure_value</parameter>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>internal_pressure_curve</name>
      <coords>0.0 10 20 30 40</coords>
      <values>0.0 1.5 0. 1.5 2.</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_bottom</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>Dirichlet_bottom</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_top</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>Dirichlet_top</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_right</mesh>
          <type>NormalTraction</type>
          <parameter>internal_pressure</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>
      <petsc>
        <parameters>-ksp_type bcgs -pc_type bjacobi -ksp_rtol 1e-15 -ksp_atol 1e-16 -ksp_max_it 4000</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>load_test_hb_ts_.*_t_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>4e-13</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>load_test_hb_ts_.*_t_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>3e-6</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>load_test_hb_ts_.*_t_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>6e-9</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>load_test_hb_ts_.*_t_.*.vtu</regex>
      <field>ElasticStrain</field>
      <absolute_tolerance>5e-9</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>load_test_hb_ts_.*_t_.*.vtu</regex>
      <field>EquivalentPlasticStrain</field>
      <absolute_tolerance>5e-9</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>