CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Pointwise & Gridgen (https://www.cfd-online.com/Forums/pointwise/)
-   -   disorderd new database get by splitting curves (https://www.cfd-online.com/Forums/pointwise/188420-disorderd-new-database-get-splitting-curves.html)

FlyWill May 29, 2017 23:42

disorderd new database get by splitting curves
 
Hi there,

I'm tring to use glf scripts to generate grids of an airfoil, though sometimes I found that the grid extrude direction is not point out of the foil curve, after some check I found that the split method is the main reason:

The script will firstly use a given leading edge point(like {0 0 0}) to split the foil database to two curves so that spacing adjastments arond LE can be made more conveniently.
However the result two databases given in random order(may not be random but I don't know yet), some times the result lower foil cuve is con-1 while sometimes the upper is, then the direction of the final grid varies.

So I wounder how to make sure that, the lower curve is con-1, and the upper is con-2 after the split?

Thanks in advance

FlyWill May 30, 2017 05:34

problem found
 
got the reason....Not the split function but the coordinate order in the input dat file varies.


All times are GMT -4. The time now is 05:56.