OGS
|
<OpenGeoSysProject>
<mesh>Richards_2d_linear.vtu</mesh>
<geometry>Richards_2d.gml</geometry>
<processes>
<process>
<name>R</name>
<type>RICHARDS_FLOW</type>
<integration_order>3</integration_order>
<jacobian_assembler>
<type>CentralDifferences</type>
<component_magnitudes>1e5</component_magnitudes>
<relative_epsilons>1e-8</relative_epsilons>
</jacobian_assembler>
<process_variables>
<process_variable>pressure</process_variable>
</process_variables>
<secondary_variables>
<secondary_variable internal_name="darcy_velocity" output_name="darcy_velocity" />
<secondary_variable internal_name="saturation" output_name="saturation" />
</secondary_variables>
<specific_body_force>0 -9.81</specific_body_force>
<mass_lumping>false</mass_lumping>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<properties>
<property>
<name>density</name>
<type>Linear</type>
<reference_value>1</reference_value>
<independent_variable>
<variable_name>liquid_phase_pressure</variable_name>
<reference_condition>-5000</reference_condition>
<slope>0.45454545454545454545e-300</slope>
</independent_variable>
</property>
<property>
<name>viscosity</name>
<type>Constant</type>
<value>1.e-3</value>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>storage</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.38</value>
</property>
<property>
<name>permeability</name>
<type>Constant</type>
<value>4.46e-13</value>
</property>
<property>
<name>saturation</name>
<type>SaturationVanGenuchten</type>
<residual_liquid_saturation>0.1689</residual_liquid_saturation>
<residual_gas_saturation>0.05</residual_gas_saturation>
<exponent>0.789029535864979</exponent>
<p_b>3633.33</p_b>
</property>
<property>
<name>relative_permeability</name>
<type>RelativePermeabilityVanGenuchten</type>
<residual_liquid_saturation>0.1689</residual_liquid_saturation>
<residual_gas_saturation>0.05</residual_gas_saturation>
<exponent>0.789029535864979</exponent>
<minimum_relative_permeability_liquid>1e-12</minimum_relative_permeability_liquid>
</property>
<property>
<name>reference_temperature</name>
<type>Constant</type>
<value>293.15</value>
</property>
</properties>
</medium>
</media>
<time_loop>
<processes>
<process ref="R">
<nonlinear_solver>nonlinear_solver</nonlinear_solver>
<convergence_criterion>
<type>PerComponentDeltaX</type>
<norm_type>NORM2</norm_type>
<abstols>1e-7</abstols>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0</t_initial>
<t_end>2000</t_end>
<timesteps>
<pair>
<repeat>1</repeat>
<delta_t>1</delta_t>
</pair>
<pair>
<repeat>2</repeat>
<delta_t>2</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>5</delta_t>
</pair>
<pair>
<repeat>1</repeat>
<delta_t>10</delta_t>
</pair>
<pair>
<repeat>50</repeat>
<delta_t>20</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>RichardsFlow_2d_richardsflow</prefix>
<timesteps>
<pair>
<repeat>9</repeat>
<each_steps>1</each_steps>
</pair>
<pair>
<repeat>100</repeat>
<each_steps>10</each_steps>
</pair>
</timesteps>
<output_iteration_results>false</output_iteration_results>
<variables>
<variable>pressure</variable>
<variable>saturation</variable>
<variable>darcy_velocity</variable>
</variables>
<suffix>ts{:timestep}_t_{:time}</suffix>
</output>
</time_loop>
<parameters>
<parameter>
<name>phi</name>
<type>Constant</type>
<value>0.38</value>
</parameter>
<parameter>
<name>p0</name>
<type>Constant</type>
<value>-5000</value>
</parameter>
<parameter>
<name>p_Dirichlet_bottom</name>
<type>Constant</type>
<value>1000</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>
<geometrical_set>Richards_2d_geometry</geometrical_set>
<geometry>BOTTOM</geometry>
<type>Dirichlet</type>
<parameter>p_Dirichlet_bottom</parameter>
</boundary_condition>
<boundary_condition>
<geometrical_set>Richards_2d_geometry</geometrical_set>
<geometry>TOP</geometry>
<type>Dirichlet</type>
<parameter>p0</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>nonlinear_solver</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>
<eigen>
<solver_type>SparseLU</solver_type>
<scaling>true</scaling>
</eigen>
<petsc>
<prefix>RM</prefix>
<parameters>-RM_ksp_type bcgs -RM_pc_type bjacobi -RM_ksp_rtol 1e-16 -RM_ksp_max_it 10000</parameters>
</petsc>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<regex>RichardsFlow_2d_richardsflow_ts_.*.vtu</regex>
<field>pressure</field>
<absolute_tolerance>5e-11</absolute_tolerance>
<relative_tolerance>1e-15</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>RichardsFlow_2d_richardsflow_ts_.*.vtu</regex>
<field>saturation</field>
<absolute_tolerance>2e-13</absolute_tolerance>
<relative_tolerance>1e-15</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>