Skip to main content

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

Project description

'''
Python 3 library to automate and build finite element analysis (FEA) models in Calculix.
----------------------------------------------------------------------------------------
Meshing uses Calculix or GMSH.
Website: http://justinablack.com/pycalculix/
Source Code: https://github.com/spacether/pycalculix
Documentation: https://pythonhosted.org/pycalculix/

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


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycalculix-0.9.5.tar.gz (78.9 kB view details)

Uploaded Source

Built Distribution

pycalculix-0.9.5-py3-none-any.whl (80.4 kB view details)

Uploaded Python 3

File details

Details for the file pycalculix-0.9.5.tar.gz.

File metadata

  • Download URL: pycalculix-0.9.5.tar.gz
  • Upload date:
  • Size: 78.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pycalculix-0.9.5.tar.gz
Algorithm Hash digest
SHA256 1c181c1db9534fed4ec00b126f4e60cef2e44a44d7ed6b3c3739de7e2e2a284d
MD5 fb06b9981ba3283b84959ac996ce315b
BLAKE2b-256 44c2b03c9475adc4e0411b2dcd43081f906618411052d9e5d43e9bc1b829f05e

See more details on using hashes here.

File details

Details for the file pycalculix-0.9.5-py3-none-any.whl.

File metadata

File hashes

Hashes for pycalculix-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e7e12b3e1054046d82fa0d100cf928354cae7847ec8d4b275ccd322425b20a3d
MD5 2be12fe495b3f3ae70cd44e371534bd7
BLAKE2b-256 475b522d33469d0d515f1a60f455c9e00c8fa28c033ba04b94bd8ed9687627b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page