OGS
1d_decay_chain_GIA.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>1d_decay_chain.vtu</mesh>
    <mesh>1d_decay_chain_upstream.vtu</mesh>
    <mesh>1d_decay_chain_ReactiveDomain.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>hc</name>
      <type>ComponentTransport</type>
      <integration_order>2</integration_order>
      <process_variables>
        <concentration>[Cm-247]</concentration>
        <concentration>[Am-243]</concentration>
        <concentration>[Pu-239]</concentration>
        <concentration>[U-235]</concentration>
        <concentration>[Pa-231]</concentration>
        <concentration>[Ac-227]</concentration>
        <pressure>pressure</pressure>
      </process_variables>
      <specific_body_force>0</specific_body_force>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <components>
            <component>
              <name>[Cm-247]</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>1e-11</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1</value>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Constant</type>
                  <value>0</value>
                </property>
              </properties>
            </component>
            <component>
              <name>[Am-243]</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>1e-11</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1</value>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Constant</type>
                  <value>0</value>
                </property>
              </properties>
            </component>
            <component>
              <name>[Pu-239]</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>1e-11</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1</value>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Constant</type>
                  <value>0</value>
                </property>
              </properties>
            </component>
            <component>
              <name>[U-235]</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>1e-11</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1</value>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Constant</type>
                  <value>0</value>
                </property>
              </properties>
            </component>
            <component>
              <name>[Pa-231]</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>1e-11</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1</value>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Constant</type>
                  <value>0</value>
                </property>
              </properties>
            </component>
            <component>
              <name>[Ac-227]</name>
              <properties>
                <property>
                  <name>pore_diffusion</name>
                  <type>Constant</type>
                  <value>1e-11</value>
                </property>
                <property>
                  <name>retardation_factor</name>
                  <type>Constant</type>
                  <value>1</value>
                </property>
                <property>
                  <name>decay_rate</name>
                  <type>Constant</type>
                  <value>0</value>
                </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>kappa</parameter_name>
        </property>
        <property>
          <name>porosity</name>
          <type>Parameter</type>
          <parameter_name>porosity</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>1e-14 1e-14 1e-14 1e-14 1e-14 1e-14 1e-14</reltols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0.0</t_initial>
          <t_end>3.1536e12</t_end>
          <timesteps>
            <pair>
              <repeat>1000</repeat>
              <delta_t>3.1536e9</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>1d_decay_chain_GIA_8</prefix>
      <suffix>ts{:timestep}_t_{:time}</suffix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>10</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>90</each_steps>
        </pair>
        <pair>
          <repeat>1</repeat>
          <each_steps>900</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>[Cm-247]</variable>
        <variable>[Am-243]</variable>
        <variable>[Pu-239]</variable>
        <variable>[U-235]</variable>
        <variable>[Pa-231]</variable>
        <variable>[Ac-227]</variable>
        <variable>pressure</variable>
      </variables>
    </output>
  </time_loop>
  <chemical_system chemical_solver="SelfContained">
    <mesh>1d_decay_chain_ReactiveDomain</mesh>
    <linear_solver>general_linear_solver</linear_solver>
    <number_of_components>6</number_of_components>
    <chemical_reactions>
      <chemical_reaction>
        <stoichiometric_coefficients>-1 1 0 0 0 0</stoichiometric_coefficients>
        <reaction_type>FirstOrderReaction</reaction_type>
        <first_order_rate_constant>1.4089456993390242e-15</first_order_rate_constant>
      </chemical_reaction>
      <chemical_reaction>
        <stoichiometric_coefficients>0 -1 1 0 0 0</stoichiometric_coefficients>
        <reaction_type>FirstOrderReaction</reaction_type>
        <first_order_rate_constant>2.982300259116523e-12</first_order_rate_constant>
      </chemical_reaction>
      <chemical_reaction>
        <stoichiometric_coefficients>0 0 -1 1 0 0</stoichiometric_coefficients>
        <reaction_type>FirstOrderReaction</reaction_type>
        <first_order_rate_constant>9.120146435555509e-13</first_order_rate_constant>
      </chemical_reaction>
      <chemical_reaction>
        <stoichiometric_coefficients>0 0 0 -1 1 0</stoichiometric_coefficients>
        <reaction_type>FirstOrderReaction</reaction_type>
        <first_order_rate_constant>3.1220955837626104e-17</first_order_rate_constant>
      </chemical_reaction>
      <chemical_reaction>
        <stoichiometric_coefficients>0 0 0 0 -1 1</stoichiometric_coefficients>
        <reaction_type>FirstOrderReaction</reaction_type>
        <first_order_rate_constant>6.701083204173407e-13</first_order_rate_constant>
      </chemical_reaction>
      <chemical_reaction>
        <stoichiometric_coefficients>0 0 0 0 0 -1</stoichiometric_coefficients>
        <reaction_type>FirstOrderReaction</reaction_type>
        <first_order_rate_constant>1.0094866536393138e-9</first_order_rate_constant>
      </chemical_reaction>
    </chemical_reactions>
  </chemical_system>
  <parameters>
    <parameter>
      <name>kappa</name>
      <type>Constant</type>
      <values>1.157e-12</values>
    </parameter>
    <parameter>
      <name>porosity</name>
      <type>Constant</type>
      <value>0.12</value>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Constant</type>
      <value>1e5</value>
    </parameter>
    <parameter>
      <name>c0_default</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>c_default</name>
      <type>Constant</type>
      <value>1</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>1d_decay_chain_ReactiveDomain</mesh>
          <type>Dirichlet</type>
          <parameter>p0</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>[Cm-247]</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c0_default</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>1d_decay_chain_upstream</mesh>
          <type>Dirichlet</type>
          <parameter>c_default</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>[Am-243]</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c0_default</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>1d_decay_chain_upstream</mesh>
          <type>Dirichlet</type>
          <parameter>c_default</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>[Pu-239]</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c0_default</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>1d_decay_chain_upstream</mesh>
          <type>Dirichlet</type>
          <parameter>c_default</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>[U-235]</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c0_default</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>1d_decay_chain_upstream</mesh>
          <type>Dirichlet</type>
          <parameter>c_default</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>[Pa-231]</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c0_default</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>1d_decay_chain_upstream</mesh>
          <type>Dirichlet</type>
          <parameter>c_default</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>[Ac-227]</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>c0_default</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>1d_decay_chain_upstream</mesh>
          <type>Dirichlet</type>
          <parameter>c_default</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 cg -p jacobi -tol 1e-16 -maxiter 20000</lis>
      <eigen>
        <solver_type>BiCGSTAB</solver_type>
        <precon_type>ILUT</precon_type>
        <max_iteration_step>10000</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-8 -hc_ksp_max_it 20000</parameters>
      </petsc>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>