OGS
orthotropic_power_law_permeability_xyz.prj
<OpenGeoSysProject>
  <mesh>square_1x1_quad8_1e2.vtu</mesh>
  <geometry>square_1x1.gml</geometry>
  <processes>
    <process>
      <name>RM</name>
      <type>RICHARDS_MECHANICS</type>
      <integration_order>3</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>E</youngs_modulus>
        <poissons_ratio>nu</poissons_ratio>
      </constitutive_relation>
      <process_variables>
        <displacement>displacement</displacement>
        <pressure>pressure</pressure>
      </process_variables>
      <secondary_variables>
        <secondary_variable internal_name="sigma" output_name="sigma" />
        <secondary_variable internal_name="epsilon" output_name="epsilon" />
        <secondary_variable internal_name="velocity" output_name="velocity" />
        <secondary_variable internal_name="saturation" output_name="saturation" />
        <secondary_variable internal_name="porosity" output_name="porosity" />
        <secondary_variable internal_name="transport_porosity" output_name="transport_porosity" />
      </secondary_variables>
      <specific_body_force>0 0</specific_body_force>
    </process>
  </processes>
  <media>
    <medium>
      <phases>
        <phase>
          <type>AqueousLiquid</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1</value>
            </property>
            <property>
              <name>density</name>
              <type>Linear</type>
              <reference_value>1</reference_value>
              <independent_variable>
                <variable_name>liquid_phase_pressure</variable_name>
                <reference_condition>0</reference_condition>
                <slope>1</slope>
              </independent_variable>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>transport_porosity</name>
          <type>TransportPorosityFromMassBalance</type>
          <initial_porosity>phi0</initial_porosity>
          <minimal_porosity>0</minimal_porosity>
          <maximal_porosity>1</maximal_porosity>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>0.94444444444444444444</value>
        </property>
        <property>
          <name>porosity</name>
          <type>PorosityFromMassBalance</type>
          <initial_porosity>phi0</initial_porosity>
          <minimal_porosity>0</minimal_porosity>
          <maximal_porosity>1</maximal_porosity>
        </property>
        <property>
          <name>permeability</name>
          <type>PermeabilityOrthotropicPowerLaw</type>
          <intrinsic_permeabilities>0 1</intrinsic_permeabilities>
          <exponents>1 1</exponents>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
        <property>
          <name>saturation</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>relative_permeability</name>
          <type>Constant</type>
          <value>1</value>
        </property>
        <property>
          <name>bishops_effective_stress</name>
          <type>BishopsPowerLaw</type>
          <exponent>1</exponent>
        </property>
      </properties>
    </medium>
  </media>
  <time_loop>
    <processes>
      <process ref="RM">
        <nonlinear_solver>nonlinear_solver</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-14 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>3</t_end>
          <timesteps>
            <pair>
              <repeat>4</repeat>
              <delta_t>.25</delta_t>
            </pair>
            <pair>
              <repeat>20</repeat>
              <delta_t>.01</delta_t>
            </pair>
            <pair>
              <repeat>8</repeat>
              <delta_t>.1</delta_t>
            </pair>
            <pair>
              <repeat>20</repeat>
              <delta_t>.01</delta_t>
            </pair>
            <pair>
              <repeat>8</repeat>
              <delta_t>.1</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>orthotropic_power_law_permeability_xyz</prefix>
      <timesteps>
        <pair>
          <repeat>1000</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>pressure</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>velocity</variable>
        <variable>saturation</variable>
        <variable>porosity</variable>
        <variable>porosity_avg</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <local_coordinate_system>
    <basis_vector_0>e0</basis_vector_0>
    <basis_vector_1>e1</basis_vector_1>
  </local_coordinate_system>
  <parameters>
    <parameter>
      <name>e0</name>
      <type>Constant</type>
      <values>0 1</values>
    </parameter>
    <parameter>
      <name>e1</name>
      <type>Constant</type>
      <values>-1 0</values>
    </parameter>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>1</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>.3</value>
    </parameter>
    <parameter>
      <name>phi0</name>
      <type>Constant</type>
      <value>0.5</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>p0</name>
      <type>Function</type>
      <expression>1 - x</expression>
    </parameter>
    <parameter>
      <name>dirichlet0</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>dirichlet1</name>
      <type>Constant</type>
      <values>1</values>
    </parameter>
    <parameter>
      <name>maximum_displacement</name>
      <type>Constant</type>
      <value>-0.1</value>
    </parameter>
    <parameter>
      <name>displacementRamp</name>
      <type>CurveScaled</type>
      <curve>displacement</curve>
      <parameter>maximum_displacement</parameter>
    </parameter>
  </parameters>
  <curves>
    <curve>
      <name>displacement</name>
      <coords>0 1 2 3</coords>
      <values>0 0 1 1</values>
    </curve>
  </curves>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <compensate_non_equilibrium_initial_residuum>true</compensate_non_equilibrium_initial_residuum>
      <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>top</geometry>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>displacementRamp</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>right</geometry>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>displacementRamp</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <compensate_non_equilibrium_initial_residuum>true</compensate_non_equilibrium_initial_residuum>
      <initial_condition>p0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>right</geometry>
          <type>Dirichlet</type>
          <parameter>dirichlet0</parameter>
        </boundary_condition>
        <boundary_condition>
          <geometrical_set>square_1x1_geometry</geometrical_set>
          <geometry>left</geometry>
          <type>Dirichlet</type>
          <parameter>dirichlet1</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>nonlinear_solver</name>
      <type>Newton</type>
      <max_iter>100</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>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>pressure</field>
      <absolute_tolerance>5e-11</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>saturation</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>displacement</field>
      <absolute_tolerance>5e-11</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>sigma</field>
      <absolute_tolerance>2e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>epsilon</field>
      <absolute_tolerance>1e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>velocity</field>
      <absolute_tolerance>7e-14</absolute_tolerance>
      <relative_tolerance>0</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>porosity</field>
      <absolute_tolerance>5e-14</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
    <vtkdiff>
      <regex>orthotropic_power_law_permeability_xyz_ts_.*.vtu</regex>
      <field>porosity_avg</field>
      <absolute_tolerance>5e-14</absolute_tolerance>
      <relative_tolerance>1e-15</relative_tolerance>
    </vtkdiff>
  </test_definition>
</OpenGeoSysProject>