# set_analysis_properties

Define analysis properties

# Parameters

analysis_type : str
analysis_type = 'mesh', 'initial_stress', 'load_multiplier', 'deformation','load_deformation', 'factor_of_safety', 'seepage'
no_of_elements : int
Number of elements.
element_type : str
Type of element. element_type= 'mixed', 'lower', 'upper', 'gauss'
mesh_adaptivity : int
Adaptive mesh. mesh_adapticity = 'yes' or 'no'
adaptivity_iterations : int
Number of iterations to adapt mesh.
start_elements : int
Starting number of elements in mesh adaptivity
adaptivity_control : str
Adaptivity control type. adaptivity_control = 'shear_disipation', total_disipation','strain'
time_scope : str
Time scope type. time_scope= 'long_term', 'short_term', 'variable'
from_model : str|object
From model. from_model = 'Model A'
from_stage : str|object
From stage. from_stage = 'stage 1'
seepage_time_settings : str
Time settings for seepage. seepage_time_settings = 'steady_state' or 'transient'
seepage_target_time : int
Target time for seepage analysis.
seepage_no_of_steps : int
Number of seepage steps.
seepage_time_step_variation : str
Time step variation. seepage_time_step_variation = 'constant' or 'linear'
load_multiplier_multiplier : str
Type of load multiplier. load_multiplier_multiplier = 'load' or 'gravity'
undrained_parameters : str
undrained_parameters = 'cu' or 'coupled'
initial_stresses : str
initial_stresses = 'automatic' or 'none'
reset_displacements : str
reset_displacements = 'yes' or 'no'
load_deformation_scheme : str
load_deformation_scheme = 'target' or 'auto'
load_deformation_target : str
load_deformation_target = 'displacement' or 'work'
load_deformation_u_target : float
Target displacement.
load_deformation_no_of_steps : int
Number of steps
load_deformation_step_variation : str
Step variation. load_deformation_step_variation = 'linear' or 'constant'
deformation_target : str
Target deformation. deformation_target = 'time' or 'consolidation_degree'
deformation_time : float
Deformation time in days.
target_consolidation_percent : float
Consolidation percentage target, as decimal
deformation_no_of_steps : int
Number of steps.
deformation_time_step_variation : str
Time step variation. deformation_time_step_variation = 'linear' or 'constant'
deformation_u_target : float
Target displacement.
design_approach : str
Design approach. design_approach = 'unity', 'sls', 'uls', 'als'
reduce_strength_in : str
Strength reduction. reduce_strength_in = 'solids', 'plates', 'anchors', 'plates_and_anchors'
davis_correction : str
Apply davis correction for MCE materials. davis_correction = 'yes' or 'no'
reduce_strength_in : str
Strength reduction. reduce_strength_in = 'soil', 'plates', 'anchors', 'plates_and_anchors'

# See also

# Notes

Most analysis parameters only refer to specific analysis types. element_type = 'mixed' is not applicable for axisymmetry and will be reverted to gauss. time_scope = 'variable' is only applicable for defomation analysis.

# Examples

stage1.set_analysis_properties(
analysis_type='mesh',
no_of_elements=1000,
)

stage2.set_analysis_properties(
analysis_type='initial_stress',
element_type='mixed',
no_of_elements=2000,
design_approach = 'unity'
)

stage3.set_analysis_properties(
analysis_type='load_multiplier',
element_type='lower',
no_of_elements=1000,
mesh_adaptivity='yes',
adaptivity_iterations=2,
start_elements=1000,
adaptivity_control= 'shear_disipation',
from_model = '2D model',
from_stage = 'stage 1',
design_approach= 'sls',
time_scope= 'short_term',
load_multiplier_multiplier = 'load',
undrained_parameters= 'cu',
)

stage4.set_analysis_properties(
analysis_type='deformation',
element_type='upper',
no_of_elements=1000,
mesh_adaptivity='no',
adaptivity_iterations=2,
adaptivity_control= 'total_disipation',
start_elements=1000,
from_model = '2D model',
from_stage = 'stage 2',
design_approach= 'uls',
time_scope= 'long_term',
initial_stresses= 'automatic',
reset_displacements= 'yes',
deformation_target= 'time',
deformation_time= 30,
deformation_no_of_steps= 3,
deformation_time_step_variation= 'linear',
deformation_u_target= 0.1,
)

stage5.set_analysis_properties(
analysis_type='load_deformation',
element_type='gauss',
no_of_elements=1000,
mesh_adaptivity='no',
adaptivity_iterations=2,
start_elements=1000,
adaptivity_control='strain',
from_model = '2D model',
from_stage = 'stage 2',
design_approach= 'als',
time_scope= 'variable',
initial_stresses= 'none',
reset_displacements = 'no',
load_deformation_scheme= 'target',
load_deformation_target= 'displacement',
load_deformation_u_target= 0.1,
load_deformation_no_of_steps= 10,
load_deformation_step_variation= 'constant',
)

stage6.set_analysis_properties(
analysis_type='factor_of_safety',
element_type='gauss',
no_of_elements=1000,
mesh_adaptivity='yes',
adaptivity_iterations=2,
start_elements=500,
adaptivity_control='strain',
from_model = '2D model',
from_stage = 'stage 2',
design_approach= 'sls',
time_scope='long_term'
reduce_strength_in= 'soil'
)

stage7.set_analysis_properties(
analysis_type='seepage',
element_type='gauss',
no_of_elements=1000,
mesh_adaptivity='yes',
adaptivity_iterations=2,
start_elements=500,
adaptivity_control='strain',
from_model = '2D model',
from_stage = 'stage 2',
seepage_time_settings = 'transient',
seepage_target_time= 120,
seepage_no_of_steps=10,
seepage_time_step_variation = 'linear',
)