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
chimera_modelpart_import Namespace Reference

Functions

def ImportChimeraModelparts (main_modelpart, chimera_mp_import_settings_list, material_file="", parallel_type="OpenMP")
 This function extends the functionalities of the mpda_manipulator from: https://github.com/philbucher/mdpa-manipulator. More...
 
def ReadModelPart (mdpa_file_name, model_part, materials_file_name="")
 Read and return a ModelPart from a mdpa file. More...
 
def AddModelPart (model_part_1, model_part_2, add_as_submodelpart=False, is_mpi=False)
 Adding the model_part_2 to model_part_1 (appending) More...
 
def CombineMaterialProperties (to_model_part, from_model_part, model_part_name)
 

Function Documentation

◆ AddModelPart()

def chimera_modelpart_import.AddModelPart (   model_part_1,
  model_part_2,
  add_as_submodelpart = False,
  is_mpi = False 
)

Adding the model_part_2 to model_part_1 (appending)

◆ CombineMaterialProperties()

def chimera_modelpart_import.CombineMaterialProperties (   to_model_part,
  from_model_part,
  model_part_name 
)

◆ ImportChimeraModelparts()

def chimera_modelpart_import.ImportChimeraModelparts (   main_modelpart,
  chimera_mp_import_settings_list,
  material_file = "",
  parallel_type = "OpenMP" 
)

This function extends the functionalities of the mpda_manipulator from: https://github.com/philbucher/mdpa-manipulator.

main_modelpart : The modelpart to which the new modelparts are appended to. chimera_mp_import_settings_list : The list of import setting for all chimera modelparts. each entry has the following format: { "model_import_settings":{ "input_type": "mdpa", "input_filename": "SOME" }, "echo_level":1 }

◆ ReadModelPart()

def chimera_modelpart_import.ReadModelPart (   mdpa_file_name,
  model_part,
  materials_file_name = "" 
)

Read and return a ModelPart from a mdpa file.