WRApplication
External kratos "application" for multiscale time integration.
python_scripts.xdmf.kratos_interface Namespace Reference

Classes

class  __RootData
 
class  SubgroupNaming
 

Functions

Grid ParseRootMesh (h5py.Group path, str name="RootModelPart", Optional[h5py.Group] attribute_path=None, Optional[Union[int, float]] time=None, SubgroupNaming subgroup_naming=SubgroupNaming.Paraview)
 
Grid ParseSubmesh (h5py.Group path, str name, __RootData root_data, Optional[Union[int, float]] time=None, Optional[h5py.Group] attribute_path=None, SubgroupNaming subgroup_naming=SubgroupNaming.Paraview)
 
Grid ParseMesh (h5py.Group path, str name="RootModelPart", Optional[h5py.Group] attribute_path=None, Optional[Union[int, float]] time=None, Optional[__RootData] root_data=None, SubgroupNaming subgroup_naming=SubgroupNaming.Paraview)
 Parse a mesh corresponding to a model part. More...
 

Detailed Description

Author
Máté Kelemen

Function Documentation

◆ ParseMesh()

Grid python_scripts.xdmf.kratos_interface.ParseMesh ( h5py.Group  path,
str   name = "RootModelPart",
Optional[h5py.Group]   attribute_path = None,
Optional[Union[int,float]]   time = None,
Optional[__RootData]   root_data = None,
SubgroupNaming   subgroup_naming = SubgroupNaming.Paraview 
)

Parse a mesh corresponding to a model part.

  • name name of the model part.
  • path group in the HDF5 file pointing at the root of the model part.

This assumes that at least the following groups are present in the provided path:

  • Nodes
  • Xdmf "Nodes" must contain the IDs and coordinates of all nodes in the mesh, while "Xdmf" must contain "NodeIDMap".

◆ ParseRootMesh()

Grid python_scripts.xdmf.kratos_interface.ParseRootMesh ( h5py.Group  path,
str   name = "RootModelPart",
Optional[h5py.Group]   attribute_path = None,
Optional[Union[int,float]]   time = None,
SubgroupNaming   subgroup_naming = SubgroupNaming.Paraview 
)

◆ ParseSubmesh()

Grid python_scripts.xdmf.kratos_interface.ParseSubmesh ( h5py.Group  path,
str  name,
__RootData  root_data,
Optional[Union[int,float]]   time = None,
Optional[h5py.Group]   attribute_path = None,
SubgroupNaming   subgroup_naming = SubgroupNaming.Paraview 
)