How to align normal vector in one direction(out of the screen)

Getting the runtime error due to Negative mesh Jacobians
I don’t to know how to flip the orientation of vectors
Here is my geo and mesh files:

Sorry about the slow reply, this topic slipped by me. Sadly I don’t know to do it in gmsh, we generally advise using pointwise if you can. To do the flip you require in Pointwise there is a flip option in the edit menu.

Hi @Hima,
As I recall, this sort of node-ordering issue only happens when using OpenCASCADE.
In your sample gmsh geometry script, remove the line:


gmsh will then use its own internal “factory”, which orders the nodes correctly for PyFR.