KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | Public Attributes | List of all members
geomechanics_solver.GeoMechanicalSolver Class Reference

The base class for geomechanics solvers. More...

Inheritance diagram for geomechanics_solver.GeoMechanicalSolver:
Collaboration diagram for geomechanics_solver.GeoMechanicalSolver:

Public Member Functions

def __init__ (self, model, custom_settings)
 
def GetDefaultParameters (cls)
 
def ValidateSettings (self)
 This function validates the settings of the solver. More...
 
def AddVariables (self)
 
def AddDofs (self)
 
def GetMinimumBufferSize (self)
 
def ImportModelPart (self)
 This function imports the ModelPart. More...
 
def PrepareModelPart (self)
 This function prepares the ModelPart for being used by the PythonSolver. More...
 
def KeepAdvancingSolutionLoop (self, end_time)
 
def Initialize (self)
 Perform initialization after adding nodal variables and dofs to the main model part. More...
 
def InitializeSolutionStep (self)
 
def Predict (self)
 
def SolveSolutionStep (self)
 
def FinalizeSolutionStep (self)
 
def AdvanceInTime (self, current_time)
 
def ComputeDeltaTime (self)
 
def GetComputingModelPart (self)
 
def ExportModelPart (self)
 
def SetEchoLevel (self, level)
 
def Clear (self)
 
def Check (self)
 
def import_constitutive_laws (self)
 Specific internal functions ####. More...
 

Public Attributes

 main_model_part
 
 solver_imports_model_part
 
 min_buffer_size
 
 computing_model_part
 
 linear_solver
 
 builder_and_solver
 
 scheme
 
 convergence_criterion
 
 solver
 
 find_neighbour_elements_of_conditions_process
 
 deactivate_conditions_on_inactive_elements_process
 
 computing_model_part_name
 
 body_domain_sub_sub_model_part_list
 
 loads_sub_sub_model_part_list
 
 strategy_params
 

Detailed Description

The base class for geomechanics solvers.

This class provides shared functions for importing and exporting models,
adding nodal variables and dofs and solving each solution step.

Derived classes can override the functions

Constructor & Destructor Documentation

◆ __init__()

def geomechanics_solver.GeoMechanicalSolver.__init__ (   self,
  model,
  custom_settings 
)

Member Function Documentation

◆ AddDofs()

def geomechanics_solver.GeoMechanicalSolver.AddDofs (   self)

◆ AddVariables()

def geomechanics_solver.GeoMechanicalSolver.AddVariables (   self)

◆ AdvanceInTime()

def geomechanics_solver.GeoMechanicalSolver.AdvanceInTime (   self,
  current_time 
)

◆ Check()

def geomechanics_solver.GeoMechanicalSolver.Check (   self)

◆ Clear()

def geomechanics_solver.GeoMechanicalSolver.Clear (   self)

◆ ComputeDeltaTime()

def geomechanics_solver.GeoMechanicalSolver.ComputeDeltaTime (   self)

◆ ExportModelPart()

def geomechanics_solver.GeoMechanicalSolver.ExportModelPart (   self)

◆ FinalizeSolutionStep()

def geomechanics_solver.GeoMechanicalSolver.FinalizeSolutionStep (   self)

◆ GetComputingModelPart()

def geomechanics_solver.GeoMechanicalSolver.GetComputingModelPart (   self)

◆ GetDefaultParameters()

def geomechanics_solver.GeoMechanicalSolver.GetDefaultParameters (   cls)

◆ GetMinimumBufferSize()

def geomechanics_solver.GeoMechanicalSolver.GetMinimumBufferSize (   self)

◆ import_constitutive_laws()

def geomechanics_solver.GeoMechanicalSolver.import_constitutive_laws (   self)

Specific internal functions ####.

◆ ImportModelPart()

def geomechanics_solver.GeoMechanicalSolver.ImportModelPart (   self)

This function imports the ModelPart.

◆ Initialize()

def geomechanics_solver.GeoMechanicalSolver.Initialize (   self)

Perform initialization after adding nodal variables and dofs to the main model part.

◆ InitializeSolutionStep()

def geomechanics_solver.GeoMechanicalSolver.InitializeSolutionStep (   self)

◆ KeepAdvancingSolutionLoop()

def geomechanics_solver.GeoMechanicalSolver.KeepAdvancingSolutionLoop (   self,
  end_time 
)

◆ Predict()

def geomechanics_solver.GeoMechanicalSolver.Predict (   self)

◆ PrepareModelPart()

def geomechanics_solver.GeoMechanicalSolver.PrepareModelPart (   self)

This function prepares the ModelPart for being used by the PythonSolver.

◆ SetEchoLevel()

def geomechanics_solver.GeoMechanicalSolver.SetEchoLevel (   self,
  level 
)

◆ SolveSolutionStep()

def geomechanics_solver.GeoMechanicalSolver.SolveSolutionStep (   self)

◆ ValidateSettings()

def geomechanics_solver.GeoMechanicalSolver.ValidateSettings (   self)

This function validates the settings of the solver.

Member Data Documentation

◆ body_domain_sub_sub_model_part_list

geomechanics_solver.GeoMechanicalSolver.body_domain_sub_sub_model_part_list

◆ builder_and_solver

geomechanics_solver.GeoMechanicalSolver.builder_and_solver

◆ computing_model_part

geomechanics_solver.GeoMechanicalSolver.computing_model_part

◆ computing_model_part_name

geomechanics_solver.GeoMechanicalSolver.computing_model_part_name

◆ convergence_criterion

geomechanics_solver.GeoMechanicalSolver.convergence_criterion

◆ deactivate_conditions_on_inactive_elements_process

geomechanics_solver.GeoMechanicalSolver.deactivate_conditions_on_inactive_elements_process

◆ find_neighbour_elements_of_conditions_process

geomechanics_solver.GeoMechanicalSolver.find_neighbour_elements_of_conditions_process

◆ linear_solver

geomechanics_solver.GeoMechanicalSolver.linear_solver

◆ loads_sub_sub_model_part_list

geomechanics_solver.GeoMechanicalSolver.loads_sub_sub_model_part_list

◆ main_model_part

geomechanics_solver.GeoMechanicalSolver.main_model_part

◆ min_buffer_size

geomechanics_solver.GeoMechanicalSolver.min_buffer_size

◆ scheme

geomechanics_solver.GeoMechanicalSolver.scheme

◆ solver

geomechanics_solver.GeoMechanicalSolver.solver

◆ solver_imports_model_part

geomechanics_solver.GeoMechanicalSolver.solver_imports_model_part

◆ strategy_params

geomechanics_solver.GeoMechanicalSolver.strategy_params

The documentation for this class was generated from the following file: