-
-
Notifications
You must be signed in to change notification settings - Fork 114
1. Getting Started
You can use pip to install the most recent PyNite package available on PyPI. The PyPI package is updated less frequently than the version available on GitHub, but it will usually have fewer bugs, as it goes through testing and debugging before being uploaded to PyPI. the PyPI package may not yet have all the features described on this wiki. PyNite can be installed from the command line using pip as follows:
$ pip install PyNiteFEA
Alternatively, the PyNite
folder on the Code
page contains all the files necessary to run PyNite. Just download or clone it into your project directory or into your python path and you're set. Using this method will allow you to stay current with the latest changes to PyNite (for better or worse) between PyPI updates.
You also need to install numpy and matplotlib for PyNite to work. If you want to use the visualization tools, you'll need to install vtk (Visualization Toolkit) and be running a 64 bit version of Python.
Once you've installed PyNite, import PyNite like you would any other Python library. At this point of development, the FEModel3D
class contains everything you need to import.
Example:
from PyNite import FEModel3D()
Use the FEModel3D
class to create finite element models.
Example:
myModel = FEModel3D()