OGS
constraint_bc_1e3.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>cube_1x1x1_hex_1e3.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left0.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left1.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left2.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left3.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left4.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left5.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left6.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left7.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left8.vtu</mesh>
    <mesh>cube_1x1x1_geometry_left9.vtu</mesh>
    <mesh>cube_1x1x1_geometry_right.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>LiquidFlow</name>
      <type>LIQUID_FLOW</type>
      <integration_order>2</integration_order>
      <process_variables>
        <process_variable>p</process_variable>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="darcy_velocity" output_name="v" />
      </secondary_variables>
      <specific_body_force>0.0 0.0 -9.81</specific_body_force>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1.e3</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-14 0 0 0 1.e-14 0 0 0 1.e-14</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>storage</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="LiquidFlow">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstol>1.e-3</abstol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>1e-7</t_end>
          <timesteps>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-7</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-5</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-3</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>1e-1</delta_t>
            </pair>
            <pair>
              <repeat>1</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>LF_constraint_bc_1e3</prefix>
      <timesteps>
        <pair>
          <repeat>10</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>p</variable>
        <variable>darcy_velocity</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>P0</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left0</name>
      <type>Constant</type>
      <value>3e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left1</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left2</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left3</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left4</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left5</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left6</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left7</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left8</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_left9</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_right</name>
      <type>Constant</type>
      <value>2.99e7</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>p</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>P0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left0</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left1</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left2</mesh>
          <type>ConstraintDirichlet</type>
          <parameter>p_Dirichlet_left2</parameter>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left3</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left3</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left4</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left4</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left5</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left5</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left6</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left6</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left7</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left7</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left8</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left8</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_left9</mesh>
          <type>ConstraintDirichlet</type>
          <constraint_type>Flux</constraint_type>
          <constraining_process_variable>p</constraining_process_variable>
          <constraint_threshold>0.0</constraint_threshold>
          <constraint_direction>greater</constraint_direction>
          <parameter>p_Dirichlet_left9</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>cube_1x1x1_geometry_right</mesh>
          <type>Dirichlet</type>
          <parameter>p_Dirichlet_right</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</type>
      <max_iter>1000</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-12 -maxiter 10000</lis>
      <petsc>
        <prefix>T</prefix>
        <parameters>-T_ksp_type bcgs -T_pc_type bjacobi -T_ksp_rtol 1e-16 -T_ksp_max_it 4000</parameters>
      </petsc>
      <eigen>
        <solver_type>BiCGSTAB</solver_type>
        <precon_type>DIAGONAL</precon_type>
        <max_iteration_step>10000</max_iteration_step>
        <error_tolerance>1e-12</error_tolerance>
      </eigen>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>