moose
moose copied to clipboard
Add linear interpolation of tabulated fluid properties, and v,e variable set
Refs #20101
Created BidimensionalInterpolation source and header file. This holds syntax that is the same between Bicubic and Bilinear Interpolation. Added sampleDerivative to Bilinear Interpolation to calculate derivatives at points.
TFP inherits from TabulatedBicubicFluidProperties and TabulatedBilinearFluidProperties. User can choose desired type of interpolation in the input file.
Added regression tests to TFP for BilinearInterpolation.
Updated TFP.md file to explain difference in Bicubic/Bilinear and new v,e capabilities
The unit testing is held up because of templating issues. We can try again once gtest contrib is updated
Job Precheck on 66e23e2 wanted to post the following:
The following commit(s) contain fixups:
- 942713309e: fixup! fixed e_from_p_rho to get the correct derivatives. Implemented derivatives for T(p,rho) using finite difference method. Added feature to TBicubicFP to allow user to choose whether to get p and T from v,e or v,h or choose to use both.
Any timeline for the gtest
contrib update so this PR could get into the main branch? Quite nice PR!
I ll work on it this coming week. We ll probably do a separate PR for gtest
Superseded by https://github.com/idaholab/moose/pull/22060 which is merged now.
@veeshy fyi please reach out if you encounter any issue using it.