add visc option and update input file