OGS
square_1e1_2_matIDs.prj
<OpenGeoSysProject>
  <mesh>square_1x1_quad_1e1_2_matIDs.vtu</mesh>
  <geometry>square_1x1.gml</geometry>
  <processes>
    <process>
      <name>TM</name>
      <type>THERMO_HYDRO_MECHANICS</type>
      <integration_order>2</integration_order>
      <constitutive_relation id="0">
        <type>MFront</type>
        <behaviour>DruckerPrager</behaviour>
        <material_properties>
          <material_property name="YoungModulus" parameter="E" />
          <material_property name="PoissonRatio" parameter="nu" />
          <material_property name="Cohesion" parameter="kappa" />
          <material_property name="FrictionParameter" parameter="beta" />
          <material_property name="DilatancyParameter" parameter="beta" />
        </material_properties>
      </constitutive_relation>
      <constitutive_relation id="1">
        <type>MFront</type>
        <behaviour>ModCamClay_semiExpl_constE</behaviour>
        <material_properties>
          <material_property name="YoungModulus" parameter="E" />
          <material_property name="PoissonRatio" parameter="nu" />
          <material_property name="CriticalStateLineSlope" parameter="M" />
          <material_property name="SwellingLineSlope" parameter="ka" />
          <material_property name="VirginConsolidationLineSlope" parameter="la" />
          <material_property name="CharacteristicPreConsolidationPressure" parameter="pc0" />
        </material_properties>
        <initial_values>
          <state_variable name="PreConsolidationPressure" parameter="pc0" />
          <state_variable name="VolumeRatio" parameter="v0" />
        </initial_values>
      </constitutive_relation>
      <specific_body_force>0 0</specific_body_force>
      <process_variables>
        <temperature>temperature</temperature>
        <pressure>pressure</pressure>
        <displacement>displacement</displacement>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="epsilon_m" output_name="epsilon_m" />
        <secondary_variable internal_name="EquivalentPlasticStrain" output_name="EquivalentPlasticStrain" />
        <secondary_variable internal_name="PreConsolidationPressure" output_name="PreConsolidationPressure" />
        <secondary_variable internal_name="PlasticVolumetricStrain" output_name="PlasticVolumetricStrain" />
        <secondary_variable internal_name="VolumeRatio" output_name="VolumeRatio" />
        <secondary_variable internal_name="ElasticStrain" output_name="ElasticStrain" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium id="0,1">
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1e-3</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1000</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>4280</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2700</value>
            </property>
            <property>
              <name>specific_heat_capacity</name>
              <type>Constant</type>
              <value>900</value>
            </property>
            <property>
              <name>thermal_expansivity</name>
              <type>Constant</type>
              <value>1e-6</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.1</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>thermal_conductivity</name>
          <type>Constant</type>
          <value>1.5</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Parameter</type>
          <parameter_name>temperatureRef</parameter_name>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="TM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-12 1e-15 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>1</t_end>
          <timesteps>
            <pair>
              <repeat>100</repeat>
              <delta_t>1.e-2</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>square_1e1_2_matIDs</prefix>
      <suffix>t{:.4ftime}</suffix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>10000</each_steps>
        </pair>
      </timesteps>
      <fixed_output_times>.1 .2 .3 .4 .5 .6 .7 .8 .9 1</fixed_output_times>
      <variables />
    </output>
  </time_loop>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>1e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.27</value>
    </parameter>
    <parameter>
      <name>kappa</name>
      <type>Constant</type>
      <value>5e4</value>
    </parameter>
    <parameter>
      <name>beta</name>
      <type>Constant</type>
      <value>0.14</value>
    </parameter>
    <parameter>
      <name>M</name>
      <type>Constant</type>
      <value>1.5</value>
    </parameter>
    <parameter>
      <name>ka</name>
      <type>Constant</type>
      <value>1e-4</value>
    </parameter>
    <parameter>
      <name>la</name>
      <type>Constant</type>
      <value>1e-3</value>
    </parameter>
    <parameter>
      <name>pc0</name>
      <type>Constant</type>
      <value>2e5</value>
    </parameter>
    <parameter>
      <name>v0</name>
      <type>Constant</type>
      <value>1.78</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>temperature0</name>
      <type>Constant</type>
      <value>273.15</value>
    </parameter>
    <parameter>
      <name>temperatureRef</name>
      <type>Constant</type>
      <value>273.15</value>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>dirichletLinearNeg</name>
      <type>Function</type>
      <expression>-0.001*t</expression>
    </parameter>
    <parameter>
      <name>dirichletLinearPos</name>
      <type>Function</type>
      <expression>0.0001*t</expression>
    </parameter>
    <parameter>
      <name>dirichletLinearTemp</name>
      <type>Function</type>
      <expression>273.15 + 100*t</expression>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>temperature</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>temperature0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <parameter>dirichletLinearTemp</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>dirichlet0</initial_condition>
      <deactivated_subdomains>
        <deactivated_subdomain>
          <time_interval>
            <start>0</start>
            <end>1</end>
          </time_interval>
          <material_ids>0 1</material_ids>
          <boundary_parameter>dirichlet0</boundary_parameter>
        </deactivated_subdomain>
      </deactivated_subdomains>
    </process_variable>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>1</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>bottom</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>right</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>dirichletLinearPos</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>top</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>dirichletLinearNeg</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</name>
      <type>Newton</type>
      <max_iter>20</max_iter>
      <linear_solver>direct_linear_solver</linear_solver>
    </nonlinear_solver>
  </nonlinear_solvers>
  <linear_solvers>
    <linear_solver>
      <name>direct_linear_solver</name>
      <eigen>
        <solver_type>SparseLU</solver_type>
        <scaling>true</scaling>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <test_definition>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>temperature</field>
      <absolute_tolerance>2e-13</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>3e-8</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>NodalForces</field>
      <absolute_tolerance>2e-5</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>ElasticStrain</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>EquivalentPlasticStrain</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>PlasticVolumetricStrain</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>VolumeRatio</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>PreConsolidationPressure</field>
      <absolute_tolerance>2e-8</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>sigma_ip</field>
      <absolute_tolerance>5e-8</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>epsilon_ip</field>
      <absolute_tolerance>1e-15</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>material_state_variable_ElasticStrain_ip</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>material_state_variable_EquivalentPlasticStrain_ip</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>material_state_variable_PlasticVolumetricStrain_ip</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>material_state_variable_VolumeRatio_ip</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>square_1e1_2_matIDs_t_.*.vtu</regex>
      <field>material_state_variable_PreConsolidationPressure_ip</field>
      <absolute_tolerance>2e-8</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>