Use of a generalized set of field variables in fluid flow calculations