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

Store temporal simulation results for a single mesh with HDF5 and Xdmf. More...

Functions

def Factory (settings, Model)
 Return a process for single mesh temporal results output with Xdmf and HDF5. More...
 
def SingleMeshXdmfOutputProcessFactory (core_settings, Model)
 
def CreateCoreSettings (user_settings, model)
 Return the core settings. More...
 

Detailed Description

Store temporal simulation results for a single mesh with HDF5 and Xdmf.

This process:

This process works with or without MPI.

license: HDF5Application/license.txt

Main authors: Philipp Bucher Michael Andre

Function Documentation

◆ CreateCoreSettings()

def single_mesh_xdmf_output_process.CreateCoreSettings (   user_settings,
  model 
)

Return the core settings.

The core setting "io_type" cannot be overwritten by the user. It is
automatically set depending on whether or not MPI is used.

◆ Factory()

def single_mesh_xdmf_output_process.Factory (   settings,
  Model 
)

Return a process for single mesh temporal results output with Xdmf and HDF5.

The input settings are given in the following table:
+-------------------------------------+------------+---------------------------------+
| Setting                             | Type       | Default Value                   |
+-------------------------------------+------------+---------------------------------+
| "model_part_name"                   | String     | ""                              |
+-------------------------------------+------------+---------------------------------+
| "file_settings"                     | Parameters | "file_name": "<model_part_name>"|
|                                     |            | "time_format": "0.4f"           |
|                                     |            | "file_access_mode": "truncate"  |
|                                     |            | "max_files_to_keep": "unlimited"|
|                                     |            | "echo_level":  0                |
+-------------------------------------+------------+---------------------------------+
| "output_time_settings"              | Parameters | "time_frequency": 1.0           |
|                                     |            | "step_frequency": 1             |
+-------------------------------------+------------+---------------------------------+
| "model_part_output_settings"        | Parameters | "prefix": "/ModelData"          |
+-------------------------------------+------------+---------------------------------+
| "nodal_solution_step_data_settings" | Parameters | "prefix": "/ResultsData"        |
|                                     |            | "list_of_variables": []         |
+-------------------------------------+------------+---------------------------------+
| "nodal_data_value_settings"         | Parameters | "prefix": "/ResultsData"        |
|                                     |            | "list_of_variables": []         |
+-------------------------------------+------------+---------------------------------+
| "element_data_value_settings"       | Parameters | "prefix": "/ResultsData"        |
|                                     |            | "list_of_variables": []         |
+-------------------------------------+------------+---------------------------------+
| "nodal_flag_value_settings"         | Parameters | "prefix": "/ResultsData"        |
|                                     |            | "list_of_variables": []         |
+-------------------------------------+------------+---------------------------------+
| "element_flag_value_settings"       | Parameters | "prefix": "/ResultsData"        |
|                                     |            | "list_of_variables": []         |
+-------------------------------------+------------+---------------------------------+
| "condition_flag_value_settings"     | Parameters | "prefix": "/ResultsData"        |
|                                     |            | "list_of_variables": []         |
+-------------------------------------+------------+---------------------------------+
| "condition_data_value_settings"     | Parameters | "prefix": "/ResultsData"        |
|                                     |            | "list_of_variables": []         |
+-------------------------------------+------------+---------------------------------+

◆ SingleMeshXdmfOutputProcessFactory()

def single_mesh_xdmf_output_process.SingleMeshXdmfOutputProcessFactory (   core_settings,
  Model 
)