Skip to content

IO, Lists & Utilities

This page collects the input/output nodes, the container nodes that group other nodes into lists and maps, the element/condition selectors, and small helper nodes.

IO

Directory: public/js/nodes/IO/

NodeTypePurpose
Parse ModelpartIO/Parse ModelpartParse a model-part file into model-part settings + sub-model-part lists.
Parse MaterialsIO/Parse MaterialsParse a materials file into a list of materials.
Assign Material To ModelPartIO/AssignMaterialToModelPartBind a material to a (sub-)model part.
Combine Materials & ModelpartsIO/CombineMaterialsModelpartsMerge material and model-part assignments.
Export case filesIO/DownloadProblemZip ProjectParameters.json + material files into case.zip (details).
JSON ViewerIO/JSONViewRender the connected JSON in the side panel.
Run ProblemIO/Run ProblemTrigger a backend Kratos run (requires a local Kratos).
Key/ValueIO/KeyValueA single key/value pair building block.

The JSON Viewer node connected to a data source is the quickest way to inspect generated output:

JSON Viewer showing a generated block

Lists & maps

Directory: public/js/nodes/lists/, public/js/nodes/maps/

Container nodes that aggregate their inputs into an array or object.

NodeTypePurpose
Generic ListLists/Generic ListOrdered list of arbitrary inputs.
List of ProcessesLists/ProcessesCollect process nodes into the boundary-condition list.
List of Output processesLists/Output processesCollect output-process nodes.
List of MaterialsLists/MaterialsCollect material nodes.
List of SubmodelpartsLists/SubmodelpartsCollect sub-model parts.
MapLists/MapKey→value map of inputs.

Output processes

Directory: public/js/nodes/output_processes/

NodeTypePurpose
GiD OutputOutput processes/GiDConfigure GiD output.
Output Process (base)Base class for output-process nodes.

Selectors

Directory: public/js/nodes/selectors/

NodeTypePurpose
ElementsElem & Cond/ElementsPick a Kratos element type (backed by db/elements.js).
ConditionsElem & Cond/ConditionsPick a Kratos condition type (backed by db/conditions.js).

Utilities

Directory: public/js/nodes/utilities/

HelperFilePurpose
Error Handlerutilities/error_handler.jsDraws error marks/tooltips on nodes with validation problems.
Key/Valueutilities/key_value.jsKey/value helper.
Process Parserutilities/process_parser.jsHelpers for turning parsed Kratos processes into node data.

Generic building blocks (constants, math, watch, console, JSON parse/merge, download) also come from public/js/base.js.

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