HTTPS SSH

OpenMps

This project contains an implemention of Moving Particle Semi-implicit (MPS) method. MPS method is one of the most popular Particle Method to solve Continuum Dynamics (e.g. Fluid Dynamics). See Wikipedia for more information.

screenshot

License

This project is multi-licensed. You can select the license of your choice from as following:

author (attribution)
青子守歌 (aokomoriuta)
URL
https://github.com/aokomoriuta

Usage

Build

  1. Build codes. It is recommended to use Visual Studio 2015.

Execution

  1. Run the program (Developers expect execution on Windows). Results will be output as CSV in "result" folder.
  2. Visualize results. If you use ParaView 5.0 or later,
    1. Open "particle_****.csv"s
    2. Add "TablesToPoints" filter
      • X Column = x
      • Y Column = z
      • Z Column = x
      • Representation = Point Gaussian
      • Gaussian Radius = l_0/2
      • Shader Preset = Sphere
    3. Create new Layout (3D View)
    4. Make "TablesToPoints" visible
    5. You can see the motion of particles columns are:
      • x : horizontal value of position vector
      • z : vertical value of position vector
      • u : horizontal value of velocity vector
      • w : vertical value of velocity vector
      • p : value of pressure
      • n : value of particle number density
    6. or you can load ParaView State File "resultViewer.pvsm" for instance.

Desclaimer

Anyone including me (author:aokomoriuta) is not responsible for any damages or corrupts by this project. Download and use this project at your own risk. Any questions or pull-resquests or other contribution are welcome. Although keeping trying to respond as soon as possible, but no one is responsible to respond it. Any responses are also not responsible by anyone including me.