Skip to content

get drho_dT from Water97FluidProperties #29016

Discussion options

You must be logged in to vote

This is fine but the convenient way is to do this:
Finite differencing will be a slightly more imprecise than using the routines that compute those derivatives

Real rho, drho_dT, drho_dp;
_fluid.rho_from_p_T(_p[_qp], _T[_qp], rho, drho_dT, drho_dp);

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@GiudGiud
Comment options

Answer selected by SunJianhang678
@SunJianhang678
Comment options

@GiudGiud
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants