OGS
|
<OpenGeoSysProject>
<meshes>
<mesh>mass_conservation.vtu</mesh>
<mesh>mass_conservation_leftBoundary.vtu</mesh>
<mesh>mass_conservation_rightBoundary.vtu</mesh>
</meshes>
<processes>
<process>
<name>hc</name>
<type>ComponentTransport</type>
<integration_order>2</integration_order>
<process_variables>
<concentration>concentration</concentration>
<pressure>pressure</pressure>
</process_variables>
<non_advective_form>true</non_advective_form>
<specific_body_force>0 0 0</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>concentration</name>
<properties>
<property>
<name>pore_diffusion</name>
<value>1e-7</value>
<type>Constant</type>
</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>Linear</type>
<reference_value>1e3</reference_value>
<independent_variable>
<variable_name>concentration</variable_name>
<reference_condition>0</reference_condition>
<slope>0.0</slope>
</independent_variable>
</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>transversal_dispersivity</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>longitudinal_dispersivity</name>
<type>Constant</type>
<value>1</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>5e-5 5e-5</reltols>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>IterationNumberBasedTimeStepping</type>
<t_initial>0</t_initial>
<t_end>1e6</t_end>
<initial_dt>1e2</initial_dt>
<minimum_dt>1e-1</minimum_dt>
<maximum_dt>1e5</maximum_dt>
<number_iterations>1 2 3 4 5 6 7 8 9 10</number_iterations>
<multiplier>1.005 1.001 0.999 0.995 0.975 0.95 0.925 0.9 0.85 0.5</multiplier>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>mass_conservation_ogsOutput</prefix>
<timesteps>
<pair>
<repeat>1</repeat>
<each_steps>300</each_steps>
</pair>
</timesteps>
<output_iteration_results>false</output_iteration_results>
<variables>
<variable>concentration</variable>
<variable>pressure</variable>
<variable>darcy_velocity</variable>
</variables>
<suffix>ts{:timestep}_t_{:time}</suffix>
</output>
</time_loop>
<parameters>
<parameter>
<name>decay</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>c_ini</name>
<type>MeshNode</type>
<field_name>c_ini</field_name>
</parameter>
<parameter>
<name>p_ini</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>constant_porosity_parameter</name>
<type>Constant</type>
<value>0.01</value>
</parameter>
<parameter>
<name>kappa1</name>
<type>Constant</type>
<values>1.239e-11 0 0 0 1.239e-11 0 0 0 1.239e-11</values>
</parameter>
<parameter>
<name>q_ini_rightBoundary</name>
<type>MeshNode</type>
<field_name>q_ini</field_name>
<mesh>mass_conservation_rightBoundary</mesh>
</parameter>
</parameters>
<process_variables>
<process_variable>
<name>concentration</name>
<components>1</components>
<order>1</order>
<initial_condition>c_ini</initial_condition>
<boundary_conditions />
</process_variable>
<process_variable>
<name>pressure</name>
<components>1</components>
<order>1</order>
<initial_condition>p_ini</initial_condition>
<boundary_conditions>
<boundary_condition>
<type>Dirichlet</type>
<mesh>mass_conservation_leftBoundary</mesh>
<parameter>p_ini</parameter>
</boundary_condition>
<boundary_condition>
<type>Neumann</type>
<mesh>mass_conservation_rightBoundary</mesh>
<parameter>q_ini_rightBoundary</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>basic_picard</name>
<type>Picard</type>
<max_iter>15</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>DIAGONAL</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-12 -hc_ksp_max_it 20000</parameters>
</petsc>
</linear_solver>
</linear_solvers>
</OpenGeoSysProject>