Skip to content

Model Parts & Modelers

These nodes bring the mesh/geometry into the case and build or transform the Kratos model. Model data propagates along connections so downstream nodes know which model parts are available — see model_manager.js and problem_manager.js.

Model parts

Directory: public/js/nodes/modelparts/

NodeTypePurpose
Read MdpaModelParts/Read MdpaRead a Kratos .mdpa mesh file and expose its (sub-)model parts.
Read MedModelParts/Read MedRead a Salome .med mesh.
Model InspectorModelParts/Model InspectorInspect the model parts flowing through a connection.

Example meshes ship under resources/mdpa/ (small.mdpa, medium.mdpa) for experimenting.

Modelers

Directory: public/js/nodes/modelers/

Modelers correspond to Kratos "modeler" operations that construct or modify the model at import time. They can be collected into a Modelers List.

NodeTypePurpose
Import MDPAModelers/Import MDPAImport-MDPA modeler.
Create Entities From GeometriesModelers/Create entities from geometriesGenerate elements/conditions from geometries.
Assign Entity To ModelPartModelers/AssignEntityToModelPartAssign entities to a (sub-)model part.
Delete Model PartModelers/Delete model partRemove a model part.
Modelers ListModelers/ModelersListCollect modelers into an ordered list.
Modeler (base)Modelers/Base/ModelerBase class for modeler nodes.

How model data flows

When you connect a mesh-reading node into the rest of the graph, FlowGraph tracks the model parts it exposes and propagates that list downstream. Nodes that need to reference a specific sub-model part (processes, material assignment, output) can then present the available names, reducing typos and keeping the generated case consistent.

Released under the AGPL-3.0-or-later License.