Git Product home page Git Product logo

baoyufuyou / chrono Goto Github PK

View Code? Open in Web Editor NEW

This project forked from projectchrono/chrono

0.0 0.0 0.0 121.34 MB

C++ library for multi-physics simulation

Home Page: http://projectchrono.org

License: BSD 3-Clause "New" or "Revised" License

HTML 0.03% CSS 0.74% CMake 2.14% C++ 82.82% C 9.14% Objective-C 0.01% Python 1.01% Inno Setup 0.11% GLSL 0.02% JavaScript 0.02% POV-Ray SDL 0.10% Cuda 3.82% Lex 0.01% Shell 0.01% Batchfile 0.02%

chrono's Introduction

Project CHRONO

Project Chrono represents a community effort aimed at producing a physics-based modelling and simulation infrastructure based on a platform-independent, open-source design. The name of this software infrastructure is Chrono. Some of its features are listed below. More information is available at the project website. The applications areas in which Chrono is most often used are vehicle dynamics, robotics, and machine design. In vehicle dynamics, Chrono has mature support for tire/terrain interaction modeling and simulation.

Physics modeling

  • Rigid body support
  • Flexible body support via Chrono::FEA module - both for ANCF and co-rotational nonlinear finite element analysis
  • Support for fluid-solid interaction problems, via Chrono::FSI module
  • Coulomb friction model capturing stick-slip phenomena.
  • Support for rolling friction and spinning friction.
  • Support for handling frictional contact via two approaches: a complementarity approach and a penalty approach.
  • Springs and dampers with non-linear response. Can be user defined.
  • Large collection of joints and constraints: spherical, revolute, prismatic, universal, glyph, screw, bevel and spur gears, pulleys, etc.
  • Unilateral constraints.
  • Constraints to impose trajectories, or to force motion on splines, curves, surfaces, etc.
  • Constraints can have limits (ex. elbow).
  • Constraints can be rheonomic or holonomic
  • Custom constraint for linear motors.
  • Custom constraint for pneumatic cylinders.
  • Custom constraint for motors, with reducers, learning mode, etc.
  • On the fly constraint activation/deactivation.
  • Simplified 1D dynamic models. Examples: powertrain, clutches, brakes, etc. For more sophisticated models see companion Chrono::Vehicle module.
  • All physical items can have an arbitrary number of 'assets' used for defining visualization shapes, custom properties, etc.

Solver

  • HHT solver for index 3 differential algebraic equations.
  • Symplectic first order half-implicit Euler solver for large frictional contact problems.
  • Speed-impulse level solver for handling large frictional contact problems.
  • Handling of redundant/ill posed constraints.
  • Stabilization or projection methods to avoid constraint drifting.
  • Static analysis solver.
  • Inverse kinematics and interactive manipulation.

Collision detection features

  • Supports compounds of spheres, cubes, convex geometries, triangle meshes, etc.
  • Additional collision support provided by the Bullet collision detection engine, which is wrapped inside Chrono::Engine.
  • Broad phase collision detection: sweep-and-prune SAT.
  • Narrow phase collision detection: AABB and/or OBB binary volume trees, to handle geometries with thousands of details.
  • Detail phase with custom primitive-to-primitive fallbacks.
  • Safety 'envelope' around objects.
  • Report penetration depth, distance, etc.
  • Bodies can be activated/deactivated, and can selectively enter collision detection.

Implementation details

  • ANSI-compliant C++ syntax.
  • Optimized custom classes for vectors, quaternions, matrices.
  • Optimized custom classes for coordinate systems and coordinate transformations, featuring a custom compact algebra via operator overloading.
  • All operations on points/speeds/accelerations are based on quaternion algebra and have been profiled for fastest execution.
  • Custom sparse matrix class.
  • Custom redirectable stream classes, featuring platform independent file archiving and modern syntax.
  • Special archive engine, with easy and reliable persistent/transient serialization. Includes versioning and deep pointers storage.
  • Expandable run-time class factory.
  • Custom pseudo-'run-time-type-information', to allow persistence even in case of name-mangling with different C++ compilers.
  • High resolution timer, platform independent.
  • Class to create PostScript(tm) output.

Other

  • Interface with MATLAB
  • Cosimulation with Simulink
  • Import STEP cad files to define complex geometries
  • Online/offline visualization with Irrlicht and POV-Ray, respectively.
  • Classes for genetic & classical optimization.
  • Classes for interfacing external geometric data (NURBS, splines).
  • Scripting via Python.
  • Makefile system based on CMake (cross-platform, on Windows 32/64 bit, Linux, OSX).

CI/CD Status

Branch Status
develop pipeline status

chrono's People

Contributors

rserban avatar hmazhar avatar tasora avatar armanpazouki avatar dariomangoni avatar conlain-k avatar andrewseidl avatar melanz avatar nicolsen avatar benatti1991 avatar milad-rakhsha avatar thepianoboy avatar taylome avatar dannegrut avatar rainergericke avatar rocko384 avatar holger1234 avatar bryan-peterson avatar sbel-bot avatar jcmadsen avatar tingnan avatar tjolsen avatar shigt avatar malibrud avatar felipegb94 avatar philippovich avatar aluaces avatar chfeller avatar tv4fun avatar kishor8dm avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.