OGS
Padilla_NaCl1_quadratic.prj
<OpenGeoSysProject>
  <mesh>Padilla_NaCl1_quadratic.vtu</mesh>
  <geometry>Padilla.gml</geometry>
  <processes>
    <process>
      <name>HusC</name>
      <type>RichardsComponentTransport</type>
      <integration_order>3</integration_order>
      <process_variables>
        <concentration>concentration</concentration>
        <pressure>pressure</pressure>
      </process_variables>
      <specific_body_force>-9.81</specific_body_force>
      <secondary_variables>
        <secondary_variable internal_name="saturation" output_name="saturation" />
        <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>concentration</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Parameter</type>
                  <parameter_name>Dm</parameter_name>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Parameter</type>
                  <parameter_name>retardation_factor</parameter_name>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Parameter</type>
                  <parameter_name>decay_rate</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>storage</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>capillary_pressure</name>
          <type>CapillaryPressureVanGenuchten</type>
          <residual_liquid_saturation>0.1689</residual_liquid_saturation>
          <residual_gas_saturation>0</residual_gas_saturation>
          <exponent>0.789029535864979</exponent>
          <p_b>3633.33</p_b>
          <maximum_capillary_pressure>36333.30</maximum_capillary_pressure>
        </property>
        <property>
          <name>relative_permeability</name>
          <type>RelativePermeabilityVanGenuchten</type>
          <residual_liquid_saturation>0.1689</residual_liquid_saturation>
          <residual_gas_saturation>0</residual_gas_saturation>
          <minimum_relative_permeability_liquid>1e-12</minimum_relative_permeability_liquid>
          <exponent>0.789029535864979</exponent>
        </property>
        <property>
          <name>saturation</name>
          <type>SaturationVanGenuchten</type>
          <residual_liquid_saturation>0.1689</residual_liquid_saturation>
          <residual_gas_saturation>0</residual_gas_saturation>
          <exponent>0.789029535864979</exponent>
          <p_b>3633.33</p_b>
        </property>
        <property>
          <name>longitudinal_dispersivity</name>
          <type>Parameter</type>
          <parameter_name>alpha_l</parameter_name>
        </property>
        <property>
          <name>transversal_dispersivity</name>
          <type>Parameter</type>
          <parameter_name>alpha_l</parameter_name>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="HusC">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltols>1e-3 1e-3</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>20000</t_end>
          <timesteps>
            <pair>
              <repeat>10</repeat>
              <delta_t>1</delta_t>
            </pair>
            <pair>
              <repeat>20</repeat>
              <delta_t>2</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>Padilla_NaCl1_quadratic</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>550</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>500</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>1000</each_steps>
        </pair>
        <pair>
          <repeat>23</repeat>
          <each_steps>50</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>300</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>1000</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>concentration</variable>
        <variable>pressure</variable>
        <variable>saturation</variable>
        <variable>darcy_velocity</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>rho_fluid</name>
      <type>Constant</type>
      <value>1000</value>
    </parameter>
    <parameter>
      <name>decay_rate</name>
      <type>Constant</type>
      <value>0.0</value>
    </parameter>
    <parameter>
      <name>retardation_factor</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>alpha_l</name>
      <type>Constant</type>
      <value>3.4173E-04</value>
    </parameter>
    <parameter>
      <name>Dm</name>
      <type>Constant</type>
      <value>1e-9</value>
    </parameter>
    <parameter>
      <name>c_ini</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>c1</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>p0_mesh</name>
      <type>MeshNode</type>
      <field_name>pressure</field_name>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>p_bottom_NaCl1</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>q_top_NaCl1</name>
      <type>Constant</type>
      <value>2.12789E-05</value>
    </parameter>
    <parameter>
      <name>constant_porosity_parameter</name>
      <type>Constant</type>
      <value>0.45</value>
    </parameter>
    <parameter>
      <name>kappa1</name>
      <type>Constant</type>
      <values>1.17420446658343E-10</values>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>concentration</name>
      <components>1</components>
      <order>2</order>
      <initial_condition>c_ini</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>h_us_mesh</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <parameter>c1</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>2</order>
      <initial_condition>p0_mesh</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>h_us_mesh</geometrical_set>
          <geometry>top</geometry>
          <type>Neumann</type>
          <parameter>q_top_NaCl1</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>h_us_mesh</geometrical_set>
          <geometry>bottom</geometry>
          <type>Dirichlet</type>
          <parameter>p_bottom_NaCl1</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</type>
      <max_iter>100</max_iter>
      <linear_solver>general_linear_solver</linear_solver>
    </nonlinear_solver>
    <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>BiCGSTAB</solver_type>
        <precon_type>DIAGONAL</precon_type>
        <max_iteration_step>10000</max_iteration_step>
        <error_tolerance>1e-10</error_tolerance>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>Padilla_NaCl1_quadratic_ts_.*.vtu</regex>
      <field>concentration</field>
      <absolute_tolerance>5e-8</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Padilla_NaCl1_quadratic_ts_.*.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>5e-7</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>