OGS
vdbc_input.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>vdbc_input.vtu</mesh>
    <mesh>vdbc_input_rightBoundary.vtu</mesh>
    <mesh>vdbc_input_leftBoundary.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>hc</name>
      <type>ComponentTransport</type>
      <integration_order>2</integration_order>
      <process_variables>
        <concentration>Si</concentration>
        <pressure>pressure</pressure>
      </process_variables>
      <specific_body_force>0 0</specific_body_force>
      <secondary_variables>
        <secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <components>
            <component>
              <name>Si</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>0</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1</value>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Parameter</type>
                  <parameter_name>decay</parameter_name>
                </property>
              </properties>
            </component>
          </components>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1e3</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1e-3</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Parameter</type>
          <parameter_name>kappa1</parameter_name>
        </property>
        <property>
          <name>porosity</name>
          <type>Parameter</type>
          <parameter_name>constant_porosity_parameter</parameter_name>
        </property>
        <property>
          <name>longitudinal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>transversal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="hc">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltols>5e-8 5e-8</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>250000.0</t_end>
          <timesteps>
            <pair>
              <repeat>500</repeat>
              <delta_t>0.1</delta_t>
            </pair>
            <pair>
              <repeat>550</repeat>
              <delta_t>1.0</delta_t>
            </pair>
            <pair>
              <repeat>540</repeat>
              <delta_t>10.0</delta_t>
            </pair>
            <pair>
              <repeat>42900</repeat>
              <delta_t>10.0</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>vdbc</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1590</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>2400</each_steps>
        </pair>
        <pair>
          <repeat>7000</repeat>
          <each_steps>6000</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>Si</variable>
        <variable>pressure</variable>
        <variable>darcy_velocity</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>decay</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>c_ini</name>
      <type>MeshNode</type>
      <field_name>c_ini</field_name>
    </parameter>
    <parameter>
      <name>p_ini</name>
      <type>MeshNode</type>
      <field_name>p_ini</field_name>
    </parameter>
    <parameter>
      <name>c_left</name>
      <mesh>vdbc_input_leftBoundary</mesh>
      <type>MeshNode</type>
      <field_name>c_ini</field_name>
    </parameter>
    <parameter>
      <name>p_left</name>
      <mesh>vdbc_input_leftBoundary</mesh>
      <type>MeshNode</type>
      <field_name>p_ini</field_name>
    </parameter>
    <parameter>
      <name>constant_porosity_parameter</name>
      <type>Constant</type>
      <value>0.1</value>
    </parameter>
    <parameter>
      <name>kappa1</name>
      <type>Constant</type>
      <values>1.e-9 0 0 1.e-9</values>
    </parameter>
    <parameter>
      <name>Cconstant</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Cconstant</field_name>
    </parameter>
    <parameter>
      <name>Cprefac1</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Cprefac1</field_name>
    </parameter>
    <parameter>
      <name>Cprefac2</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Cprefac2</field_name>
    </parameter>
    <parameter>
      <name>Cprefac3</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Cprefac3</field_name>
    </parameter>
    <parameter>
      <name>Pconstant</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Pconstant</field_name>
    </parameter>
    <parameter>
      <name>Pprefac1</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Pprefac1</field_name>
    </parameter>
    <parameter>
      <name>Pprefac2</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Pprefac2</field_name>
    </parameter>
    <parameter>
      <name>Pprefac3</name>
      <mesh>vdbc_input_rightBoundary</mesh>
      <type>MeshNode</type>
      <field_name>Pprefac3</field_name>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>Si</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c_ini</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <type>Dirichlet</type>
          <mesh>vdbc_input_leftBoundary</mesh>
          <parameter>c_left</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>p_ini</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <type>VariableDependentNeumann</type>
          <mesh>vdbc_input_rightBoundary</mesh>
          <constant_name>Pconstant</constant_name>
          <coefficient_current_variable_name>Pprefac1</coefficient_current_variable_name>
          <coefficient_other_variable_name>Pprefac2</coefficient_other_variable_name>
          <coefficient_mixed_variables_name>Pprefac3</coefficient_mixed_variables_name>
        </boundary_condition>
        <boundary_condition>
          <type>Dirichlet</type>
          <mesh>vdbc_input_leftBoundary</mesh>
          <parameter>p_left</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</type>
      <max_iter>200</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 ilut -tol 1e-12 -maxiter 200000</lis>
      <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>
      <petsc>
        <prefix>hc</prefix>
        <parameters>-hc_ksp_type bcgs -hc_pc_type bjacobi -hc_ksp_rtol 1e-10 -hc_ksp_max_it 20000</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>