Skip to main content

Python 3 library to automate and build finite element analysis (FEA) models in Calculix

Useful applications of Pycalculix:

  • Trade studies for plane stress, plane strain, or axisymmetric parts

  • Quick Kt analysis of 2D geometry

  • Learning finite element analyis (FEA) and Python

Notes:

I build a chunker in python which tries to cut big areas (> 5 sides) which cgx can’t mesh into smaller areas (<= 5 sides) which are meshable in cgx. The chunker may not always be able to cut areas correctly.

Elements Supported:

Axisymmetric, plane stress, and plane strain elements are supported. First and second order triangles and quadrilaterals are supported.

  • First order elements only have corner nodes

  • Second order elements have corner and mid-side nodes

Second order elements produce more accurate results Setting element divisions on lines is supported

Geometry Building:

One can build separate parts made of points, lines, arcs, and areas. One can draw a part made of straight lines, then smooth out corners by adding blends/fillets with the part method: part.fillet_lines(L1, L2, arc_radius) The new fillet will be tangent to both adjacent lines.

Loading:

  • Force loading

  • Constant pressure

  • Linearly varying pressure (water pressure)

  • Gravity

  • Rotational speed forces

  • Displacement constraints are supported

  • Loads are stored on geometry primitives (points lines etc) and can be applied before or after meshing

Examples:

https://github.com/spacether/pycalculix/tree/master/examples

Release files for pycalculix 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycalculix 1.1.4
File Size Uploaded
pycalculix-1.1.4.zip 88.4 kB Details

Release files / pycalculix-1.1.4.zip

Download URL pycalculix-1.1.4.zip
Size 88.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2f45ed8db12956d0e1f2cf0d3918cde46451f3f4fbf48834ecee28540e6b9866
BLAKE2b-256 checksum
How to use checksums
170a5f82ec2a15368c588ed6ccde9c7e4704266c18816c54d4ecf5c380eca531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

1.1.4 This release

1 release file

1.1.2

2 release files

1.1.1

2 release files

0.9.5

2 release files

0.9.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page