Revision c883eb2d8811fbf6113273ab11df731b708db21d authored by Dmitri Naumov on 13 March 2021, 16:50:50 UTC, committed by Dmitri Naumov on 15 March 2021, 12:32:17 UTC
1 parent 2327e09
Raw File
hm1_2Dsquare.prj
<?xml version='1.0' encoding='ISO-8859-1'?>
<OpenGeoSysProject>
    <mesh>hm1_2Dsquare.vtu</mesh>
    <geometry>hm1_2Dsquare.gml</geometry>
    <processes>
        <process>
            <name>HM</name>
            <type>HYDRO_MECHANICS</type>
            <coupling_scheme>staggered</coupling_scheme>
            <integration_order>3</integration_order>
            <dimension>3</dimension>
            <constitutive_relation>
                <type>LinearElasticIsotropic</type>
                <youngs_modulus>E</youngs_modulus>
                <poissons_ratio>nu</poissons_ratio>
            </constitutive_relation>
            <process_variables>
                <pressure>pressure</pressure>
                <displacement>displacement</displacement>
            </process_variables>
            <secondary_variables>
                <secondary_variable internal_name="velocity" output_name="q"/>
                <secondary_variable internal_name="sigma" output_name="sigma"/>
                <secondary_variable internal_name="epsilon" output_name="epsilon"/>
            </secondary_variables>
            <specific_body_force> 0 0 0 </specific_body_force>
        </process>
    </processes>
    <media>
        <medium>
            <phases>
                <phase>
                    <type>Gas</type>
                    <properties>
                        <property>
                            <name>viscosity</name>
                            <type>Constant</type>
                            <value>1e-3</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>1</value>
                        </property>
                    </properties>
                </phase>
            </phases>
            <properties>
                <property>
                    <name>porosity</name>
                    <type>Constant</type>
                    <value>0</value>
                </property>
                <property>
                    <name>biot_coefficient</name>
                    <type>Constant</type>
                    <value>1</value>
                </property>
                <property>
                    <name>reference_temperature</name>
                    <type>Constant</type>
                    <value>293.15</value>
                </property>
                <property>
                    <name>permeability</name>
                    <type>Constant</type>
                    <value>1e-11</value>
                </property>
            </properties>
        </medium>
    </media>
    <time_loop>
        <global_process_coupling>
            <max_iter> 1 </max_iter>
            <convergence_criteria>
                <convergence_criterion>
                    <!-- convergence criterion for the first process -->
                    <type>DeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <reltol> 1.0e-15 </reltol>
                </convergence_criterion>
                <convergence_criterion>
                    <!-- convergence criterion for the second process -->
                    <type>DeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <reltol> 1.0e-15 </reltol>
                </convergence_criterion>
            </convergence_criteria>
        </global_process_coupling>
        <processes>
            <process ref="HM">
                <!--For the equations of pressure-->
                <nonlinear_solver>
            basic_newton_pressure
        </nonlinear_solver>
                <convergence_criterion>
                    <type>DeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <reltol>1.0e-15</reltol>
                </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> 1 </repeat>
                            <delta_t> 1 </delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
            <process ref="HM">
                <!--For the equations of deformation-->
                <nonlinear_solver>
            basic_newton_displacement
        </nonlinear_solver>
                <convergence_criterion>
                    <type>PerComponentDeltaX</type>
                    <norm_type>NORM2</norm_type>
                    <reltols> 1.0e-15 1.0e-9 1e+15 </reltols>
                </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> 1 </repeat>
                            <delta_t> 1 </delta_t>
                        </pair>
                    </timesteps>
                </time_stepping>
            </process>
        </processes>
        <output>
            <type>VTK</type>
            <prefix>hm1_2Dsquare</prefix>
            <suffix>_ts_{:timestep}_t_{:time}</suffix>
            <compress_output>false</compress_output>
            <timesteps>
                <pair>
                    <repeat> 1 </repeat>
                    <each_steps> 1 </each_steps>
                </pair>
            </timesteps>
            <variables>
                <variable>pressure</variable>
                <variable>displacement</variable>
                <variable>sigma</variable>
                <variable>epsilon</variable>
            </variables>
        </output>
    </time_loop>
    <parameters>
        <parameter>
            <name>E</name>
            <type>Constant</type>
            <value>1e10</value>
        </parameter>
        <parameter>
            <name>nu</name>
            <type>Constant</type>
            <value>0.25</value>
        </parameter>
        <parameter>
            <name>zero</name>
            <type>Constant</type>
            <value>0</value>
        </parameter>
        <parameter>
            <name>initial_displacement</name>
            <type>Constant</type>
            <values> 0 0 0 </values>
        </parameter>
        <parameter>
            <name>initial_pressure</name>
            <type>Constant</type>
            <values>0</values>
        </parameter>
        <parameter>
            <name>p0</name>
            <type>Constant</type>
            <value>8e+5</value>
        </parameter>
    </parameters>
    <process_variables>
        <process_variable>
            <name>pressure</name>
            <components>1</components>
            <order>1</order>
            <initial_condition>initial_pressure</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>SURFACE1</geometry>
                    <type>Dirichlet</type>
                    <component>0</component>
                    <parameter>p0</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
        <process_variable>
            <name>displacement</name>
            <components>3</components>
            <order>2</order>
            <initial_condition>initial_displacement</initial_condition>
            <boundary_conditions>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>SURFACE2</geometry>
                    <type>Dirichlet</type>
                    <component>0</component>
                    <parameter>zero</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>SURFACE3</geometry>
                    <type>Dirichlet</type>
                    <component>1</component>
                    <parameter>zero</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>SURFACE4</geometry>
                    <type>Dirichlet</type>
                    <component>2</component>
                    <parameter>zero</parameter>
                </boundary_condition>
                <boundary_condition>
                    <geometrical_set>geometry</geometrical_set>
                    <geometry>SURFACE5</geometry>
                    <type>Dirichlet</type>
                    <component>2</component>
                    <parameter>zero</parameter>
                </boundary_condition>
            </boundary_conditions>
        </process_variable>
    </process_variables>
    <nonlinear_solvers>
        <nonlinear_solver>
            <name>basic_newton_pressure</name>
            <type>Newton</type>
            <max_iter>10</max_iter>
            <linear_solver>linear_solver_pressure</linear_solver>
        </nonlinear_solver>
        <nonlinear_solver>
            <name>basic_newton_displacement</name>
            <type>Newton</type>
            <max_iter>10</max_iter>
            <linear_solver>linear_solver_displacement</linear_solver>
        </nonlinear_solver>
    </nonlinear_solvers>
    <linear_solvers>
        <linear_solver>
            <name>linear_solver_pressure</name>
            <lis>-i cg -p jacobi -tol 1e-10 -maxiter 10000</lis>
            <eigen>
                <solver_type>CG</solver_type>
                <precon_type>DIAGONAL</precon_type>
                <max_iteration_step>10000</max_iteration_step>
                <error_tolerance>1e-15</error_tolerance>
            </eigen>
            <petsc>
                <prefix>hm</prefix>
                <parameters>-hm_ksp_type cg -hm_pc_type bjacobi -hm_ksp_rtol 1e-10 -hm_ksp_max_it 10000</parameters>
            </petsc>
        </linear_solver>
        <linear_solver>
            <name>linear_solver_displacement</name>
            <lis>-i cg -p jacobi -tol 1e-2 -maxiter 10000</lis>
            <eigen>
                <solver_type>CG</solver_type>
                <precon_type>DIAGONAL</precon_type>
                <max_iteration_step>10000</max_iteration_step>
                <error_tolerance>1e-20</error_tolerance>
            </eigen>
            <petsc>
                <prefix>hm</prefix>
                <parameters>-hm_ksp_type cg -hm_pc_type bjacobi -hm_ksp_rtol 1e-2 -hm_ksp_max_it 10000</parameters>
            </petsc>
        </linear_solver>
    </linear_solvers>
</OpenGeoSysProject>
back to top