OGS
simHM_ground_quadBCu.prj
<OpenGeoSysProject>
  <meshes>
    <mesh>mesh_domain_trans.vtu</mesh>
    <mesh>mesh_boundary_surf.vtu</mesh>
    <mesh>mesh_boundary_down.vtu</mesh>
    <mesh>mesh_boundary_left.vtu</mesh>
    <mesh>mesh_boundary_right.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HM</name>
      <type>HYDRO_MECHANICS</type>
      <integration_order>3</integration_order>
      <constitutive_relation>
        <type>LinearElasticIsotropic</type>
        <youngs_modulus>YoungModulus</youngs_modulus>
        <poissons_ratio>PoissonRatio</poissons_ratio>
      </constitutive_relation>
      <initial_stress>InitialEffectiveStressField</initial_stress>
      <process_variables>
        <pressure>pressure</pressure>
        <displacement>displacement</displacement>
      </process_variables>
      <specific_body_force>0 -9.81</specific_body_force>
      <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="DarcyVelocity" />
      </secondary_variables>
    </process>
  </processes>
  <media>
    <medium>
      <phases>
        <phase>
          <type>Gas</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Parameter</type>
              <parameter_name>ViscosityWater</parameter_name>
            </property>
            <property>
              <name>density</name>
              <type>Parameter</type>
              <parameter_name>DensityWater</parameter_name>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Parameter</type>
              <parameter_name>DensitySolid</parameter_name>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.2</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>1.0</value>
        </property>
        <property>
          <name>permeability</name>
          <type>Constant</type>
          <value>1.25e-9</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
      </properties>
    </medium>
  </media>
  <parameters>
    <parameter>
      <name>YoungModulus</name>
      <type>Constant</type>
      <value>1.e6</value>
    </parameter>
    <parameter>
      <name>PoissonRatio</name>
      <type>Constant</type>
      <value>0.40</value>
    </parameter>
    <parameter>
      <name>DensitySolid</name>
      <type>Constant</type>
      <value>3000</value>
    </parameter>
    <parameter>
      <name>ViscosityWater</name>
      <type>Constant</type>
      <value>1.e-3</value>
    </parameter>
    <parameter>
      <name>DensityWater</name>
      <type>Constant</type>
      <value>1000</value>
    </parameter>
    <parameter>
      <name>AmbientPressure</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>InitialPressureZero</name>
      <type>Constant</type>
      <values>0</values>
    </parameter>
    <parameter>
      <name>InitialPressureField</name>
      <type>Function</type>
      <expression>-1000*9.81*y</expression>
    </parameter>
    <parameter>
      <name>PressureProfile</name>
      <type>Function</type>
      <expression>-1000*9.81*y</expression>
    </parameter>
    <parameter>
      <name>InitialDisplacementZero</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>DisplacementProfile</name>
      <type>Function</type>
      <expression>-1.0*(t/1e6)*(x/10)^2</expression>
    </parameter>
    <parameter>
      <name>ZeroDisplacement</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
    <parameter>
      <name>NormalStressProfile</name>
      <type>Function</type>
      <expression>0.4 / (1-0.4) * ( (0.2-1.0)*1000 + (1.0-0.2)*3000 ) * 9.81*y + 1000 * 9.81*y</expression>
    </parameter>
    <parameter>
      <name>InitialEffectiveStressZero</name>
      <type>Constant</type>
      <values>0 0 0 0</values>
    </parameter>
    <parameter>
      <name>InitialEffectiveStressField</name>
      <type>Function</type>
      <expression>0.4 / (1-0.4) * ((0.2-1.0)*1000 + (1-0.2)*3000) * 9.81*y</expression>
      <expression>((0.2-1.0)*1000 + (1-0.2)*3000) * 9.81*y</expression>
      <expression>0.4 / (1-0.4) * ((0.2-1.0)*1000 + (1-0.2)*3000) * 9.81*y</expression>
      <expression>0.0</expression>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>1</order>
      <initial_condition>InitialPressureField</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mesh_boundary_surf</mesh>
          <type>Dirichlet</type>
          <parameter>AmbientPressure</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mesh_boundary_right</mesh>
          <type>Dirichlet</type>
          <parameter>PressureProfile</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>InitialDisplacementZero</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>mesh_boundary_left</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>ZeroDisplacement</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mesh_boundary_down</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>ZeroDisplacement</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mesh_boundary_right</mesh>
          <type>Neumann</type>
          <component>0</component>
          <parameter>NormalStressProfile</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>mesh_boundary_surf</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>DisplacementProfile</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
  </process_variables>
  <time_loop>
    <processes>
      <process ref="HM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>PerComponentDeltaX</type>
          <norm_type>NORM2</norm_type>
          <abstols>1e-8 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>1e6</t_end>
          <timesteps>
            <pair>
              <repeat>10</repeat>
              <delta_t>1e5</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>simHM_ground_quadBCu</prefix>
      <timesteps>
        <pair>
          <repeat>100</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>sigma</variable>
        <variable>pressure_interpolated</variable>
        <variable>DarcyVelocity</variable>
      </variables>
      <suffix>ts{:timestep}_t_{:time}</suffix>
    </output>
  </time_loop>
  <nonlinear_solvers>
    <nonlinear_solver>
      <name>basic_newton</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>
        <precon_type>DIAGONAL</precon_type>
      </eigen>
    </linear_solver>
  </linear_solvers>
</OpenGeoSysProject>