Scaling laws for fluid systems using generalized homogeneous functions of strong and weak variables