OGS
|
<OpenGeoSysProject>
<meshes>
<mesh>mesh.vtu</mesh>
<mesh>geometry_left.vtu</mesh>
<mesh>geometry_right.vtu</mesh>
<mesh>geometry_top.vtu</mesh>
<mesh>geometry_bottom.vtu</mesh>
</meshes>
<processes>
<process>
<name>HeatTransportInStationaryFlow</name>
<type>HT</type>
<coupling_scheme>staggered</coupling_scheme>
<integration_order>2</integration_order>
<process_variables>
<temperature>temperature</temperature>
<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>
</process>
</processes>
<media>
<medium id="0">
<phases>
<phase>
<type>AqueousLiquid</type>
<properties>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>4182</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>0.6</value>
</property>
<property>
<name>density</name>
<type>Constant</type>
<value>1000</value>
</property>
<property>
<name>viscosity</name>
<type>Constant</type>
<value>1.0e-3</value>
</property>
</properties>
</phase>
<phase>
<type>Solid</type>
<properties>
<property>
<name>storage</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>density</name>
<type>Constant</type>
<value>2850</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>0.0</value>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>thermal_longitudinal_dispersivity</name>
<type>Constant</type>
<value>0</value>
</property>
<property>
<name>thermal_transversal_dispersivity</name>
<type>Constant</type>
<value>0</value>
</property>
<property>
<name>permeability</name>
<type>Constant</type>
<value>1.e-11</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>1.0</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>EffectiveThermalConductivityPorosityMixing</type>
</property>
</properties>
</medium>
</media>
<time_loop>
<global_process_coupling>
<max_iter>20</max_iter>
<convergence_criteria>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>1.e-14</reltol>
</convergence_criterion>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<reltol>1.e-14</reltol>
</convergence_criterion>
</convergence_criteria>
</global_process_coupling>
<processes>
<process ref="HeatTransportInStationaryFlow">
<nonlinear_solver>picard_T</nonlinear_solver>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<abstol>1.e-10</abstol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>5.e+4</t_end>
<timesteps>
<pair>
<repeat>54</repeat>
<delta_t>1000</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
<process ref="HeatTransportInStationaryFlow">
<nonlinear_solver>picard_H</nonlinear_solver>
<convergence_criterion>
<type>DeltaX</type>
<norm_type>NORM2</norm_type>
<abstol>1.e-10</abstol>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0.0</t_initial>
<t_end>5.e+4</t_end>
<timesteps>
<pair>
<repeat>54</repeat>
<delta_t>1000</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>HeatTransportInStationaryFlow</prefix>
<timesteps>
<pair>
<repeat>1</repeat>
<each_steps>250</each_steps>
</pair>
</timesteps>
<variables>
<variable>temperature</variable>
<variable>pressure</variable>
<variable>velocity</variable>
</variables>
<suffix>ts{:timestep}_t_{:time}</suffix>
<fixed_output_times>50000 500000 5000000</fixed_output_times>
</output>
</time_loop>
<parameters>
<parameter>
<name>T0</name>
<type>Constant</type>
<value>0.0</value>
</parameter>
<parameter>
<name>P0</name>
<type>Constant</type>
<value>1e+5</value>
</parameter>
<parameter>
<name>p_left</name>
<type>Constant</type>
<value>1.01e5</value>
</parameter>
<parameter>
<name>p_right</name>
<type>Constant</type>
<value>1.0e5</value>
</parameter>
<parameter>
<name>T_left</name>
<type>Constant</type>
<value>1.</value>
</parameter>
</parameters>
<process_variables>
<process_variable>
<name>temperature</name>
<components>1</components>
<order>1</order>
<initial_condition>T0</initial_condition>
<boundary_conditions>
<boundary_condition>
<mesh>geometry_left</mesh>
<type>Dirichlet</type>
<parameter>T_left</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>geometry_left</mesh>
<type>Dirichlet</type>
<parameter>p_left</parameter>
</boundary_condition>
<boundary_condition>
<mesh>geometry_right</mesh>
<type>Dirichlet</type>
<parameter>p_right</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>picard_T</name>
<type>Picard</type>
<max_iter>20</max_iter>
<linear_solver>linear_solver_T</linear_solver>
</nonlinear_solver>
<nonlinear_solver>
<name>picard_H</name>
<type>Picard</type>
<max_iter>20</max_iter>
<linear_solver>linear_solver_H</linear_solver>
</nonlinear_solver>
</nonlinear_solvers>
<linear_solvers>
<linear_solver>
<name>linear_solver_T</name>
<lis>-i bicgstab -p ilu -tol 1e-20 -maxiter 10000</lis>
<eigen>
<solver_type>SparseLU</solver_type>
</eigen>
<petsc>
<prefix>T</prefix>
<parameters>-T_ksp_type bcgs -T_pc_type bjacobi -T_ksp_rtol 1e-16 -T_ksp_max_it 10000</parameters>
</petsc>
</linear_solver>
<linear_solver>
<name>linear_solver_H</name>
<lis>-i bicgstab -p jacobi -tol 1e-14 -maxiter 10000</lis>
<eigen>
<solver_type>BiCGSTAB</solver_type>
<precon_type>DIAGONAL</precon_type>
<max_iteration_step>4000</max_iteration_step>
<error_tolerance>1e-10</error_tolerance>
</eigen>
<petsc>
<prefix>H</prefix>
<parameters>-H_ksp_type bcgs -H_pc_type mg -H_ksp_rtol 1e-12 -H_ksp_max_it 10000</parameters>
</petsc>
</linear_solver>
</linear_solvers>
</OpenGeoSysProject>