SPINS Development Plans

From Fluids Wiki
Jump to navigation Jump to search

Things to add

  1. Diagnostics
    • Richardson number
    • APE
    • Q and R
    • Mixing and Stirring
    • Energy flux through a plane
    • Area/Volume of a region meeting a specified criterion
    • Volume integrals of mapped grids require knowledge of hill (multiple by dx*dy*dz*(1-hill(ii)) instead of dx*dy*dz)
  2. Chains and planes
  3. Verbosity flag for outputs
  4. Verbosity flag for debugging
  5. Increase/Decrease resolution by padding the spectra with zeros

Things to improve

  1. DOCUMENTATION
  2. I/O in NETCDF
  3. Upper boundary condition (not clustering grid points at top)
  4. Filter parameters and understanding
  5. Change stderr to stdout for some code outputs
  6. Mapped grids still use an inverted vertical grid
  7. fix restarting from dump to check for files, and increase the time allotted for dumping
  8. random number generator uses the processor rank as a seed, maybe use time and rank?
  9. derivative.cpp use spins.deriv.conf (set in Options.cpp, but overwrite in case file);

Issues

  1. Scaling in mapped cases
  2. Update software packages
  3. Check if files exist when restarting (like *.restart_index, *.dump and dump_time.txt)
  4. If starting a new simulation, set restart_time and restart_sequence to 0 if they aren't already