Further improvements for robust use of SPM feature for IncNavierStokesSolver
Below is a summary of some items that should be tackled in the future to enhance the robustness of the SPM feature. Please feel free to add more.
-
IMPORTANT: Add tests for FieldConvert module phifile
to ensure SPM read from .STL is processed correctly. It could be broken down into (1) use of phifile to convert from STL (a file would have to be added) to fld, which tests the accuracy of the conversion (Essential for the following point!), and (2) SPM test analogous to the ones already introduced, but reading from the .fld obtained converting the STL file. -
Introduce parallelisation in reading STL files - important for large 3D geometries. -
Test the use of Eq. 17 in Wang et al. as opposed to Eq. 18a in Luo et al. to compute aerodynamic forces. IMPORTANT: there might be a bug in this feature due to the use of Integral without a specialised method for the 3DH1D exp list. MR !1157 (merged) should be addressing this issue. -
Generalise the calculation of aerodynamic forces so they can be calculated wrt any user-defined direction. (This is currently implemented for aero forces but not documented. -
STL files are currently only stationary - introduce time dependence support. For this purpose, it should be kept in consideration that interpolating the Phi field from the previous time step is an option, but it is likely very expensive. A more efficient algorithm will likely be needed. -
(lower priority) Add 3D test and 2.5D test with spanwise-varying phi profile