OGS
|
<OpenGeoSysProject>
<meshes>
<mesh>1d_step_func.vtu</mesh>
<mesh>1d_step_func_inlet.vtu</mesh>
<mesh>1d_step_func_outlet.vtu</mesh>
</meshes>
<processes>
<process>
<name>hc</name>
<type>ComponentTransport</type>
<integration_order>2</integration_order>
<coupling_scheme>staggered</coupling_scheme>
<process_variables>
<concentration>Cs_w_FCT</concentration>
<pressure>pressure</pressure>
</process_variables>
<specific_body_force>0</specific_body_force>
<numerical_stabilization>
<type>FluxCorrectedTransport</type>
</numerical_stabilization>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<components>
<component>
<name>Cs_w_FCT</name>
<properties>
<property>
<name>pore_diffusion</name>
<type>Constant</type>
<value>0</value>
</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>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>
<global_process_coupling>
<max_iter>6</max_iter>
<convergence_criteria>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>1e-8</reltol>
</convergence_criterion>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>1e-8</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-8</reltol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>0.5</t_end>
<timesteps>
<pair>
<repeat>500</repeat>
<delta_t>0.001</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-10</reltol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>0.5</t_end>
<timesteps>
<pair>
<repeat>500</repeat>
<delta_t>0.001</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>1d_step_func</prefix>
<timesteps>
<pair>
<repeat>10</repeat>
<each_steps>50</each_steps>
</pair>
</timesteps>
<variables>
<variable>Cs_w_FCT</variable>
<variable>pressure</variable>
<variable>darcy_velocity</variable>
</variables>
<suffix>ts{:timestep}_t_{:time}</suffix>
</output>
</time_loop>
<parameters>
<parameter>
<name>kappa</name>
<type>Constant</type>
<values>1.0e-8</values>
</parameter>
<parameter>
<name>porosity</name>
<type>Constant</type>
<value>1</value>
</parameter>
<parameter>
<name>retardation</name>
<type>Constant</type>
<value>1</value>
</parameter>
<parameter>
<name>decay</name>
<type>Constant</type>
<value>0</value>
</parameter>
<parameter>
<name>p0</name>
<type>Constant</type>
<value>1e5</value>
</parameter>
<parameter>
<name>p_Neumann_left</name>
<type>Constant</type>
<value>1e3</value>
</parameter>
<parameter>
<name>c0</name>
<type>MeshNode</type>
<mesh>1d_step_func</mesh>
<field_name>c_ini</field_name>
</parameter>
<parameter>
<name>c_inlet</name>
<type>Constant</type>
<value>0</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_step_func_inlet</mesh>
<type>Neumann</type>
<parameter>p_Neumann_left</parameter>
</boundary_condition>
<boundary_condition>
<mesh>1d_step_func_outlet</mesh>
<type>Dirichlet</type>
<parameter>p0</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>Cs_w_FCT</name>
<components>1</components>
<order>1</order>
<initial_condition>c0</initial_condition>
<boundary_conditions>
<boundary_condition>
<mesh>1d_step_func_inlet</mesh>
<type>Dirichlet</type>
<parameter>c_inlet</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<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>BiCGSTAB</solver_type>
<precon_type>ILUT</precon_type>
<max_iteration_step>1000</max_iteration_step>
<error_tolerance>1e-14</error_tolerance>
</eigen>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<regex>1d_step_func_ts_[0-9]*_t_0.[0-9]*0000.vtu</regex>
<field>Cs_w_FCT</field>
<absolute_tolerance>1e-10</absolute_tolerance>
<relative_tolerance>1e-14</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>