Implement isobaric expansion coefficient for incompressible media#245
Implement isobaric expansion coefficient for incompressible media#245AxelMatstoms wants to merge 1 commit intoDLR-SR:mainfrom
Conversation
|
Yes you’re welcome to create an issue at MSL GitHub :) I couldn’t find any component in the TFS that currently uses it, so we can also quickly discuss what you would require it for :). |
Add density_derT_p, density_derh_p and isobaricExpansionCoefficient. These values are found using the polynomial fitting for density.
8b8caef to
360ea4e
Compare
|
Updated. Now also implements Derivation for isobaric expansion coefficient. or |
Update Incompressible.TableBased with implementation for isobaric expansion coefficient (beta). The value is given by$$\frac{1}{\nu}\frac{d\nu}{dT}$$ , where $\nu$ is the specific volume ($\nu=\frac{1}{\rho}$ ) and T is the temperature. $\frac{d\nu}{dT}$ is found by using the chain rule and the derivative of the polynomial fitting for rho. Previously, TableBased media inherited the partial definition from PartialMedium, which meant the property had no implementation.
This problem is "inherited" from the MSL Media library, so I'm not sure if it would be better to make the changes to the MSL first, then synchronize our copy of the Media library.