FEM Mesh CalculiX: Difference between revisions

From FreeCAD Documentation
No edit summary
(39 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages/>
== FEM Element Types ==
{{TOCright}}
==== Segment element ====
<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-->
<p> <br /> </p>


<!--T:12-->
==== Triangle element ====
{| 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"
|+ '''Segment element from FreeCAD to CalculiX -- node assignment'''
|-
| seg2 FreeCAD nodes || seg3 FreeCAD nodes
|-
| [[File:Seg2.png|250px]] || [[File:Seg3--fc.png|250px]]
|-
|| seg2 (B31) CalculiX nodes || seg3 (B32) CalculiX nodes
|-
| [[File:Seg2.png|250px]] || [[File:Seg3--ccx.png|250px]]
|-
||FreeCAD → CalculiX, Nodes ||
|-
|| N1, N2 || N1, N3, N2
|}

=== Triangle element === <!--T:3-->

<!--T:13-->
{| class="wikitable" style="color:black; background-color:#eeeeef;" cellpadding="5" cellspacing="0" border="1"
|+ '''Triangle element from FreeCAD to CalculiX -- node assignment'''
|+ '''Triangle element from FreeCAD to CalculiX -- node assignment'''
|-
|-
Line 12: 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 21: 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
|| 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)
|}
|}


=== Quadratic element === <!--T:4-->


<!--T:5-->
<p> <br /> </p>
{| 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 53: 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-->


<!--T:7-->
<p> <br /> </p>
The following node order is not implemented ! TODO: verify node order (do not forget getccxVolumesByFace()).


<!--T:8-->
==== Tetrahedron element ====
{| 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 76: 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 85: 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)
|}
|}


=== Hexahedron element === <!--T:9-->
<p> <br /> </p>


<!--T:14-->
==== Hexahedron element ====
{| 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)
|}
|}


=== Pentahedron element === <!--T:10-->
<p> <br /> </p>


<!--T:15-->
==== Pentahedron element ====
{| 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 138: 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 147: 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
|| N5, N6, N4, N2, N3, N1 || N5, N6, N4, N2, N3, N1, N11, N12, N10, N8, N9, N7, N14, N15, N13
|-
||CalculiX ||
|-
|| 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)
|}
|}


<!--T:11-->
<p> <br /> </p>
{{FEM Tools navi}}
[[Category:Developer]]
[[Category:Poweruser_Documentation]]

</translate>
{{clear}}

Revision as of 20:20, 31 January 2020

Other languages:

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 (B31) CalculiX nodes seg3 (B32) CalculiX nodes
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 (S3) CalculiX nodes tria6 (S6) CalculiX nodes
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 (S4) CalculiX nodes quad8 (S8) CalculiX nodes
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 (C3D4) CalculiX nodes tetra10 (C3D10) CalculiX nodes
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 (C3D8) CalculiX nodes hexa20 (C3D20) CalculiX nodes
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 (C3D6) CalculiX nodes penta15 (C3D15) CalculiX nodes
FreeCAD → CalculiX, Nodes
N5, N6, N4, N2, N3, N1 N5, N6, N4, N2, N3, N1, N11, N12, N10, N8, N9, N7, N14, N15, N13