Kratos: VTK node ids

Created on 25 Sep 2019  路  6Comments  路  Source: KratosMultiphysics/Kratos

The vtk format does not have node or element ids. The numbering happens according to the order of appearance in the vtk file and is not related to the ids in Kratos.

I propose a flag for the vtk output process to include node/element ids as an additional data in the result file - similar to the already existing write_properties_id.

naming in the output could e.g. be
KRATOS_NODE_ID
KRATOS_ELEMENT_ID

@KratosMultiphysics/interface-committee

Discussion IO Proposal

Most helpful comment

You and your IDs ... xD

Ok for me, please go ahead

All 6 comments

You and your IDs ... xD

Ok for me, please go ahead

Fine by me. By the way, it need not be an extra flag, it would be nice if it can be done via existing settings.

FYI @stefangrabke

Fine by me. By the way, it need not be an extra flag, it would be nice if it can be done via existing settings.

Doing this with the existing settings i see two options:

  • change "write_properties_id" to "write_ids" and write all ids - of nodes, elements, conditions, properties...
  • add a variable to the nodes and use "nodal_solution_step_data_variables"

Both are a bit clunky IMO

change "write_properties_id" to "write_ids" and write all ids - of nodes, elements, conditions, properties...

+1

FYI @oberbichler

Was this page helpful?
0 / 5 - 0 ratings

Related issues

riccardotosi picture riccardotosi  路  5Comments

qaumann picture qaumann  路  6Comments

Gaoliu19910601 picture Gaoliu19910601  路  6Comments

roigcarlo picture roigcarlo  路  6Comments

riccardotosi picture riccardotosi  路  7Comments