3D Beam Finite Element Code  1.0
Classes | Namespaces | Typedefs | Functions
threed_beam_fea.h File Reference
#include <Eigen/SparseLU>
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <Eigen/SparseCore>
#include <chrono>
#include <cmath>
#include <iostream>
#include <limits>
#include "containers.h"
#include "options.h"
#include "summary.h"
#include "csv_parser.h"
Include dependency graph for threed_beam_fea.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fea::GlobalStiffAssembler
 Assembles the global stiffness matrix. More...
 

Namespaces

 fea
 

Typedefs

typedef Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > fea::GlobalStiffMatrix
 
typedef Eigen::Matrix< double, 12, 12, Eigen::RowMajor > fea::LocalMatrix
 
typedef Eigen::Matrix< double, Eigen::Dynamic, 1 > fea::ForceVector
 
typedef Eigen::SparseMatrix< double > fea::SparseMat
 

Functions

double fea::norm (const Node &n1, const Node &n2)
 Calculates the distance between 2 nodes. More...
 
void fea::loadBCs (SparseMat &Kg, ForceVector &force_vec, const std::vector< BC > &BCs, unsigned int num_nodes)
 Loads the boundary conditions into the global stiffness matrix and force vector. More...
 
void fea::loadTies (std::vector< Eigen::Triplet< double > > &triplets, const std::vector< Tie > &ties)
 Loads any tie constraints into the set of triplets that will become the global stiffness matrix. More...
 
std::vector< std::vector< double > > fea::computeTieForces (const std::vector< Tie > &ties, const std::vector< std::vector< double > > &nodal_displacements)
 Computes the forces in the tie elements based on the nodal displacements of the FE analysis and the spring constants provided in ties. More...
 
void fea::loadForces (SparseMat &force_vec, const std::vector< Force > &forces)
 Loads the prescribed forces into the force vector. More...
 
Summary fea::solve (const Job &job, const std::vector< BC > &BCs, const std::vector< Force > &forces, const std::vector< Tie > &ties, const Options &options)
 Solves the finite element analysis defined by the input Job, boundary conditions, and prescribed nodal forces. More...
 

Detailed Description

Author
Ryan Latture
Date
8-12-15

Contains declarations for 3D beam FEA functions.