get drho_dT from Water97FluidProperties #29016
-
Check these boxes if you have followed the posting rules.
QuestionDear MOOSE experts, .h file .C file void |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I solved this problem by replacing the last two lines showed above with the following codes: _drho_dT[_qp] = (rho_dT - _rho[_qp]) / delta; but I'm wondering if there were more convenient ways provided by moose, instead of calculating the values by myself? |
Beta Was this translation helpful? Give feedback.
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