OGS
|
<OpenGeoSysProject>
<meshes>
<mesh>cube_1x1x1_hex_1e3.vtu</mesh>
<mesh>cube_1x1x1_hex_1e3_left.vtu</mesh>
<mesh>cube_1x1x1_hex_1e3_right.vtu</mesh>
<mesh>cube_1x1x1_hex_1e3_complete_surface.vtu</mesh>
</meshes>
<processes>
<process>
<name>hc</name>
<type>ComponentTransport</type>
<integration_order>2</integration_order>
<coupling_scheme>staggered</coupling_scheme>
<process_variables>
<concentration>Si</concentration>
<pressure>pressure</pressure>
</process_variables>
<specific_body_force>0 0 0</specific_body_force>
<secondary_variables>
<secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity" />
</secondary_variables>
<calculatesurfaceflux>
<mesh>cube_1x1x1_hex_1e3_complete_surface</mesh>
<property_name>specific_flux</property_name>
</calculatesurfaceflux>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<components>
<component>
<name>Si</name>
<properties>
<property>
<name>pore_diffusion</name>
<type>Constant</type>
<value>1</value>
</property>
<property>
<name>retardation_factor</name>
<type>Constant</type>
<value>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>Linear</type>
<reference_value>1</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>longitudinal_dispersivity</name>
<type>Constant</type>
<value>0</value>
</property>
<property>
<name>transversal_dispersivity</name>
<type>Constant</type>
<value>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-1</reltol>
</convergence_criterion>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>1e-1</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-1</reltol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>1</t_end>
<timesteps>
<pair>
<repeat>1</repeat>
<delta_t>1</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-1</reltol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>1</t_end>
<timesteps>
<pair>
<repeat>1</repeat>
<delta_t>1</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>{:meshname}</prefix>
<suffix>ts{:timestep}_t_{:time}</suffix>
<timesteps>
<pair>
<repeat>1</repeat>
<each_steps>1</each_steps>
</pair>
</timesteps>
<meshes>
<mesh>cube_1x1x1_hex_1e3</mesh>
<mesh>cube_1x1x1_hex_1e3_left</mesh>
<mesh>cube_1x1x1_hex_1e3_right</mesh>
<mesh>cube_1x1x1_hex_1e3_complete_surface</mesh>
</meshes>
<variables>
<variable>Si</variable>
<variable>pressure</variable>
<variable>darcy_velocity</variable>
<variable>specific_flux</variable>
</variables>
</output>
</time_loop>
<parameters>
<parameter>
<name>kappa1</name>
<type>Constant</type>
<values>1.239e-7 0 0 0 1.239e-7 0 0 0 1.239e-7</values>
</parameter>
<parameter>
<name>constant_porosity_parameter</name>
<type>Constant</type>
<value>0.2</value>
</parameter>
<parameter>
<name>decay</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>c0</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>p0</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>p_Dirichlet_left</name>
<type>Constant</type>
<value>1</value>
</parameter>
<parameter>
<name>p_Dirichlet_right</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>c_Dirichlet_left</name>
<type>Constant</type>
<value>1</value>
</parameter>
<parameter>
<name>c_Dirichlet_right</name>
<type>Constant</type>
<value>0</value>
</parameter>
</parameters>
<process_variables>
<process_variable>
<name>Si</name>
<components>1</components>
<order>1</order>
<initial_condition>c0</initial_condition>
<boundary_conditions>
<boundary_condition>
<mesh>cube_1x1x1_hex_1e3_left</mesh>
<type>Dirichlet</type>
<parameter>c_Dirichlet_left</parameter>
</boundary_condition>
<boundary_condition>
<mesh>cube_1x1x1_hex_1e3_right</mesh>
<type>Dirichlet</type>
<parameter>c_Dirichlet_right</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>pressure</name>
<components>1</components>
<order>1</order>
<initial_condition>p0</initial_condition>
<boundary_conditions>
<boundary_condition>
<mesh>cube_1x1x1_hex_1e3_left</mesh>
<type>Dirichlet</type>
<parameter>p_Dirichlet_left</parameter>
</boundary_condition>
<boundary_condition>
<mesh>cube_1x1x1_hex_1e3_right</mesh>
<type>Dirichlet</type>
<parameter>p_Dirichlet_right</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>basic_picard</name>
<type>Picard</type>
<max_iter>2</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>20000</max_iteration_step>
<error_tolerance>1e-8</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>