E23. Curvilinear grid error

Swan will check a curvilinear computational grid; if there are angles <0 or >180 degrees, it will report the grid points with an error message. This is shown by run E23a. Subsequently run E23b shows how to detect the error by making a plot which zooms in on the trouble spot of the grid. Run E23c shows what Swan gets if the computation is being done notwithstanding the error message. The results are in error in regions with extremely distorted meshes.

This test was contributed by Keming Hu of Posford Haskoning Ltd.

3 cases are considered:

test with error message
Input with command to analyse the error
detailed plot added to show the error area

© 2012: Nico Booij