CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Mesh Generation & Pre-Processing Software > Pointwise & Gridgen

Import point into pointwise

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 2 Post By dokeun

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 10, 2011, 03:29
Default Import point into pointwise
  #1
New Member
 
John Moore
Join Date: Oct 2010
Posts: 9
Rep Power: 15
Joke is on a distinguished road
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
Joke.
Joke is offline   Reply With Quote

Old   July 10, 2011, 20:49
Default
  #2
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
You'll need to use the segment file format. See pg 338 of the user manual for a description. The pseudo-code would be:

Code:
c.....nmax is the number of segments
c.....ni(n) 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)
    enddo
endo
cnsidero is offline   Reply With Quote

Old   July 11, 2011, 21:32
Default
  #3
New Member
 
John Moore
Join Date: Oct 2010
Posts: 9
Rep Power: 15
Joke is on a distinguished road
Thank you for your reply, Now I'm trying it.
Joke is offline   Reply With Quote

Old   April 3, 2013, 01:16
Default
  #4
Member
 
Dokeun, Hwang
Join Date: Apr 2010
Location: Korea, Republic of
Posts: 98
Rep Power: 15
dokeun is on a distinguished road
I had a same problem

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

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

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

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

it works
mm.abdollahzadeh and philocfd like this.

Last edited by dokeun; April 3, 2013 at 05:32. Reason: resolved
dokeun is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] How to import point coordinates from .txt sixfor ANSYS Meshing & Geometry 2 January 19, 2011 13:44
pointwise import to fluent gravxp ANSYS Meshing & Geometry 3 September 20, 2010 09:11
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 21:30
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 03:27
CFX4.3 -build analysis form Chie Min CFX 5 July 13, 2001 00:19


All times are GMT -4. The time now is 12:23.