CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Pointwise & Gridgen (
-   -   Import point into pointwise (

Joke July 10, 2011 02:29

Import point into pointwise
Hi everyone I'm joke nice to meet you.

I'm learning how to use the pointwise (mesh generator software).
I have a problem on how to import points (such as airfoil data points) into pointwise. I've tried to change a lot of possible *.dat file format but still I can't.
Could anyoone guide me how to do ?

thank a lot

PS. Sorry for my english , it's very poor.

Best regard

cnsidero July 10, 2011 19:49

You'll need to use the segment file format. See pg 338 of the user manual for a description. The pseudo-code would be:


c.....nmax is the number of segments is the number of points on segment n
c.....imax is the number of points

integer nmax
integer ni(nmax)
real x(imax), y(imax), z(imax)

do n = 1, nmax
    write(1,*) ni(n)
    do i = 1, ni(n)
      write(1,*) x(i,n), y(i,n), z(i,n)

Joke July 11, 2011 20:32

Thank you for your reply, Now I'm trying it.

dokeun April 3, 2013 00:16

I had a same problem

x, y, z are defined as 1D array but used as if 2D.

anyway, an expected result are as below for example, 2 segments

x1 y1 z1
x2 y2 z2
x3 y3 z3
xmax ymax zmax

x1 y1 z1
x2 y2 z2
x3 y3 z3
xmax ymax zmax

it works

All times are GMT -4. The time now is 16:41.