This package contains tools required to analyze truss structures based off of Bravais lattices using Abaqus. It is divided into 6 sections:
unit_cells
contains all of the elementary unit cells that can be meshed in three dimensions.mesher
takes the unit cell and creates a 3D mesh of specified dimensions.bcs
finds nodes and returns information regarding the necessary boundary conditions for a given analysis.inp_creator
creates .inp files to be analyzed via Abaqus.abaqus
executes Abaqus using the command line to analyze and extract data.post_process
takes nodal dispalcement and force data and calculates elastic properties.
First compile the extension modules: Navigate to the ~/bravais/bravais directory and execute python setup.py build_ext --inplace
.
This will compile the cpp_utils
and assign_major_axes
extension modules.
A module can be used by importing the required tools, i.e. from bravais import unit_cells, mesher
if a mesh needs to be created.
Example scripts that create input files, run the FE calculations in Abaqus, and analyze the results are provided in the examples folder.
- Ryan Latture