OGS  master
TRhyd_unsaturated.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>single_cube_bulk.vtu</mesh>
    <mesh>single_cube_x0_surface.vtu</mesh>
    <mesh>single_cube_x10_surface.vtu</mesh>
    <mesh>single_cube_y0_surface.vtu</mesh>
    <mesh>single_cube_y10_surface.vtu</mesh>
    <mesh>single_cube_z0_surface.vtu</mesh>
    <mesh>single_cube_z10_surface.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>TRF</name>
      <type>THERMO_RICHARDS_FLOW</type>
      <integration_order>4</integration_order>
      <process_variables>
        <pressure>pressure</pressure>
        <temperature>temperature</temperature>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="velocity" output_name="velocity" />
        <secondary_variable internal_name="saturation" output_name="saturation" />
      </secondary_variables>
      <specific_body_force>0 0 0</specific_body_force>
      <simplified_elasticity>hydrostatic</simplified_elasticity>
    </process>
  </processes>
  <media>
    <medium id="0">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4065.12</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>0.63</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>999.1</reference_value>
              <independent_variable>
                <variable_name>temperature</variable_name>
                <reference_condition>293.15</reference_condition>
                <slope>-3.98e-4</slope>
              </independent_variable>
              <independent_variable>
                <variable_name>phase_pressure</variable_name>
                <reference_condition>1e5</reference_condition>
                <slope>4.5999999999999996e-10</slope>
              </independent_variable>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>3.98e-4</value>
            </property>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.e-3</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2768.5</value>
            </property>
            <property>
              <name>thermal_conductivity</name>
              <type>Constant</type>
              <value>1.7</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>860.0</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>1.4e-6</value>
            </property>
            <property>
              <name>youngs_modulus</name>
              <type>Constant</type>
              <value>2.7e9</value>
            </property>
            <property>
              <name>poissons_ratio</name>
              <type>Constant</type>
              <value>0.33</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>3e-20 0 0 0 3e-20 0 0 0 3e-20</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>0.3</value>
        </property>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.183</value>
        </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>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>thermal_conductivity</name>
          <type>EffectiveThermalConductivityPorosityMixing</type>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="TRF">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-5 1e-2</abstols>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>1</t_end>
          <timesteps>
            <pair>
              <repeat>10</repeat>
              <delta_t>0.1</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>TRhyd_unsat</prefix>
      <timesteps>
        <pair>
          <repeat>100</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>pressure</variable>
        <variable>temperature</variable>
        <variable>velocity</variable>
        <variable>saturation</variable>
      </variables>
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>2.7e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.33</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0 0</values>
    </parameter>
    <parameter>
      <name>pressure_ic</name>
      <type>Constant</type>
      <values>-1e4</values>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>neumann0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>pressure_bc_left</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>temperature0</name>
      <type>Constant</type>
      <value>293.15</value>
    </parameter>
    <parameter>
      <name>Tvalue</name>
      <type>Constant</type>
      <value>293.15</value>
    </parameter>
    <parameter>
      <name>temperature1</name>
      <type>CurveScaled</type>
      <parameter>Tvalue</parameter>
      <curve>Tcurve</curve>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>Tcurve</name>
      <coords>0 1</coords>
      <values>1 1.5</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>pressure_ic</initial_condition>
      <boundary_conditions />
    </process_variable>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>temperature0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>single_cube_x10_surface</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>temperature1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>single_cube_y10_surface</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>temperature1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>single_cube_z10_surface</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>temperature1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>single_cube_x0_surface</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>temperature1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>single_cube_y0_surface</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>temperature1</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>single_cube_z0_surface</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>temperature1</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>
      <eigen>
        <solver_type>SparseLU</solver_type>
        <scaling>1</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>