Skip to main content

FramAT (Frame Analysis Tool) is a tool for 3D FEM beam analyses

Project description

Latest PyPI version Documentation Status License Build status Coverage

FramAT

FramAT (Frame Analysis Tool) is a tool for FEM beam analyses. Currently FramAT provides a full implementation of 3D Euler-Bernoulli beam theory which is also known as standard engineering beam theory.

Example

Installation

pip install framat

To update an existing installation, run:

pip install --upgrade framat

Getting started

If you have installed FramAT, you may want to have a look at the Getting started page.

Example

FramAT provides a user-friendly, easy-to-read Python interface which can be integrated in complex workflows. Try it yourself. Just import the Model object from the FramAT library, and define your model.

from framat import Model

model = Model()

mat = model.add_feature('material', uid='dummy')
mat.set('E', 1)
mat.set('G', 1)
mat.set('rho', 1)

cs = model.add_feature('cross_section', uid='dummy')
cs.set('A', 1)
cs.set('Iy', 1)
cs.set('Iz', 1)
cs.set('J', 1)

beam = model.add_feature('beam')
beam.add('node', [0, 0, 0], uid='root')
beam.add('node', [1, 0, 0], uid='corner')
beam.add('node', [1, 1, 0], uid='tip')
beam.set('nelem', 10)
beam.add('material', {'from': 'root', 'to': 'tip', 'uid': 'dummy'})
beam.add('cross_section', {'from': 'root', 'to': 'tip', 'uid': 'dummy'})
beam.add('orientation', {'from': 'root', 'to': 'tip', 'up': [0, 0, 1]})
beam.add('point_load', {'at': 'corner', 'load': [0, 0, -1, 0, 0, 0]})

bc = model.set_feature('bc')
bc.add('fix', {'node': 'root', 'fix': ['all']})

pp = model.set_feature('post_proc')
pp.add('plot', ['undeformed', 'deformed', 'nodes'])

model.run()

Please refer to the documentation for more information.

Additional information for developers

For developers: Recommended packages may be installed with the requirements.txt.

pip install -r requirements.txt

License

License: Apache-2.0

⚠ Note

From version 0.3.2 to 0.4.0 interface for FramAT has been changed completely to a more user-friendly Python API. Please refer to the documentation for instructions and examples. Older development versions can still be found under releases (not recommended). The current interface is still under development.

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

framat-0.4.8.tar.gz (24.9 kB view details)

Uploaded Source

Built Distribution

framat-0.4.8-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file framat-0.4.8.tar.gz.

File metadata

  • Download URL: framat-0.4.8.tar.gz
  • Upload date:
  • Size: 24.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for framat-0.4.8.tar.gz
Algorithm Hash digest
SHA256 6665935764cb2fbb247b3d0721fb51427f0d9e3fc8cf6741945a887d01151a93
MD5 013b2c22130cc685223098f107c71193
BLAKE2b-256 f008b6de60cd3ef01dbab07024f13b2b7cc184aa0028ce9ab242119924f102df

See more details on using hashes here.

File details

Details for the file framat-0.4.8-py3-none-any.whl.

File metadata

  • Download URL: framat-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

File hashes

Hashes for framat-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fcdfd79470f5b18bd92d79ff60530a1bf2a39c66800416fc624d1ef0253b3fb7
MD5 50e277dc3832657deac0bbb1666c6d61
BLAKE2b-256 119138dd56e776b50074f1b1a482d793f426e533cbeb1181de9ff4bd43357254

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