OGS  master
ConTracer_2d.prj
<OpenGeoSysProject>
  <mesh>ConTracer_2.vtu</mesh>
  <geometry>ConTracer_2d.gml</geometry>
  <processes>
    <process>
      <name>hc</name>
      <type>ComponentTransport</type>
      <integration_order>2</integration_order>
      <coupling_scheme>staggered</coupling_scheme>
      <process_variables>
        <concentration>Cs</concentration>
        <pressure>pressure</pressure>
      </process_variables>
      <specific_body_force>0 -9.81</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>Cs</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>0.0e-9</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>KozenyCarman</type>
          <initial_permeability>kappa</initial_permeability>
          <initial_porosity>porosity</initial_porosity>
        </property>
        <property>
          <name>porosity</name>
          <type>Parameter</type>
          <parameter_name>porosity</parameter_name>
        </property>
        <property>
          <name>longitudinal_dispersivity</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>transversal_dispersivity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <global_process_coupling>
      <max_iter>6</max_iter>
      <convergence_criteria>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1e-14</reltol>
        </convergence_criterion>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1e-14</reltol>
        </convergence_criterion>
      </convergence_criteria>
    </global_process_coupling>
    <processes>
      <process ref="hc">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1e-14</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>1184400</t_end>
          <timesteps>
            <pair>
              <repeat>336</repeat>
              <delta_t>3600</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
      <process ref="hc">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1e-14</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>1184400</t_end>
          <timesteps>
            <pair>
              <repeat>336</repeat>
              <delta_t>3600</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>ConTracer_2d</prefix>
      <timesteps>
        <pair>
          <repeat>333</repeat>
          <each_steps>30</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>Cs</variable>
        <variable>pressure</variable>
        <variable>darcy_velocity</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>kappa</name>
      <type>Constant</type>
      <values>1.0e-8 0 0 1.0e-8</values>
    </parameter>
    <parameter>
      <name>porosity</name>
      <type>Constant</type>
      <value>0.38</value>
    </parameter>
    <parameter>
      <name>retardation</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>decay</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Function</type>
      <expression>9810-(9810*y)</expression>
    </parameter>
    <parameter>
      <name>p_Neumann_left</name>
      <type>Constant</type>
      <value>3.27546e-2</value>
    </parameter>
    <parameter>
      <name>p_Dirichlet_right</name>
      <type>Constant</type>
      <value>9320</value>
    </parameter>
    <parameter>
      <name>c0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>c_spatial</name>
      <type>Constant</type>
      <value>1.19438</value>
    </parameter>
    <parameter>
      <name>c_Dirichlet_left</name>
      <type>CurveScaled</type>
      <curve>c_temporal</curve>
      <parameter>c_spatial</parameter>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>c_temporal</name>
      <coords>0 3600 3600.001 2000000</coords>
      <values>1 1 0 0</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>p0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>geometry</geometrical_set>
          <geometry>outlet</geometry>
          <type>Dirichlet</type>
          <parameter>p_Dirichlet_right</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Neumann</type>
          <parameter>p_Neumann_left</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>Cs</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <parameter>c_Dirichlet_left</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</type>
      <max_iter>10</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-14 -maxiter 1000</lis>
      <eigen>
        <solver_type>BiCGSTAB</solver_type>
        <precon_type>ILUT</precon_type>
        <max_iteration_step>1000</max_iteration_step>
        <error_tolerance>1e-14</error_tolerance>
      </eigen>
      <petsc>
        <prefix>hc</prefix>
        <parameters>-hc_ksp_type bcgs -hc_pc_type bjacobi -hc_ksp_rtol 1e-14 -hc_ksp_max_it 20000</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>