leastSquares gradient on tet meshes
I've been trying out a few gradient schemes recently on tet-meshes, of which I find the leastSquares scheme to be most accurate. However, I find that the results are quite awkward at boundaries. My test case is quite simple (tet-mesh in a box - see attached), and the driver code is given:
Code:
#include "fvCFD.H" Attachments: http://www.ecs.umass.edu/~smenon/tarballs/testGrad.gz http://www.ecs.umass.edu/~smenon/tarballs/boxTestCase.gz Thanks in advance. |
Well, turns out that this was a false alarm. Bug-fix in revision 1716 of OF-1.5-dev.
Apologies. |
All times are GMT -4. The time now is 03:13. |