KratosMultiphysics / GiDInterface

The graphical user interface of Kratos for GiD. Featuring CFD, CSM, DEM, PFEM, etc
Other
30 stars 16 forks source link

MDPA generator assigns wrong name for quadratic triangle `Element3D6N` -> `Element2D6N` #935

Closed loumalouomega closed 1 year ago

loumalouomega commented 1 year ago

Just that

jginternational commented 1 year ago

Hi @loumalouomega

In fact, I've created a surface with quadratic triangles and when I click on Run to generate the mdpa, I get the following error Element GENERIC_ELEMENT Triangle (6 nodes) not available for surface entities on group Add SubModelPart Auto1

Checking the GENERIC_ELEMENT definition, I can see that quadratic triangles are not there:

  <ElementItem n="GENERIC_ELEMENT" pn="GENERIC_ELEMENT" >
    <TopologyFeatures>
      <item GeometryType="Line"          nodes="2"  KratosName="Element2D2N"/>
      <item GeometryType="Triangle"      nodes="3"  KratosName="Element2D3N"/>
      <item GeometryType="Quadrilateral" nodes="4"  KratosName="Element2D4N"/>
      <item GeometryType="Tetrahedra"    nodes="4"  KratosName="Element3D4N"/>
      <item GeometryType="Tetrahedra"    nodes="10" KratosName="Element3D10N"/>
      <item GeometryType="Hexahedra"     nodes="8"  KratosName="Element3D8N"/>
      <item GeometryType="Prism"         nodes="6"  KratosName="Element3D6N"/>
    </TopologyFeatures>
  </ElementItem>

How did you get those elements?

loumalouomega commented 1 year ago

How did you get those elements?

From the problemtype, maybe I am using an old one

jginternational commented 1 year ago

But anyway, should I add quadratic triangles, lines and quadrilater elements?

loumalouomega commented 1 year ago

But anyway, should I add quadratic triangles, lines and quadrilater elements?

yep