Difference between revisions of "FEM Mesh CalculiX"

From FreeCAD Documentation
Jump to navigation Jump to search
(38 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== FEM Element Types ==
+
<languages/>
==== Segment element ====
+
{{TOCright}}
{| class="wikitable" style="color:green; background-color:#ffffcc;" cellpadding="5" cellspacing="0" border="1"
+
<translate>
 +
 
 +
== FEM element types in CalculiX == <!--T:1-->
 +
For detailed information on FreeCAD FEM elements see [[FEM Mesh|FEM Mesh]] and [[FEM Element Types|FEM Element Types]].
 +
 
 +
=== Segment element === <!--T:2-->
 +
 
 +
<!--T:12-->
 +
{| class="wikitable" style="color:black; background-color:#eeeeef;" cellpadding="5" cellspacing="0" border="1"
 
|+ '''Segment element from FreeCAD to CalculiX -- node assignment'''
 
|+ '''Segment element from FreeCAD to CalculiX -- node assignment'''
 
|-
 
|-
 
| seg2 FreeCAD nodes || seg3 FreeCAD nodes
 
| seg2 FreeCAD nodes || seg3 FreeCAD nodes
 
|-
 
|-
| [[File:Seg2--fc.png|250px]] || [[File:Seg3--fc.png|250px]]  
+
| [[File:Seg2.png|250px]] || [[File:Seg3--fc.png|250px]]  
|-
 
|| seg2 FreeCAD nodes element rotated || seg3 FreeCAD nodes element rotated
 
 
|-
 
|-
| [[File:Seg2--fc_rotated.png|250px]] || [[File:Seg3--fc_rotated.png|250px]]
+
|| seg2 (B31) CalculiX nodes || seg3 (B32) CalculiX nodes
|-
 
|| seg2 (B31) CalculiX nodes || seg3 (S6) CalculiX nodes
 
 
|-  
 
|-  
| [[File:Seg2--ccx.png|250px]] || [[File:Seg3--ccx.png|250px]]  
+
| [[File:Seg2.png|250px]] || [[File:Seg3--ccx.png|250px]]  
 
|-
 
|-
||FreeCAD ||  
+
||FreeCAD → CalculiX, Nodes ||  
 
|-
 
|-
|| N1, N2 || N1, N2, N3
+
|| N1, N2 || N1, N3, N2
|-
 
||CalculiX ||
 
|-
 
|| N1, N2  || N1, N2, N3
 
|-
 
||Code ||
 
|-
 
|| (0)(1)  || (0)(2)(1)
 
 
|}
 
|}
  
 +
=== Triangle element === <!--T:3-->
  
<p> <br />  </p>
+
<!--T:13-->
 
+
{| class="wikitable" style="color:black; background-color:#eeeeef;" cellpadding="5" cellspacing="0" border="1"
==== Triangle element ====
 
{| class="wikitable" style="color:green; background-color:#ffffcc;" cellpadding="5" cellspacing="0" border="1"
 
 
|+ '''Triangle element from FreeCAD to CalculiX -- node assignment'''
 
|+ '''Triangle element from FreeCAD to CalculiX -- node assignment'''
 
|-
 
|-
Line 39: Line 34:
 
|-
 
|-
 
| [[File:Tria3--fc.png|250px]] || [[File:Tria6--fc.png|250px]]  
 
| [[File:Tria3--fc.png|250px]] || [[File:Tria6--fc.png|250px]]  
|-
 
|| tria3 FreeCAD nodes element rotated || tria6 FreeCAD nodes element rotated
 
|-
 
| [[File:Tria3--fc_rotated.png|250px]] || [[File:Tria6--fc_rotated.png|250px]]
 
 
|-
 
|-
 
|| tria3 (S3) CalculiX nodes || tria6 (S6) CalculiX nodes
 
|| tria3 (S3) CalculiX nodes || tria6 (S6) CalculiX nodes
Line 48: Line 39:
 
| [[File:Tria3--ccx.png|250px]] || [[File:Tria6--ccx.png|250px]]  
 
| [[File:Tria3--ccx.png|250px]] || [[File:Tria6--ccx.png|250px]]  
 
|-
 
|-
||FreeCAD ||
+
||FreeCAD CalculiX, Nodes ||  
|-
 
|| N1, N2, N3 || N1, N2, N3, N4, N5, N6
 
|-
 
||CalculiX ||
 
|-
 
|| N1, N3, N2  || N1, N3, N2, N6, N5, N4
 
|-
 
||Code ||  
 
 
|-
 
|-
|| (0)(2)(1) || (0)(2)(1)(5)(4)(3)
+
|| N1, N2, N3 || N1, N2, N3, N4, N5, N6
 
|}
 
|}
  
 +
=== Quadratic element === <!--T:4-->
  
<p> <br />  </p>
+
<!--T:5-->
 
+
{| class="wikitable" style="color:black; background-color:#eeeeef;" cellpadding="5" cellspacing="0" border="1"
==== Quadratic element ====
 
{| class="wikitable" style="color:green; background-color:#ffffcc;" cellpadding="5" cellspacing="0" border="1"
 
 
|+ '''Quadratic element from FreeCAD to CalculiX -- node assignment'''
 
|+ '''Quadratic element from FreeCAD to CalculiX -- node assignment'''
 
|-
 
|-
| quad4 FreeCAD nodes || tria6 FreeCAD nodes
+
| quad4 FreeCAD nodes || quad8 FreeCAD nodes
 
|-
 
|-
 
| [[File:Quad4--fc.png|250px]] || [[File:Quad8--fc.png|250px]]  
 
| [[File:Quad4--fc.png|250px]] || [[File:Quad8--fc.png|250px]]  
|-
 
|| quad4 FreeCAD nodes element rotated || quad8 FreeCAD nodes element rotated
 
|-
 
| [[File:Quad4--fc_rotated.png|250px]] || [[File:Quad8--fc_rotated.png|250px]]
 
 
|-
 
|-
 
|| quad4 (S4) CalculiX nodes || quad8 (S8) CalculiX nodes
 
|| quad4 (S4) CalculiX nodes || quad8 (S8) CalculiX nodes
Line 80: Line 58:
 
| [[File:Quad4--ccx.png|250px]] || [[File:Quad8--ccx.png|250px]]  
 
| [[File:Quad4--ccx.png|250px]] || [[File:Quad8--ccx.png|250px]]  
 
|-
 
|-
||FreeCAD ||  
+
||FreeCAD → CalculiX, Nodes ||
 
|-
 
|-
 
|| N1, N2, N3, N4 || N1, N2, N3, N4, N5, N6, N7, N8
 
|| N1, N2, N3, N4 || N1, N2, N3, N4, N5, N6, N7, N8
|-
 
||CalculiX ||
 
|-
 
|| N1, N4, N3, N2  || N1, N4, N3, N2, N8, N7, N6, N5
 
|-
 
||Code ||
 
|-
 
|| (0)(3)(2)(1)  || (0)(3)(2)(1)(7)(6)(5)(4)
 
 
|}
 
|}
  
 +
=== Tetrahedron element === <!--T:6-->
  
<p>  <br />  </p>
+
<!--T:7-->
 +
The following node order is not implemented ! TODO: verify node order (do not forget getccxVolumesByFace()).
  
==== Tetrahedron element ====
+
<!--T:8-->
{| class="wikitable" style="color:green; background-color:#ffffcc;" cellpadding="5" cellspacing="0" border="1"
+
{| class="wikitable" style="color:black; background-color:#eeeeef;" cellpadding="5" cellspacing="0" border="1"
 
|+ '''Tetrahedron element from FreeCAD to CalculiX -- node assignment'''
 
|+ '''Tetrahedron element from FreeCAD to CalculiX -- node assignment'''
 
|-
 
|-
Line 103: Line 75:
 
|-
 
|-
 
| [[File:Tetra4--fc.png|250px]] || [[File:Tetra10--fc.png|250px]]  
 
| [[File:Tetra4--fc.png|250px]] || [[File:Tetra10--fc.png|250px]]  
|-
 
|| tetra4 FreeCAD nodes element rotated || tetra10 FreeCAD nodes element rotated
 
|-
 
| [[File:Tetra4--fc_rotated.png|250px]] || [[File:Tetra10--fc_rotated.png|250px]]
 
 
|-
 
|-
 
|| tetra4 (C3D4) CalculiX nodes || tetra10 (C3D10) CalculiX nodes
 
|| tetra4 (C3D4) CalculiX nodes || tetra10 (C3D10) CalculiX nodes
Line 112: Line 80:
 
| [[File:Tetra4--ccx.png|250px]] || [[File:Tetra10--ccx.png|250px]]  
 
| [[File:Tetra4--ccx.png|250px]] || [[File:Tetra10--ccx.png|250px]]  
 
|-
 
|-
||FreeCAD ||  
+
||FreeCAD → CalculiX, Nodes ||  
 
|-
 
|-
|| N1, N2, N3, N4 || N1, N2, N3, N4, N5, N6, N7, N8,  N9, N10
+
|| N2, N3, N4, N1 || N2, N3, N4, N1, N6, N10, N9, N5, N7, N8
|-
 
||CalculiX ||
 
|-
 
|| N1, N3, N2, N4 || N1, N3, N2, N4, N7, N6, N5, N8, N10, N9
 
|-
 
||Code ||
 
|-
 
||(0)(2)(1)(3) || (0)(2)(1)(3)(6)(5)(4)(7)(9)(8)
 
 
|}
 
|}
  
<p>  <br />  </p>
+
=== Hexahedron element === <!--T:9-->
  
==== Hexahedron element ====
+
<!--T:14-->
{| class="wikitable" style="color:green; background-color:#ffffcc;" cellpadding="5" cellspacing="0" border="1"
+
{| class="wikitable" style="color:black; background-color:#eeeeef;" cellpadding="5" cellspacing="0" border="1"
 
|+ '''Hexahedron element from FreeCAD to CalculiX -- node assignment'''
 
|+ '''Hexahedron element from FreeCAD to CalculiX -- node assignment'''
 
|-
 
|-
| hex8 FreeCAD nodes || hex20 FreeCAD nodes
+
| hexa8 FreeCAD nodes || hexa20 FreeCAD nodes
 
|-
 
|-
 
| [[File:Hexa8--fc.png|250px]] || [[File:Hexa20--fc.png|250px]]  
 
| [[File:Hexa8--fc.png|250px]] || [[File:Hexa20--fc.png|250px]]  
 
|-
 
|-
|| hex8 FreeCAD nodes element rotated || hex20 FreeCAD nodes element rotated
+
|| hexa8 (C3D8) CalculiX nodes || hexa20 (C3D20) CalculiX nodes
|-
 
| [[File:Hexa8--fc_rotated.png|250px]] || [[File:Hexa20--fc_rotated.png|250px]]
 
|-
 
|| hex8 (C3D8) CalculiX nodes || hex20 (C3D20) CalculiX nodes
 
 
|-  
 
|-  
 
| [[File:Hexa8--ccx.png|250px]] || [[File:Hexa20--ccx.png|250px]]  
 
| [[File:Hexa8--ccx.png|250px]] || [[File:Hexa20--ccx.png|250px]]  
 
|-
 
|-
||FreeCAD ||  
+
||FreeCAD → CalculiX, Nodes ||  
 
|-
 
|-
||N1, N2, N3, N4, N5, N6, N7, N8 || N1, N2, N3, N4, N5, N6, N7, N8, N9, N10, N11, N12, N13, N14, N15, N16, N17, N18, N19, N20
+
||N6, N7, N8, N5, N2, N3, N4, N1 || N6, N7, N8, N5, N2, N3, N4, N1 , N14, N15, N16, N13, N10, N11, N12, N9, N18, N19, N20, N17
|-
 
||CalculiX ||
 
|-
 
||N1, N4, N3, N2, N5, N8, N7, N6 || N1, N4, N3, N2, N5, N8, N7, N6, N12, N11, N10, N9 , N16, N15, N14, N13, N17, N20, N19, N18
 
|-
 
||Code ||
 
|-
 
||(0)(3)(2)(1)(4)(7)(6)(5) || (0)(3)(2)(1)(4)(7)(6)(5)(11)(10)(9)(8)(15)(14)(13)(12)(16)(19)(18)(17)
 
 
|}
 
|}
  
<p>  <br />  </p>
+
=== Pentahedron element === <!--T:10-->
  
==== Pentahedron element ====
+
<!--T:15-->
{| class="wikitable" style="color:green; background-color:#ffffcc;" cellpadding="5" cellspacing="0" border="1"
+
{| class="wikitable" style="color:black; background-color:#eeeeef;" cellpadding="5" cellspacing="0" border="1"
 
|+ '''Pentahedron element from FreeCAD to CalculiX -- node assignment'''
 
|+ '''Pentahedron element from FreeCAD to CalculiX -- node assignment'''
 
|-
 
|-
Line 165: Line 113:
 
|-
 
|-
 
| [[File:penta6--fc.png|250px]] || [[File:Penta15--fc.png|250px]]  
 
| [[File:penta6--fc.png|250px]] || [[File:Penta15--fc.png|250px]]  
|-
 
|| penta6 FreeCAD nodes element rotated || penta15 FreeCAD nodes element rotated
 
|-
 
| [[File:penta6--fc_rotated.png|250px]] || [[File:Penta15--fc_rotated.png|250px]]
 
 
|-
 
|-
 
|| penta6 (C3D6) CalculiX nodes || penta15 (C3D15) CalculiX nodes
 
|| penta6 (C3D6) CalculiX nodes || penta15 (C3D15) CalculiX nodes
Line 174: Line 118:
 
| [[File:Penta6--ccx.png|250px]] || [[File:Penta15--ccx.png|250px]]  
 
| [[File:Penta6--ccx.png|250px]] || [[File:Penta15--ccx.png|250px]]  
 
|-
 
|-
||FreeCAD ||
+
||FreeCAD → CalculiX, Nodes ||  
|-
 
|| N1, N2, N3, N4, N5, N6 || N1, N2, N3, N4, N5, N6, N7, N8,  N9, N10, N11, N12, N13, N14, N15
 
 
|-
 
|-
||CalculiX ||
+
|| N5, N6, N4, N2, N3, N1 || N5, N6, N4, N2, N3, N1, N11, N12, N10, N8, N9, N7, N14, N15, N13
|-
 
|| N1, N3, N2, N4, N6, N5 || N1, N3, N2, N4, N6, N5, N9, N8, N7, N12, N11, N10, N13, N15, N14
 
|-
 
||Code ||
 
|-
 
||(0)(2)(1)(3)(5)(4) || (0)(2)(1)(3)(5)(4)(8)(7)(6)(11)(10)(9)(12)(14)(13)
 
 
|}
 
|}
  
<p> <br /> </p>
+
<!--T:11-->
 +
{{FEM Tools navi}}
 +
[[Category:Developer]]
 +
[[Category:Poweruser_Documentation]]
 +
 
 +
</translate>
 +
{{clear}}

Revision as of 20:20, 31 January 2020

Other languages:
English • ‎français • ‎italiano

FEM element types in CalculiX

For detailed information on FreeCAD FEM elements see FEM Mesh and FEM Element Types.

Segment element

Segment element from FreeCAD to CalculiX -- node assignment
seg2 FreeCAD nodes seg3 FreeCAD nodes
Seg2.png Seg3--fc.png
seg2 (B31) CalculiX nodes seg3 (B32) CalculiX nodes
Seg2.png Seg3--ccx.png
FreeCAD → CalculiX, Nodes
N1, N2 N1, N3, N2

Triangle element

Triangle element from FreeCAD to CalculiX -- node assignment
tria3 FreeCAD nodes tria6 FreeCAD nodes
Tria3--fc.png Tria6--fc.png
tria3 (S3) CalculiX nodes tria6 (S6) CalculiX nodes
Tria3--ccx.png Tria6--ccx.png
FreeCAD → CalculiX, Nodes
N1, N2, N3 N1, N2, N3, N4, N5, N6

Quadratic element

Quadratic element from FreeCAD to CalculiX -- node assignment
quad4 FreeCAD nodes quad8 FreeCAD nodes
Quad4--fc.png Quad8--fc.png
quad4 (S4) CalculiX nodes quad8 (S8) CalculiX nodes
Quad4--ccx.png Quad8--ccx.png
FreeCAD → CalculiX, Nodes
N1, N2, N3, N4 N1, N2, N3, N4, N5, N6, N7, N8

Tetrahedron element

The following node order is not implemented ! TODO: verify node order (do not forget getccxVolumesByFace()).

Tetrahedron element from FreeCAD to CalculiX -- node assignment
tetra4 FreeCAD nodes tetra10 FreeCAD nodes
Tetra4--fc.png Tetra10--fc.png
tetra4 (C3D4) CalculiX nodes tetra10 (C3D10) CalculiX nodes
Tetra4--ccx.png Tetra10--ccx.png
FreeCAD → CalculiX, Nodes
N2, N3, N4, N1 N2, N3, N4, N1, N6, N10, N9, N5, N7, N8

Hexahedron element

Hexahedron element from FreeCAD to CalculiX -- node assignment
hexa8 FreeCAD nodes hexa20 FreeCAD nodes
Hexa8--fc.png Hexa20--fc.png
hexa8 (C3D8) CalculiX nodes hexa20 (C3D20) CalculiX nodes
Hexa8--ccx.png Hexa20--ccx.png
FreeCAD → CalculiX, Nodes
N6, N7, N8, N5, N2, N3, N4, N1 N6, N7, N8, N5, N2, N3, N4, N1 , N14, N15, N16, N13, N10, N11, N12, N9, N18, N19, N20, N17

Pentahedron element

Pentahedron element from FreeCAD to CalculiX -- node assignment
penta6 FreeCAD nodes penta15 FreeCAD nodes
Penta6--fc.png Penta15--fc.png
penta6 (C3D6) CalculiX nodes penta15 (C3D15) CalculiX nodes
Penta6--ccx.png Penta15--ccx.png
FreeCAD → CalculiX, Nodes
N5, N6, N4, N2, N3, N1 N5, N6, N4, N2, N3, N1, N11, N12, N10, N8, N9, N7, N14, N15, N13