Skip to content

Add SubModelPart feature #622

Description

@adityaghantasala

Currently when we select that a group is to be written as an additional SubModelPart and select Write Elements option the following happens :

All the elements are written normally and the elements in the "SubModelPart" chosen to be written are written out again in a separate Begin Elements - End Elements.

This means the ImportModelPart in Kratos tries to add the elements twice and crashes with error.

Shouldn't the behaviour be like : when a group is selected to be written as SubModelPart it should only write

Begin SubModelPart

End SubModelPart

block with corresponding nodes and elements/conditions in that given group ?

Here I am attaching an example.
test_gid_submp.gid.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions