Ali Durrani said:
Right i have two questions,
Is enthalpy term associated with a non flow process? because what i have understood so far is that Enthalpy actually is the internal energy plus the flow work, and in a non flow process there literally is no flow so how can enthalpy be there? because in U+PV, PV is not defined.
You are talking about the distinction between the open system and closed system versions of the first law of thermodynamics. In a closed system operating at constant pressure, the change in enthalpy is equal to the amount of heat added (I'm sure you've seen this before). But, even if the system does not operate at constant pressure, the change in enthalpy is equal to ##\Delta U+\Delta (PV)## between the initial and final thermodynamic equilibrium states. Since enthalpy is a function of state (i.e., a physical property of the material), this is, of course, independent of any process.
In the case of an open system (control volume) operating at steady state, the first law is sometimes written as ##Q-W_s=\Delta H##, where ##W_s## is the "shaft work" (i.e., all work except that required to push mass into and out of the system), and ##\Delta H=m\Delta h##, where m is the amount of mass which has entered and exited the system during a time interval and h is the enthalpy per unit mass of the material entering and leaving.
So change in enthalpy is a feature of both closed systems and open systems.
secondly, i would really like to understand heat capacities at constant pressure and constant volume (Cp, Cv) because they are sometimes not used in their respective processes, for instance pump work is a function of enthalpy change of the water and the mass flow rate, and enthalpy is a function of heat capacity at constant pressure but pumping up water is not at all a constant pressure process
The subscripts p and v and the terms "at constant pressure" and "at constant volume" refer to how these quantities are
measured experimentally, and not how they are applied in practice to solve problems. In terms of internal energy and enthalpy, these heat capacities are precisely defined as follows:
$$C_v=\left(\frac{\partial U}{\partial T}\right)_v\tag{1}$$
$$C_p=\left(\frac{\partial H}{\partial T}\right)_p\tag{2}$$
If you want to measure ##C_v##, you do a test at constant volume where ##\Delta U=C_v\Delta T=Q##. So, by measuring the amount of heat added for a given temperature change, you can get ##C_v##. Similarly, if you want to measure ##C_p##, you do a test at constant pressure where ##\Delta H=C_p\Delta T=Q##. So, again, by measuring the amount of heat added for a given temperature change, you can get ##C_p##. So, in both these cases, you measure the amount of heat added in the test. That's where the name heat capacity comes from.
However, aside from these measurements, ##C_v## and ##C_p## are much more generally applicable than just at constant v and p, respectively, and apply to arbitrary process paths via Eqns. 1 and 2.