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-1.1.1.tar.gz (80.5 kB view details)

Uploaded Source

Built Distribution

pycalculix-1.1.1-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pycalculix-1.1.1.tar.gz
  • Upload date:
  • Size: 80.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pycalculix-1.1.1.tar.gz
Algorithm Hash digest
SHA256 44577a50096515085c90f1b7c7f441b95dbfae5dc8caa0cac96d30de39c6fba0
MD5 eb4111a2f72ea948ccc48bf03ea763a7
BLAKE2b-256 d76aeb6f54e6295ea67ce9bfa0224e38aa21507c4a2f850afb2d835c69b7954d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycalculix-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 85.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pycalculix-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 351f827b15dc4b0fba90d2f4b6fc70c10554c29377998a02e657d8fc08bb7e12
MD5 88d721ac7a679d51b20cf1b44be63249
BLAKE2b-256 f775cb9951b16fe0458e7f4a785c8cb2481b4f4f8344087ec0eed7525cb79cfc

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