Loading [MathJax]/extensions/tex2jax.js
OGS
T.xml
<OpenGeoSysProjectDiff base_file="base.prj">
  <add sel=".//process_variables/process_variable[name="displacement"]">
    <initial_condition>displacement0</initial_condition>
  </add>
  <add sel=".//process_variables/process_variable[name="gas_pressure"]">
    <initial_condition>zero</initial_condition>
  </add>
  <add sel=".//process_variables/process_variable[name="capillary_pressure"]">
    <initial_condition>zero</initial_condition>
  </add>
  <add sel=".//process_variables/process_variable[name="temperature"]">
    <initial_condition>T_initial</initial_condition>
  </add>
  <add sel=".//process_variables/process_variable[name="temperature"]/boundary_conditions">
    <boundary_condition>
      <mesh>surface_x_max</mesh>
      <type>Dirichlet</type>
      <component>0</component>
      <parameter>T_right</parameter>
    </boundary_condition>
  </add>
  <add sel=".//parameters">
    <parameter>
      <name>T_right</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>T_initial</name>
      <type>Function</type>
      <expression>0.25 * x</expression>
    </parameter>
  </add>
  <add sel=".//time_loop/output">
    <prefix>T</prefix>
  </add>
  <add sel=".//time_loop/submesh_residuum_output">
    <prefix>T_{:meshname}</prefix>
  </add>
  <add sel=".//time_loop/output/variables">
    <variable>HeatFlowRate</variable>
    <variable>GasMassFlowRate</variable>
    <variable>LiquidMassFlowRate</variable>
    <variable>NodalForces</variable>
  </add>
  <add sel=".//time_loop/submesh_residuum_output/variables">
    <variable>HeatFlowRate</variable>
    <variable>GasMassFlowRate</variable>
    <variable>LiquidMassFlowRate</variable>
    <variable>NodalForces</variable>
  </add>
  <add sel="./">
    <test_definition>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>temperature_interpolated</field>
        <absolute_tolerance>1e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>HeatFlowRate</field>
        <absolute_tolerance>1e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>gas_pressure_interpolated</field>
        <absolute_tolerance>1e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>GasMassFlowRate</field>
        <absolute_tolerance>1e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>capillary_pressure_interpolated</field>
        <absolute_tolerance>2e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>LiquidMassFlowRate</field>
        <absolute_tolerance>1e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>displacement</field>
        <absolute_tolerance>1e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
      <vtkdiff>
        <regex>T.*_ts_[0-9]*_.*.vtu</regex>
        <field>NodalForces</field>
        <absolute_tolerance>1e-15</absolute_tolerance>
        <relative_tolerance>0</relative_tolerance>
      </vtkdiff>
    </test_definition>
  </add>
</OpenGeoSysProjectDiff>