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.
Functions
utilities.model_part_utilities Namespace Reference

Functions

def AllocateHistoricalVariablesFromCouplingDataSettings (data_settings_list, model, solver_name)
 This function allocates historical variables for the Modelparts. More...
 
def CreateMainModelPartsFromCouplingDataSettings (data_settings_list, model, solver_name)
 This function creates the Main-ModelParts that are used in the specified CouplingInterfaceData-settings. More...
 
def RecursiveCreateModelParts (model_part, model_part_name)
 This function creates a hierarchy of SubModelParts on a given ModelPart. More...
 
def CreateModelPartsFromCouplingDataSettings (data_settings_list, model, solver_name)
 This function creates the ModelParts-hierarchie that are used in the specified CouplingInterfaceData-settings. More...
 

Function Documentation

◆ AllocateHistoricalVariablesFromCouplingDataSettings()

def utilities.model_part_utilities.AllocateHistoricalVariablesFromCouplingDataSettings (   data_settings_list,
  model,
  solver_name 
)

This function allocates historical variables for the Modelparts.

It retrieves the historical variables that are needed for the ModelParts from the
specified CouplingInterfaceData-settings and allocates them on the ModelParts
Note that it can only be called after the (Main-)ModelParts are created

◆ CreateMainModelPartsFromCouplingDataSettings()

def utilities.model_part_utilities.CreateMainModelPartsFromCouplingDataSettings (   data_settings_list,
  model,
  solver_name 
)

This function creates the Main-ModelParts that are used in the specified CouplingInterfaceData-settings.

◆ CreateModelPartsFromCouplingDataSettings()

def utilities.model_part_utilities.CreateModelPartsFromCouplingDataSettings (   data_settings_list,
  model,
  solver_name 
)

This function creates the ModelParts-hierarchie that are used in the specified CouplingInterfaceData-settings.

◆ RecursiveCreateModelParts()

def utilities.model_part_utilities.RecursiveCreateModelParts (   model_part,
  model_part_name 
)

This function creates a hierarchy of SubModelParts on a given ModelPart.