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
solid_mechanics_monolithic_solver.MonolithicSolver Class Reference

The base class for solid mechanics solvers. More...

Inheritance diagram for solid_mechanics_monolithic_solver.MonolithicSolver:
Collaboration diagram for solid_mechanics_monolithic_solver.MonolithicSolver:

Public Member Functions

def __init__ (self, Model, custom_settings)
 
def ExecuteInitialize (self)
 
def ExecuteBeforeSolutionLoop (self)
 
def GetVariables (self)
 
def GetOutputVariables (self)
 
def ComputeDeltaTime (self)
 
def SetEchoLevel (self, level)
 
def Clear (self)
 
def Check (self)
 
def Solve (self)
 Solve loop methods ####. More...
 
def InitializeSolutionStep (self)
 
def SolveSolutionStep (self)
 
def FinalizeSolutionStep (self)
 

Public Attributes

 settings
 
 model
 
 echo_level
 
 model_part
 
 main_model_part
 
 process_info
 

Detailed Description

The base class for solid mechanics solvers.

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

Derived classes must override the function _create_mechanical_solver which
constructs and returns a valid solving strategy. Depending on the type of
solver, derived classes may also need to override the following functions:

_create_solution_scheme
_create_convergence_criterion
_create_linear_solver
_create_builder_and_solver
_create_mechanical_solver

The mechanical_solver, builder_and_solver, etc. should alway be retrieved
using the getter functions _get_mechanical_solver, _get_builder_and_solver,
etc. from this base class.

Only the member variables listed below should be accessed directly.

Public member variables:
settings -- Kratos parameters containing solver settings.
model_part -- the model part used to construct the solver (computing_model_part).

Constructor & Destructor Documentation

◆ __init__()

def solid_mechanics_monolithic_solver.MonolithicSolver.__init__ (   self,
  Model,
  custom_settings 
)

Member Function Documentation

◆ Check()

def solid_mechanics_monolithic_solver.MonolithicSolver.Check (   self)

◆ Clear()

def solid_mechanics_monolithic_solver.MonolithicSolver.Clear (   self)

◆ ComputeDeltaTime()

def solid_mechanics_monolithic_solver.MonolithicSolver.ComputeDeltaTime (   self)

◆ ExecuteBeforeSolutionLoop()

def solid_mechanics_monolithic_solver.MonolithicSolver.ExecuteBeforeSolutionLoop (   self)

◆ ExecuteInitialize()

def solid_mechanics_monolithic_solver.MonolithicSolver.ExecuteInitialize (   self)

◆ FinalizeSolutionStep()

def solid_mechanics_monolithic_solver.MonolithicSolver.FinalizeSolutionStep (   self)

◆ GetOutputVariables()

def solid_mechanics_monolithic_solver.MonolithicSolver.GetOutputVariables (   self)

◆ GetVariables()

def solid_mechanics_monolithic_solver.MonolithicSolver.GetVariables (   self)

◆ InitializeSolutionStep()

def solid_mechanics_monolithic_solver.MonolithicSolver.InitializeSolutionStep (   self)

◆ SetEchoLevel()

def solid_mechanics_monolithic_solver.MonolithicSolver.SetEchoLevel (   self,
  level 
)

◆ Solve()

def solid_mechanics_monolithic_solver.MonolithicSolver.Solve (   self)

Solve loop methods ####.

◆ SolveSolutionStep()

def solid_mechanics_monolithic_solver.MonolithicSolver.SolveSolutionStep (   self)

Member Data Documentation

◆ echo_level

solid_mechanics_monolithic_solver.MonolithicSolver.echo_level

◆ main_model_part

solid_mechanics_monolithic_solver.MonolithicSolver.main_model_part

◆ model

solid_mechanics_monolithic_solver.MonolithicSolver.model

◆ model_part

solid_mechanics_monolithic_solver.MonolithicSolver.model_part

◆ process_info

solid_mechanics_monolithic_solver.MonolithicSolver.process_info

◆ settings

solid_mechanics_monolithic_solver.MonolithicSolver.settings

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