C++ Simulation

Open-source C++ projects categorized as Simulation

Top 23 C++ Simulation Projects

  • OpenRCT2

    An open source re-implementation of RollerCoaster Tycoon 2 🎢

    Project mention: Messing around with full-circuit Inverted Impulse coasters a la Volcano -- sharing some findings in the comments, as it's a cool coaster archetype I don't see a lot of discussion around! Would love to see more community builds in this style. | reddit.com/r/rct | 2022-11-24
  • Bullet

    Bullet Physics SDK: real-time collision detection and multi-physics simulation for VR, games, visual effects, robotics, machine learning etc.

    Project mention: How to go about making a physics engine via compute shader? | reddit.com/r/gamedev | 2022-11-14

    I don't know how well it would suit you but if you want to learn, Bullet is an open source physics engine and it has OpenCL acceleration for various tasks, such as collision.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • OpenTTD

    OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe

    Project mention: Igrate li nesto? | reddit.com/r/serbia | 2022-11-27

    Ne, držim se generisanih naziva gradova. Mada vidiš, sad mi pada na pamet da možemo da dodamo naše gradove u generator kao što postoji za druge jezike.

  • The-Powder-Toy

    Written in C++ and using SDL, The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, it simulates air pressure and velocity as well as heat.

    Project mention: The Powder Toy | news.ycombinator.com | 2022-11-12
  • JoltPhysics

    A multi core friendly rigid body physics and collision detection library, written in C++, suitable for games and VR applications.

    Project mention: Two new NVIDIA Vulkan extensions to accelerate RTX IO are supported on both Linux and Windows | reddit.com/r/linux_gaming | 2022-11-16

    It is a very wide standard, yes. But the most issue is that it uses discrete collision detection which has pretty common limitations. So if you are looking for an alternative, try Jolt instead. It's open-source, MIT licensed, used by a AAA game and uses continuois collision detection.

  • webots

    Webots Robot Simulator

    Project mention: SIMULATOR FOR ROBOTICISTS! | reddit.com/r/robotics | 2022-11-23

    Seriously, everyone thinking of robotics should know about this concept. Save yourself hundreds of thousands of dollars and try out the operating environment, your robot design, your sensors, your code, your trouble shooting skills and the newest hardware on a free piece of software. https://cyberbotics.com/

  • AntSimulator

    Simple Ants simulator

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • sumo

    Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.

  • lammps

    Public development project of the LAMMPS MD software package

    Project mention: Lammps Molecular Dynamics Simulator | news.ycombinator.com | 2022-05-05
  • Blender-FLIP-Fluids

    The FLIP Fluids addon is a tool that helps you set up, run, and render high quality liquid fluid effects all within Blender, the free and open source 3D creation suite.

    Project mention: Flip Fluids ignoring obstacle | reddit.com/r/blender | 2022-11-20

    Make sure that your objects have correct manifold/closed/watertight geometry. See this topic for more info and how to verify geometry: https://github.com/rlguy/Blender-FLIP-Fluids/wiki/Manifold-Meshes

  • pioneer

    A game of lonely space adventure

    Project mention: Looking for a free Space Game | reddit.com/r/gamingsuggestions | 2022-10-30
  • SPlisHSPlasH

    SPlisHSPlasH is an open-source library for the physically-based simulation of fluids.

    Project mention: [Project] I dabble with VFX and want to try out neural-flow-style to stylise smoke sims. Where do I start? | reddit.com/r/MachineLearning | 2022-04-05
  • reactphysics3d

    Open source C++ physics engine library in 3D

  • openmm

    OpenMM is a toolkit for molecular simulation using high performance GPU code.

    Project mention: Strange display with disconnected lines, does anyone know what this means? | reddit.com/r/PyMOL | 2022-11-03

    Thanks for reporting. I haven't used CHARMMGUI myself, but I do see a similar issue that was resolved here: https://github.com/openmm/openmm/issues/3250 By chance is this relevant and/or address your problem?

  • moose

    Multiphysics Object Oriented Simulation Environment

    Project mention: Open-source FEA software | reddit.com/r/fea | 2022-06-16

    GitHub Discussions as their forum: https://github.com/idaholab/moose/discussions

  • gazebo-classic

    Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim

    Project mention: Trying to find info on how a bell with a multi-jointed clapper/pendulum might work. | reddit.com/r/AskPhysics | 2022-05-07
  • OpenCat

    An affordable Boston Dynamics-style quadruped robot dog for STEM education and AI-enhanced services.

    Project mention: Small and affordable Boston Dynamics-style quadruped robot dog | news.ycombinator.com | 2022-08-25
  • OpenLoco

    An open source re-implementation of Chris Sawyer's Locomotion

    Project mention: OpenLoco Release v22.11 | reddit.com/r/locomotion | 2022-11-20

    We are excited to announce the release of OpenLoco 22.11! For most players, this will mostly be a bugfix release, with a lot of work behind the scenes. Read the changelog and development log for more details over on the release page on GitHub.

  • jsbsim

    An open source flight dynamics & control software library

    Project mention: Debugging a DLL plugin with Unreal Engine (open source Flight Simulator in UE5) | reddit.com/r/unrealengine | 2022-11-07
  • DART

    Dynamic Animation and Robotics Toolkit

    Project mention: Python for everyone : Mastering Python The Right Way | dev.to | 2022-03-07

    DART (Dynamic Animation and Robotics Tookkit)

  • sofa

    Real-time multi-physics simulation with an emphasis on medical simulation. (by sofa-framework)

    Project mention: Python for everyone : Mastering Python The Right Way | dev.to | 2022-03-07

    SOFA (Simulation Open Framework Architecture )

  • opensim-core

    SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.

    Project mention: [Question] Visual Studio Error: 'OpenSim': has already been defined to be a namespace | reddit.com/r/cmake | 2021-12-02

    True. The namespace is correct and it should be called "OpenSim". I do not know how and when I put OpenSim class definition in OpenSim.h header file, but that is the problem. The original header does not have those lines there.

  • cnl

    A Compositional Numeric Library for C++

    Project mention: cnl library and scaled_integer | reddit.com/r/cpp_questions | 2022-10-16

    I am looking at the following library and I can't understand how to properly use it, or if my assumptions are not correct. https://github.com/johnmcfarlane/cnl

  • Zigi

    Close all those tabs. Zigi will handle your updates.. Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-27.

C++ Simulation related posts


What are some of the best open-source Simulation projects in C++? This list will help you:

Project Stars
1 OpenRCT2 11,180
2 Bullet 9,994
3 OpenTTD 4,428
4 The-Powder-Toy 3,560
5 JoltPhysics 2,406
6 webots 2,268
7 AntSimulator 1,965
8 sumo 1,711
9 lammps 1,532
10 Blender-FLIP-Fluids 1,360
11 pioneer 1,250
12 SPlisHSPlasH 1,140
13 reactphysics3d 1,106
14 openmm 1,088
15 moose 1,054
16 gazebo-classic 966
17 OpenCat 885
18 OpenLoco 860
19 jsbsim 765
20 DART 757
21 sofa 670
22 opensim-core 575
23 cnl 553
Free webinar: The Power of Clean C++
Are you ready to take your C++ code to the next level? Join Sonar on December 7th for our live webinar as we discuss how to get your code clean - and stay clean - with minimal effort and without being overloaded with warnings. Register now!