Optimization of a pebble bed configuration for quasi-direct numerical simulation