OGS
|
<OpenGeoSysProject>
<meshes>
<mesh>1D_MLD.vtu</mesh>
<mesh>1D_MLD_left.vtu</mesh>
<mesh>1D_MLD_right.vtu</mesh>
</meshes>
<processes>
<process>
<name>hc</name>
<type>ComponentTransport</type>
<integration_order>2</integration_order>
<coupling_scheme>staggered</coupling_scheme>
<process_variables>
<concentration>HTO</concentration>
<pressure>pressure</pressure>
</process_variables>
<specific_body_force>0</specific_body_force>
<secondary_variables>
<secondary_variable internal_name="HTOFlux" output_name="HTOFlux" />
</secondary_variables>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<components>
<component>
<name>HTO</name>
<properties>
<property>
<name>pore_diffusion</name>
<type>Constant</type>
<value>5.555555555555556e-10</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>Constant</type>
<value>1e-18</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.36</value>
</property>
<property>
<name>longitudinal_dispersivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>transversal_dispersivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
</properties>
</medium>
<medium id="1">
<phases>
<phase>
<type>AqueousLiquid</type>
<components>
<component>
<name>HTO</name>
<properties>
<property>
<name>pore_diffusion</name>
<type>Constant</type>
<value>8.333333333333333e-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>Constant</type>
<value>1e-18</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.12</value>
</property>
<property>
<name>longitudinal_dispersivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>transversal_dispersivity</name>
<type>Constant</type>
<value>0.0</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_newton</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>3.1536e13</t_end>
<timesteps>
<pair>
<repeat>1000</repeat>
<delta_t>3.1536e10</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
<process ref="hc">
<nonlinear_solver>basic_newton</nonlinear_solver>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>5e-13</reltol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>3.1536e13</t_end>
<timesteps>
<pair>
<repeat>1000</repeat>
<delta_t>3.1536e10</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>1D_MultiLayerDiffusion</prefix>
<timesteps>
<pair>
<repeat>1</repeat>
<each_steps>1</each_steps>
</pair>
<pair>
<repeat>1</repeat>
<each_steps>9</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>HTO</variable>
<variable>HTOFlowRate</variable>
<variable>pressure</variable>
<variable>HTOFlux</variable>
</variables>
</output>
</time_loop>
<parameters>
<parameter>
<name>p0</name>
<type>Constant</type>
<value>1e5</value>
</parameter>
<parameter>
<name>p_Neumann</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>c0</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>c_inlet</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_MLD_left</mesh>
<type>Dirichlet</type>
<parameter>p0</parameter>
</boundary_condition>
<boundary_condition>
<mesh>1D_MLD_right</mesh>
<type>Neumann</type>
<parameter>p_Neumann</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>HTO</name>
<components>1</components>
<order>1</order>
<initial_condition>c0</initial_condition>
<boundary_conditions>
<boundary_condition>
<mesh>1D_MLD_left</mesh>
<type>Dirichlet</type>
<parameter>c_inlet</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<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>
<lis>-i bicgstab -p ilut -tol 1e-8 -maxiter 20000</lis>
<eigen>
<solver_type>BiCGSTAB</solver_type>
<precon_type>ILUT</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-8 -hc_ksp_max_it 20000</parameters>
</petsc>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<regex>1D_MultiLayerDiffusion_ts_[0-9]*_t_[0-9]*.000000.vtu</regex>
<field>HTO</field>
<absolute_tolerance>1e-10</absolute_tolerance>
<relative_tolerance>1e-16</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>1D_MultiLayerDiffusion_ts_[0-9]*_t_[0-9]*.000000.vtu</regex>
<field>HTOFlowRate</field>
<absolute_tolerance>1e-10</absolute_tolerance>
<relative_tolerance>1e-16</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>