OGS
single_fracture_CZ_kf_cubic.prj
<OpenGeoSysProject>
  <mesh>single_fracture_2x2_mesh2.vtu</mesh>
  <geometry>single_fracture_2x2.gml</geometry>
  <processes>
    <process>
      <name>HM</name>
      <type>HYDRO_MECHANICS_WITH_LIE</type>
      <integration_order>3</integration_order>
      <process_variables>
        <process_variable>pressure</process_variable>
        <process_variable>displacement</process_variable>
        <process_variable>displacement_jump1</process_variable>
      </process_variables>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <intrinsic_permeability>k</intrinsic_permeability>
      <specific_storage>S</specific_storage>
      <fluid_viscosity>mu</fluid_viscosity>
      <biot_coefficient>biot_m</biot_coefficient>
      <porosity>phi</porosity>
      <solid_density>rho_sr</solid_density>
      <fluid_density>rho_fr</fluid_density>
      <specific_body_force>0 0</specific_body_force>
      <initial_effective_stress>effective_stress0</initial_effective_stress>
      <fracture_model>
        <type>CohesiveZoneModeI</type>
        <normal_stiffness>Kn</normal_stiffness>
        <shear_stiffness>Ks</shear_stiffness>
        <fracture_toughness>Gc</fracture_toughness>
        <peak_normal_traction>t_np</peak_normal_traction>
        <penalty_aperture_cutoff>1e-8</penalty_aperture_cutoff>
        <tension_cutoff>1</tension_cutoff>
      </fracture_model>
      <fracture_properties>
        <material_id>0</material_id>
        <initial_aperture>aperture0</initial_aperture>
        <specific_storage>S_f</specific_storage>
        <biot_coefficient>biot_f</biot_coefficient>
        <permeability_model>
          <type>CubicLaw</type>
        </permeability_model>
      </fracture_properties>
      <initial_fracture_effective_stress>fracture_effective_stress0</initial_fracture_effective_stress>
      <deactivate_matrix_in_flow>true</deactivate_matrix_in_flow>
      <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_variable internal_name="fracture_velocity" output_name="fracture_velocity" />
        <secondary_variable internal_name="fracture_permeability" output_name="fracture_permeability" />
        <secondary_variable internal_name="fracture_stress" output_name="fracture_stress" />
        <secondary_variable internal_name="fracture_aperture" output_name="fracture_aperture" />
      </secondary_variables>
    </process>
  </processes>
  <time_loop>
    <processes>
      <process ref="HM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentResidual</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-18 1e-7 1e-5 1e-8 1e-6</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>10000</t_end>
          <timesteps>
            <pair>
              <repeat>300</repeat>
              <delta_t>0.1</delta_t>
            </pair>
            <pair>
              <repeat>10</repeat>
              <delta_t>1</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>10</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>out_single_fracture_CZ_kf_cubic</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1306</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>100</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>pressure</variable>
        <variable>displacement</variable>
        <variable>displacement_jump1</variable>
        <variable>pressure_interpolated</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>velocity</variable>
        <variable>fracture_stress</variable>
        <variable>fracture_velocity</variable>
        <variable>fracture_permeability</variable>
        <variable>fracture_aperture</variable>
        <variable>sigma_avg</variable>
        <variable>velocity_avg</variable>
        <variable>local_jump_w_avg</variable>
        <variable>fracture_velocity_avg</variable>
        <variable>fracture_stress_avg</variable>
        <variable>fracture_aperture_avg</variable>
        <variable>fracture_permeability_avg</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>rho_fr</name>
      <type>Constant</type>
      <value>1e3</value>
    </parameter>
    <parameter>
      <name>mu</name>
      <type>Constant</type>
      <value>1e-3</value>
    </parameter>
    <parameter>
      <name>rho_sr</name>
      <type>Constant</type>
      <value>0.0</value>
    </parameter>
    <parameter>
      <name>phi</name>
      <type>Constant</type>
      <value>1e-3</value>
    </parameter>
    <parameter>
      <name>k</name>
      <type>Constant</type>
      <value>1e-17</value>
    </parameter>
    <parameter>
      <name>S</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>biot_m</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>1e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.0</value>
    </parameter>
    <parameter>
      <name>aperture0</name>
      <type>Constant</type>
      <value>1e-5</value>
    </parameter>
    <parameter>
      <name>S_f</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>biot_f</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>Kn</name>
      <type>Constant</type>
      <value>1e9</value>
    </parameter>
    <parameter>
      <name>Ks</name>
      <type>Constant</type>
      <value>1e8</value>
    </parameter>
    <parameter>
      <name>Gc</name>
      <type>Constant</type>
      <value>4</value>
    </parameter>
    <parameter>
      <name>t_np</name>
      <type>Constant</type>
      <value>5.0e4</value>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>p_in</name>
      <type>Constant</type>
      <values>1E5</values>
    </parameter>
    <parameter>
      <name>p_out</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>effective_stress0</name>
      <type>Constant</type>
      <values>0.0 0.0 0.0 0</values>
    </parameter>
    <parameter>
      <name>fracture_effective_stress0</name>
      <type>Constant</type>
      <values>0 0.0</values>
    </parameter>
    <parameter>
      <name>zero_u</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>load_top</name>
      <type>Constant</type>
      <value>0.0</value>
    </parameter>
    <parameter>
      <name>load_bottom</name>
      <type>Constant</type>
      <value>1e5</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>p0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>InjectionPoint</geometry>
          <type>Dirichlet</type>
          <parameter>p_in</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>OutletPoint</geometry>
          <type>Dirichlet</type>
          <parameter>p_out</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>PLY_SOUTH</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero_u</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>PLY_WEST</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero_u</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>PLY_EAST</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero_u</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>PLY_NORTH</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero_u</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>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>InjectionPoint</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero_u</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>single_fracture</geometrical_set>
          <geometry>OutletPoint</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>zero_u</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>100</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>1</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-12</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>pressure_interpolated</field>
      <absolute_tolerance>1e-12</absolute_tolerance>
      <relative_tolerance>1e-12</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>displacement_jump1</field>
      <absolute_tolerance>1e-12</absolute_tolerance>
      <relative_tolerance>1e-12</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>1.e-8</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>velocity</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_stress</field>
      <absolute_tolerance>1.e-10</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_velocity</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_permeability</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_aperture</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>sigma_avg</field>
      <absolute_tolerance>1.e-9</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>velocity_avg</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>local_jump_w_avg</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_velocity_avg</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_stress_avg</field>
      <absolute_tolerance>1.e-10</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_aperture_avg</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>out_single_fracture_CZ_kf_cubic_.*.vtu</regex>
      <field>fracture_permeability_avg</field>
      <absolute_tolerance>1.e-12</absolute_tolerance>
      <relative_tolerance>1.e-11</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>