The change of internal energy due to temperature and volume may be written as $$ dU=C_V dT + \left( T\left(\frac{\partial S}{\partial V}\right)_T-P\right) dV$$ where $$\left(\frac{\partial S}{\partial V}\right)_T=\left(\frac{\partial P}{\partial T}\right)_V.$$
In hydrodynamics you usually have to deal with thermodynamic quantities which are formulated per unit mass like the specific enthalpy or the specific internal energy, the specific volume and so forth.
I was wondering if the above equations are still valid if I naively replace the corresponding quantities with their "specific equivalents or does it give rise to additional terms?