OGS
classical_transport_example.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>mesh_2D.vtu</mesh>
    <mesh>geometry_right.vtu</mesh>
    <mesh>geometry_left.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HC</name>
      <type>ComponentTransport</type>
      <integration_order>4</integration_order>
      <process_variables>
        <concentration>C</concentration>
        <pressure>pressure</pressure>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity" />
      </secondary_variables>
      <specific_body_force>0 0</specific_body_force>
      <numerical_stabilization>
        <type>IsotropicDiffusion</type>
        <tuning_parameter>0.15</tuning_parameter>
        <cutoff_velocity>0.e-0</cutoff_velocity>
      </numerical_stabilization>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <components>
            <component>
              <name>C</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>1.e-9</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1.0</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>1</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.0</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.e-9</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>longitudinal_dispersivity</name>
          <type>Constant</type>
          <value>0</value>
        </property>
        <property>
          <name>transversal_dispersivity</name>
          <type>Constant</type>
          <value>0.0</value>
        </property>
      </properties>
    </medium>
  </media>
  <parameters>
    <parameter>
      <name>decay</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>C0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>C1</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>p1</name>
      <type>Constant</type>
      <value>8.0e+4</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>
          <mesh>geometry_left</mesh>
          <type>Dirichlet</type>
          <parameter>p1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_right</mesh>
          <type>Dirichlet</type>
          <parameter>p0</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>C</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>C0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>geometry_right</mesh>
          <type>Dirichlet</type>
          <parameter>C0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>geometry_left</mesh>
          <type>Dirichlet</type>
          <parameter>C1</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <time_loop>
    <processes>
      <process ref="HC">
        <nonlinear_solver>basic_picard</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltols>1e-12 1e-10</reltols>
          <abstols>1e-9 1e-6</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>7200</t_end>
          <timesteps>
            <pair>
              <repeat>200</repeat>
              <delta_t>18</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>classical_transport_example</prefix>
      <suffix>t{:0.2ftime}</suffix>
      <timesteps>
        <pair>
          <repeat>1000</repeat>
          <each_steps>10</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>C</variable>
        <variable>pressure</variable>
        <variable>velocity</variable>
      </variables>
      <fixed_output_times>3600 4800</fixed_output_times>
    </output>
  </time_loop>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_picard</name>
      <type>Picard</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>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>