OGS
|
<OpenGeoSysProject>
<meshes>
<mesh>WithFreezingPhase.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>THERMO_HYDRO_MECHANICS</type>
<integration_order>2</integration_order>
<constitutive_relation>
<type>LinearElasticIsotropic</type>
<youngs_modulus>E</youngs_modulus>
<poissons_ratio>nu</poissons_ratio>
</constitutive_relation>
<ice_constitutive_relation>
<type>LinearElasticIsotropic</type>
<youngs_modulus>E_ice</youngs_modulus>
<poissons_ratio>nu_ice</poissons_ratio>
</ice_constitutive_relation>
<process_variables>
<temperature>temperature</temperature>
<pressure>pressure</pressure>
<displacement>displacement</displacement>
</process_variables>
<specific_body_force>0 0</specific_body_force>
<secondary_variables>
<secondary_variable internal_name="sigma" output_name="sigma" />
<secondary_variable internal_name="sigma_ice" output_name="sigma_ice" />
<secondary_variable internal_name="epsilon" output_name="epsilon" />
<secondary_variable internal_name="velocity" output_name="velocity" />
<secondary_variable internal_name="ice_volume_fraction" output_name="ice_volume_fraction" />
</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>FrozenLiquid</type>
<properties>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>2.2</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>2090</value>
</property>
<property>
<name>density</name>
<type>Constant</type>
<value>920</value>
</property>
<property>
<name>specific_latent_heat</name>
<type>Constant</type>
<value>334000</value>
</property>
<property>
<name>thermal_expansivity</name>
<type>Constant</type>
<value>5.5e-5</value>
</property>
<property>
<name>phase_change_expansivity</name>
<type>Constant</type>
<value>0.03</value>
</property>
</properties>
</phase>
<phase>
<type>Solid</type>
<properties>
<property>
<name>bulk_modulus</name>
<type>Constant</type>
<value>1.0e10</value>
</property>
<property>
<name>density</name>
<type>Constant</type>
<value>2850</value>
</property>
<property>
<name>thermal_conductivity</name>
<type>Constant</type>
<value>5.0</value>
</property>
<property>
<name>specific_heat_capacity</name>
<type>Constant</type>
<value>1e6</value>
</property>
<property>
<name>thermal_expansivity</name>
<type>Constant</type>
<value>0.0</value>
</property>
</properties>
</phase>
</phases>
<properties>
<property>
<name>biot_coefficient</name>
<type>Constant</type>
<value>1.0</value>
</property>
<property>
<name>permeability</name>
<type>Constant</type>
<value>1.e-11</value>
</property>
<property>
<name>porosity</name>
<type>Constant</type>
<value>0.5</value>
</property>
<property>
<name>volume_fraction</name>
<type>TemperatureDependentFraction</type>
<steepness>0.5</steepness>
<characteristic_temperature>273.15</characteristic_temperature>
</property>
<property>
<name>density</name>
<type>VolumeFractionAverage</type>
</property>
<property>
<name>thermal_conductivity</name>
<type>VolumeFractionAverage</type>
</property>
</properties>
</medium>
</media>
<time_loop>
<processes>
<process ref="HeatTransportInStationaryFlow">
<nonlinear_solver>basic_newton</nonlinear_solver>
<convergence_criterion>
<type>PerComponentDeltaX</type>
<norm_type>NORM2</norm_type>
<abstols>1e-11 1e-8 1e-14 1e-14</abstols>
</convergence_criterion>
<time_discretization>
<type>BackwardEuler</type>
</time_discretization>
<time_stepping>
<type>FixedTimeStepping</type>
<t_initial>0</t_initial>
<t_end>5e+4</t_end>
<timesteps>
<pair>
<repeat>250</repeat>
<delta_t>1000</delta_t>
</pair>
</timesteps>
</time_stepping>
</process>
</processes>
<output>
<type>VTK</type>
<prefix>WithFreezingPhase</prefix>
<suffix>ts{:timestep}_t_{:time}</suffix>
<variables />
<fixed_output_times>0 1000 10000 20000 50000</fixed_output_times>
</output>
</time_loop>
<parameters>
<parameter>
<name>E</name>
<type>Constant</type>
<value>1e10</value>
</parameter>
<parameter>
<name>nu</name>
<type>Constant</type>
<value>0.2</value>
</parameter>
<parameter>
<name>E_ice</name>
<type>Constant</type>
<value>1e10</value>
</parameter>
<parameter>
<name>nu_ice</name>
<type>Constant</type>
<value>0.2</value>
</parameter>
<parameter>
<name>T0</name>
<type>Constant</type>
<value>278.15</value>
</parameter>
<parameter>
<name>T_left</name>
<type>CurveScaled</type>
<parameter>T0</parameter>
<curve>temperature_load</curve>
</parameter>
<parameter>
<name>P0</name>
<type>Function</type>
<expression>1e5 + 1e5*(1-x)</expression>
</parameter>
<parameter>
<name>displacement0</name>
<type>MeshNode</type>
<field_name>displacement</field_name>
</parameter>
<parameter>
<name>u0</name>
<type>Constant</type>
<values>0</values>
</parameter>
</parameters>
<curves>
<curve>
<name>temperature_load</name>
<coords>0 10000 20000 50000</coords>
<values>1 1 1.15 1.15</values>
</curve>
</curves>
<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>P0</parameter>
</boundary_condition>
<boundary_condition>
<mesh>geometry_right</mesh>
<type>Dirichlet</type>
<parameter>P0</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
<process_variable>
<name>displacement</name>
<components>2</components>
<order>1</order>
<initial_condition>displacement0</initial_condition>
<boundary_conditions>
<boundary_condition>
<mesh>geometry_left</mesh>
<type>Dirichlet</type>
<component>0</component>
<parameter>u0</parameter>
</boundary_condition>
<boundary_condition>
<mesh>geometry_bottom</mesh>
<type>Dirichlet</type>
<component>1</component>
<parameter>u0</parameter>
</boundary_condition>
</boundary_conditions>
</process_variable>
</process_variables>
<nonlinear_solvers>
<nonlinear_solver>
<name>basic_newton</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>
<lis>-i bicgstab -p jacobi -tol 1e-12 -maxiter 10000</lis>
<eigen>
<solver_type>SparseLU</solver_type>
<scaling>1</scaling>
</eigen>
</linear_solver>
</linear_solvers>
<test_definition>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>displacement</field>
<absolute_tolerance>1e-16</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>epsilon</field>
<absolute_tolerance>1e-16</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>sigma</field>
<absolute_tolerance>2e-7</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>sigma_ice</field>
<absolute_tolerance>8e-6</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>ice_volume_fraction</field>
<absolute_tolerance>8e-15</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>pressure</field>
<absolute_tolerance>2e-9</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>temperature</field>
<absolute_tolerance>1.2e-12</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>MassFlowRate</field>
<absolute_tolerance>1e-16</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>HeatFlowRate</field>
<absolute_tolerance>5e-11</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
<vtkdiff>
<regex>WithFreezingPhase_ts_.*.vtu</regex>
<field>NodalForces</field>
<absolute_tolerance>3e-9</absolute_tolerance>
<relative_tolerance>0</relative_tolerance>
</vtkdiff>
</test_definition>
</OpenGeoSysProject>