Skip to content

projectchrono/chrono-flex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrono-flex

This is a general purpose simulator for three dimensional flexible multibody dynamics problems. This implementation uses gradient-deficient Absolute Nodal Coordinate Formulation (ANCF) beam elements to model slender beams. These are two node elements with one position vector and only one gradient vector used as nodal coordinates. Each node thus has six coordinates: three components of the global position vector and three components of the position vector gradient at the node. This formulation displays no shear locking problems for thin and stiff beams. The gradient-deficient ANCF beam element does not describe rotation of the beam about its own axis so the torsional effects cannot be modeled.

pic1691

Features

This software provides a suite of flexible body support implemented in parallel on the GPU, including:

  • gradient-deficient beam elements
  • the ability to connect these elements with bilateral constraints
  • multiple solvers, including Spike::GPU
  • contact with friction

Example

// create the ANCF system
ANCFSystem sys;
sys.setTimeStep(1e-3);
sys.setTolerance(1e-6);

// create an element and add it to the system
double length = 1;
double r = 0.02;
double E = 2e7;
double rho = 2200;
double nu = .3;
Element element = Element(Node(0, 0, 0, 1, 0, 0), Node(length, 0, 0, 1, 0, 0), r, nu, E, rho);
sys.addElement(&element);

// pin the first node to the ground
sys.addConstraint_AbsoluteSpherical(0);

sys.initializeSystem();

// perform a single time step
sys.DoTimeStep();

Animations

Install

  • Download and install CUDA
  • Clone this repository
  • Use CMake to generate a native makefile and workspace that can be used in the compiler environment of your choice

Literature

Credits

(c) Simulation-Based Engineering Laboratory, 2013

About

A parallel (GPU) implementation of the gradient-deficient beam element using the Absolute Nodal Coordinate Formulation (ANCF).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published