17.04.15 Parameter groups - daplff/hiWi_cont GitHub Wiki

Some parameters found in the global_2D module of the fortran code (listed by their fortran code names), that could potentially be interacted with by the C++ program.

Physical properties

  • rho0 - fluid density
  • viscos_val - viscosity
  • vlx, vly - domain/medium extent in x and y

SPHYS specifics

Physics/simulator

  • coef - smoothing length coefficient (h = dxxcoef), recommended value 1.2
  • dw_min_fric -minimum depth for friction source term

init Particles

  • np - init number of particles
  • np_b - init number of bed particles
  • npv - init number of virtual particles

end init Particles

  • distmin - minimum distance between open boundary condition particles
  • dt - initial timestep
  • tmax - end simulation time
  • hsm_b_max - smoothing length for bottom particles
  • n0 - maximum number of particles/cell before crashing/aborting simulation

SPHYSICS internal

  • i_openbc - number of open boundary conditions
  • ivar_det - variable timesteps 1=yes, 0=no
  • CFL - courant number (related to max dt/dx-ratio for convergence)
  • out - output interval
  • trec_ini - first/initial output time
  • dx_grd,dy_grd - output grid size (for interpolated grid output)
  • i_restartrun - run is a continuation from previous
  • idebug - debug output on
  • iMUSCL - muscl reconstruction (approximate fluxes at cell edges with interpolation over cell, maybe more accurate?)
  • tol - newton raphson tolerance (in which part of the algortihm is N-R used?)
  • i_dw_iter - how often N-R is made (1=all, recommended is 10)
  • i_max_iter - max number of N-R iterations

Refinement parameters

  • ref_p - distance of refined particles to original, relative to size?
  • ref_h - relative smoothing length of refined particle
  • dw_min_ref
  • xmin_ref
  • ymin_ref
  • dxx
  • dyy
  • ncx
  • ncy

Consider max/min ranges of smoothlens and areas etc.

in fn. names etc, coa stands for coalescense of particles = inverse refinement = coarsening, which isn't implemented yet
refinement is done by specifying the area where it's allowed to refine