OGS
sfrac.q.prj
<OpenGeoSysProject>
  <mesh>sfrac.q.vtu</mesh>
  <geometry>single_joint.gml</geometry>
  <processes>
    <process>
      <name>SD</name>
      <type>SMALL_DEFORMATION_WITH_LIE</type>
      <integration_order>3</integration_order>
      <process_variables>
        <process_variable>displacement</process_variable>
        <process_variable>displacement_jump1</process_variable>
        <process_variable>displacement_jump2</process_variable>
        <process_variable>displacement_jump3</process_variable>
        <process_variable>displacement_jump4</process_variable>
      </process_variables>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <fracture_model>
        <type>LinearElasticIsotropic</type>
        <normal_stiffness>Kn</normal_stiffness>
        <shear_stiffness>Ks</shear_stiffness>
        <penalty_aperture_cutoff>1e-5</penalty_aperture_cutoff>
        <tension_cutoff>1</tension_cutoff>
      </fracture_model>
      <fracture_properties>
        <material_id>1</material_id>
        <initial_aperture>aperture0</initial_aperture>
      </fracture_properties>
      <fracture_properties>
        <material_id>2</material_id>
        <initial_aperture>aperture0</initial_aperture>
      </fracture_properties>
      <fracture_properties>
        <material_id>3</material_id>
        <initial_aperture>aperture0</initial_aperture>
      </fracture_properties>
    </process>
  </processes>
  <time_loop>
    <processes>
      <process ref="SD">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>Residual</type>
          <norm_type>NORM2</norm_type>
          <abstol>1e-6</abstol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>1</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>1.0</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>sfrac</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>10000000</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>displacement_jump1</variable>
        <variable>displacement_jump2</variable>
        <variable>displacement_jump3</variable>
        <variable>displacement_jump4</variable>
        <variable>fracture_stress_avg</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>1e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.25</value>
    </parameter>
    <parameter>
      <name>Kn</name>
      <type>Constant</type>
      <value>1e11</value>
    </parameter>
    <parameter>
      <name>Ks</name>
      <type>Constant</type>
      <value>1e10</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>aperture0</name>
      <type>Constant</type>
      <value>1e-5</value>
    </parameter>
    <parameter>
      <name>load</name>
      <type>Constant</type>
      <value>-1e+6</value>
    </parameter>
    <parameter>
      <name>zero_u</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>single_joint</geometrical_set>
          <geometry>PLY_BOTTOM</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero_u</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>single_joint</geometrical_set>
          <geometry>POINT0</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero_u</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>single_joint</geometrical_set>
          <geometry>PLY_TOP</geometry>
          <type>Neumann</type>
          <component>1</component>
          <parameter>load</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>displacement_jump1</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions />
    </process_variable>
    <process_variable>
      <name>displacement_jump2</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions />
    </process_variable>
    <process_variable>
      <name>displacement_jump3</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions />
    </process_variable>
    <process_variable>
      <name>displacement_jump4</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions />
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>15</max_iter>
      <linear_solver>general_linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>general_linear_solver</name>
      <lis>-i bicgstab -p jacobi -tol 1e-16 -maxiter 10000</lis>
      <eigen>
        <solver_type>CG</solver_type>
        <precon_type>DIAGONAL</precon_type>
        <max_iteration_step>10000</max_iteration_step>
        <error_tolerance>1e-16</error_tolerance>
      </eigen>
      <petsc>
        <prefix>sd</prefix>
        <parameters>-sd_ksp_type cg -sd_pc_type bjacobi -sd_ksp_rtol 1e-16 -sd_ksp_max_it 10000</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>