Git Product home page Git Product logo

gfm_blitz's Introduction

The ghost fluid method for two-material flow governed by the one dimensional compressible Euler equations

Getting Started

These instructions will get you a copy of the project compiled on your local machine.

Prerequisites

Running a simulation

Simulation options are specified in 'settings_file.txt' before running 1D_Euler_GFM.exe. The following options are available:

  • length [integer] number of real cells in domain
  • numGC [integer] number of ghost cells on each end of the domain
  • lsnumGC [integer] number of boundary ghost cells for level set grid
  • lslength [integer] number of grid points for level set grid
  • fluid1_gamma [double] EOS parameter
  • fluid1_A [double] EOS parameter
  • fluid2_gamma [double] EOS parameter
  • fluid2_A [double] *EOS parameter}
  • RS_pure [HLLC_idealgas | Exact_idealgas] Riemann solver used for single-material Riemann problem in flow solver
  • FS [Godunov | MUSCL] Flow solver for single-material Euler equations
  • GFM [Original | Isobaricfix | Real] Ghost fluid method
  • IC [TTC1 | TTC2 | TTC3 | TTC4 | TTC5] Test case. TTC1-5 are initial conditions for the five test cases from Toro.
  • eos 1 [ideal] Equation of state
  • eos 2 [ideal] Equation of state
  • BC_L [transmissive | reflective | nothing] Left boundary condition
  • BC_R [transmissive | reflective | nothing] Right boundary condition
  • CFL [double between 0 and 1] CFL number for time step size
  • output [0 | 1] Turn output after every time step off or on
  • sim [onefluid | twofluid] Switch between single fluid simulation and full multimaterial ghost fluid simulation
  • outputpath [string] Simulation output is sent here

Visualising the results

Some examples of the output are available in the results folder. This currently contains:

  • Single fluid results from all five of Toro's test cases using Godunov/MUSCL-Hancock method over a range of different resolutions
  • Single fluid results from Gaussian density profile advection test case using Godunov/MUSCL-Hancock method over a range of different resolutions
  • Convergence studies for single fluid methods

Citations

  • Toro, Eleuterio F. Riemann solvers and numerical methods for fluid dynamics: a practical introduction. Springer Science & Business Media, 2013.
  • Fedkiw, Ronald P., et al. "A non-oscillatory Eulerian approach to interfaces in multimaterial flows (the ghost fluid method)." Journal of computational physics 152.2 (1999): 457-492.
  • Hu, X. Y., N. A. Adams, and Gianluca Iaccarino. "On the HLLC Riemann solver for interface interaction in compressible multi-fluid flow." Journal of Computational Physics 228.17 (2009): 6572-6589.

gfm_blitz's People

Contributors

repl1ka avatar

Watchers

 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.