build-fluidsim-Desktop_Qt_5_3_0_MinGW_32bit-Debug/scripts/fluid_config.lua
-- note: color velocity, fading stuck boundary particles, z sorting

settings = {

  -- constants within sphfluidsimulation
  ratioOfSpecificHeats             = 1.0,
  pressureCoefficient              = 20.0,
  initialDensity                   = 20.0,
  viscosityCoefficient             = 0.018,
  particleMass                     = 1.0,
  maximumVelocity                  = 75.0,
  maximumAcceleration              = 75.0,
  motionDampingCoefficient         = 0.0,
  boundaryDampingCoefficient       = 0.6,
  gravityMagnitude                 = 9.8,
  isMotionDampingEnabled           = true,
  isBoundaryParticlesEnabled       = false,
  displaySimulationConsoleOutput   = true,
  
  -- graphics
  minColorDensity                = 0.0,
  maxColorDensity                = 100,
  maxColorVelocity               = 100.0,
  maxColorAcceleration           = 100.0,
  colorArrivalRadius             = 0.1,
  stuckToBoundaryRadius          = 0.01,
  stuckToBoundaryAlphaVelocity   = 3.0,
  isHiddenBoundaryParticlesEnabled = true,

  -- config for setting up simulation
  logfile                        = "dambreak164406.txt",
  fps                            = 120,
  smoothingRadius                = 0.2,
  numParticles                   = 120000,
  initialDampingConstant         = 2.0,
  finalDampingConstant           = 0.0,
  isRenderingEnabled             = true,
  isSimulationPaused             = false,
  isSimulationDrawn              = true,
  
  initialBounds                  = {minx = 0.0,
                                    maxx = 14.0,
                                    miny = 0.0,
                                    maxy = 8.0,
                                    minz = 0.0,
                                    maxz = 6.0},
                                    
  finalBounds                    = {minx = 0.0,
                                    maxx = 14.0,
                                    miny = 0.0,
                                    maxy = 8.0,
                                    minz = 0.0,
                                    maxz = 6.0}
    
}

settings.minColorDensity = settings.initialDensity
