OGS  master
gas_loading.prj
<OpenGeoSysProject>
  <meshes>
    <mesh axially_symmetric="true">mesh_quad.vtu</mesh>
    <mesh axially_symmetric="true">leftq.vtu</mesh>
    <mesh axially_symmetric="true">bottomq.vtu</mesh>
    <mesh axially_symmetric="true">rightq.vtu</mesh>
    <mesh axially_symmetric="true">topq.vtu</mesh>
    <mesh axially_symmetric="true">injectionq.vtu</mesh>
    <mesh axially_symmetric="true">productionq.vtu</mesh>
  </meshes>
  <processes>
    <process>
      <name>HM</name>
      <type>HYDRO_MECHANICS</type>
      <integration_order>4</integration_order>
      <dimension>2</dimension>
      <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_variables>
      <specific_body_force>0 0</specific_body_force>
    </process>
  </processes>
  <time_loop>
    <processes>
      <process ref="HM">
        <nonlinear_solver>basic_newton</nonlinear_solver>
        <convergence_criterion>
          <type>DeltaX</type>
          <norm_type>NORM2</norm_type>
          <reltol>1e-8</reltol>
        </convergence_criterion>
        <time_discretization>
          <type>BackwardEuler</type>
        </time_discretization>
        <time_stepping>
          <type>FixedTimeStepping</type>
          <t_initial>0</t_initial>
          <t_end>400</t_end>
          <timesteps>
            <pair>
              <repeat>20</repeat>
              <delta_t>200</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>310</delta_t>
            </pair>
            <pair>
              <repeat>2</repeat>
              <delta_t>500</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>200</delta_t>
            </pair>
            <pair>
              <repeat>3</repeat>
              <delta_t>500</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>200</delta_t>
            </pair>
            <pair>
              <repeat>2</repeat>
              <delta_t>500</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>100</delta_t>
            </pair>
            <pair>
              <repeat>1</repeat>
              <delta_t>200</delta_t>
            </pair>
          </timesteps>
        </time_stepping>
      </process>
    </processes>
    <output>
      <type>VTK</type>
      <prefix>output_curve</prefix>
      <timesteps>
        <pair>
          <repeat>1</repeat>
          <each_steps>1</each_steps>
        </pair>
      </timesteps>
      <variables>
        <variable>displacement</variable>
        <variable>pressure</variable>
        <variable>sigma</variable>
        <variable>epsilon</variable>
        <variable>velocity</variable>
      </variables>
    </output>
  </time_loop>
  <media>
    <medium>
      <phases>
        <phase>
          <type>Gas</type>
          <properties>
            <property>
              <name>viscosity</name>
              <type>Constant</type>
              <value>1.6e-5</value>
            </property>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>1</value>
            </property>
          </properties>
        </phase>
        <phase>
          <type>Solid</type>
          <properties>
            <property>
              <name>density</name>
              <type>Constant</type>
              <value>2.65e+3</value>
            </property>
          </properties>
        </phase>
      </phases>
      <properties>
        <property>
          <name>porosity</name>
          <type>Constant</type>
          <value>0.16</value>
        </property>
        <property>
          <name>biot_coefficient</name>
          <type>Constant</type>
          <value>0.9</value>
        </property>
        <property>
          <name>reference_temperature</name>
          <type>Constant</type>
          <value>293.15</value>
        </property>
        <property>
          <name>permeability</name>
          <type>StrainDependentPermeability</type>
          <initial_permeability>permeability0</initial_permeability>
          <b1>4000.0</b1>
          <b2>300.0</b2>
          <b3>50.0</b3>
          <minimum_permeability>1.e-20</minimum_permeability>
          <maximum_permeability>1.e-12</maximum_permeability>
        </property>
      </properties>
    </medium>
  </media>
  <parameters>
    <parameter>
      <name>E</name>
      <type>Constant</type>
      <value>2.5e9</value>
    </parameter>
    <parameter>
      <name>nu</name>
      <type>Constant</type>
      <value>0.27</value>
    </parameter>
    <parameter>
      <name>permeability0</name>
      <type>Constant</type>
      <value>1.0e-16</value>
    </parameter>
    <parameter>
      <name>displacement0</name>
      <type>Constant</type>
      <values>0 0</values>
    </parameter>
    <parameter>
      <name>eins</name>
      <type>Constant</type>
      <values>1</values>
    </parameter>
    <parameter>
      <name>pressure0</name>
      <type>Constant</type>
      <values>1e5</values>
    </parameter>
    <parameter>
      <name>injection-pressure</name>
      <type>CurveScaled</type>
      <curve>injection-curve</curve>
      <parameter>eins</parameter>
    </parameter>
    <parameter>
      <name>confining-pressure</name>
      <type>CurveScaled</type>
      <curve>confining-curve</curve>
      <parameter>eins</parameter>
    </parameter>
    <parameter>
      <name>zero</name>
      <type>Constant</type>
      <value>0</value>
    </parameter>
  </parameters>
  <process_variables>
    <process_variable>
      <name>displacement</name>
      <components>2</components>
      <order>2</order>
      <initial_condition>displacement0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>bottomq</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>topq</mesh>
          <type>Dirichlet</type>
          <component>1</component>
          <parameter>zero</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>rightq</mesh>
          <type>Neumann</type>
          <component>0</component>
          <parameter>confining-pressure</parameter>
        </boundary_condition>
      </boundary_conditions>
    </process_variable>
    <process_variable>
      <name>pressure</name>
      <components>1</components>
      <order>2</order>
      <initial_condition>pressure0</initial_condition>
      <boundary_conditions>
        <boundary_condition>
          <mesh>productionq</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>pressure0</parameter>
        </boundary_condition>
        <boundary_condition>
          <mesh>injectionq</mesh>
          <type>Dirichlet</type>
          <component>0</component>
          <parameter>injection-pressure</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>
      <lis>-i bicgstab -p ilu -tol 1e-16 -maxiter 10000</lis>
      <eigen>
        <solver_type>BiCGSTAB</solver_type>
        <precon_type>ILUT</precon_type>
        <max_iteration_step>10000</max_iteration_step>
        <error_tolerance>1e-10</error_tolerance>
      </eigen>
    </linear_solver>
  </linear_solvers>
  <curves>
    <curve>
      <name>injection-curve</name>
      <coords>0 1 300 301 600 601 1200 1201 1800 1801 2400 2401 3800 4000 5300 5500 7000 7200 8300 8500 9300</coords>
      <values>100000 100000 100000 200000 200000 400000 400000 600000 600000 800000 800000 900000 900000 900000 900000 900000 900000 900000 900000 900000 900000</values>
    </curve>
    <curve>
      <name>confining-curve</name>
      <coords>0 1 300 301 600 601 1200 1201 1800 1801 2400 2401 3800 4000 5300 5500 7000 7200 8300 8500 9300</coords>
      <values>-1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -1000000 -2000000 -2000000 -3000000 -3000000 -4000000 -4000000 -5000000 -5000000</values>
    </curve>
  </curves>
</OpenGeoSysProject>