Skip to content

WISDEM/pBEAM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pBEAM

A finite element method for beam-like structures.

Author: NREL WISDEM Team

Documentation

See local documentation in the docs-directory or access the online version at http://wisdem.github.io/pBEAM/

Prerequisites

C++ compiler (with c++11 support), NumPy

Note that any modern compiler (gcc, clang, etc) on Linux or MacOS will support the c++11 standard. On Windows, recommend to use mingw through Anaconda or gcc on Cygwin.

Installation

For detailed installation instructions of WISDEM modules see https://github.com/WISDEM/WISDEM or to install pBEAM by itself do:

$ python setup.py install

To check if installation was successful run Python from the command line

$ python

and import the module. If no errors are issued, then the installation was successful.

>>> import _pBEAM

Unit Tests

pBEAM has a large range of unit tests, but they are only accessible through C++. They are intended to test the integrity of the underying code for development purposes, rather than the python interface. However, if you want to run the tests then change directory to src and run

$ make CXX=g++

where the name of your C++ compiler should be inserted in the place of g++. The script will build the test executable and run all tests. The phrase "No errors detected" signifies that all the tests passed. You can remove the remove the test executable and all object files by running

$ make clean

For software issues please use https://github.com/WISDEM/pBEAM/issues. For functionality and theory related questions and comments please use the NWTC forum for Systems Engineering Software Questions.