OGS
UnitSquare.prj
<OpenGeoSysProject>
  <meshes>
    <mesh axially_symmetric="true">mesh.vtu</mesh>
    <mesh axially_symmetric="true">mesh_0.vtu</mesh>
    <mesh axially_symmetric="true">mesh_1.vtu</mesh>
    <mesh axially_symmetric="true">mesh_2.vtu</mesh>
    <mesh axially_symmetric="true">mesh_3.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>THERMO_HYDRO_MECHANICS</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="ice_volume_fraction" output_name="ice_volume_fraction" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium>
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.58</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4190</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>thermal_conductivity</name>
              <type>Constant</type>
              <value>1.1</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>900</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2000</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>1.2e-5</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.35</value>
        </property>
        <property>
          <name>volume_fraction</name>
          <type>TemperatureDependentFraction</type>
          <steepness>20.0</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>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1e-19</value>
        </property>
      </properties>
    </medium>
  </media>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>3e1</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>temperature_IC</name>
      <type>Constant</type>
      <value>277.15</value>
    </parameter>
    <parameter>
      <name>pressure_IC</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>displacement_IC</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>temperature_BC</name>
      <type>Function</type>
      <expression>-8./3600*t+277.15</expression>
    </parameter>
    <parameter>
      <name>pressure_BC</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>displacement_BC_DiriH</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>1</order>
      <initial_condition>displacement_IC</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mesh_0</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>displacement_BC_DiriH</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mesh_3</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>displacement_BC_DiriH</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>temperature_IC</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mesh</mesh>
          <type>Dirichlet</type>
          <parameter>temperature_BC</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>pressure_IC</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mesh</mesh>
          <type>Dirichlet</type>
          <parameter>pressure_BC</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <time_loop>
    <processes>
      <process ref="THERMO_HYDRO_MECHANICS">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e0 1e0 1e-8 1e-8</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>3600</t_end>
          <timesteps>
            <pair>
              <repeat>60</repeat>
              <delta_t>60</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>Results</prefix>
      <suffix>ts{:timestep}_t_{:gtime}_sec</suffix>
      <fixed_output_times>900 1680 1800 1920 2700 3600</fixed_output_times>
      <variables />
    </output>
  </time_loop>
  <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>
      <eigen>
        <solver_type>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-16</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>sigma_ice</field>
      <absolute_tolerance>3e-7</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>ice_volume_fraction</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>0</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>temperature</field>
      <absolute_tolerance>0</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>MassFlowRate</field>
      <absolute_tolerance>5e-18</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>HeatFlowRate</field>
      <absolute_tolerance>4e-13</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>Results_ts_.*_t_.*_sec.vtu</regex>
      <field>NodalForces</field>
      <absolute_tolerance>1e-9</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>