add functions for setting fluid parameters