How can i generate a smooth line with gmsh?

Anything related to grid generators including praising your favorite one, complaining about compatibility etc...

How can i generate a smooth line with gmsh?

Postby fangxingjun on Sun Jun 06, 2010 2:17 am

I have a smooth line described by 200 points,how can i generate a smooth line with gmsh?
Do i really need to input all the points one by one?? :?
fangxingjun
Subsonic
Subsonic
 
Posts: 25
Joined: Sun May 23, 2010 6:57 am

How can i generate a smooth line with gmsh?

Sponsor

Sponsor
 

Re: How can i generate a smooth line with gmsh?

Postby fangxingjun on Sat Jun 12, 2010 8:39 pm

CAN ANYBODY HELP ME?
fangxingjun
Subsonic
Subsonic
 
Posts: 25
Joined: Sun May 23, 2010 6:57 am

Re: How can i generate a smooth line with gmsh?

Postby praveen on Sat Jul 03, 2010 11:10 pm

To my knowledge gmsh cannot read coordinates from a plain text file. You will have to put them into the geo file. You could write a fortran/c code to read your coodinates and write them into the gmsh format.

Other option is to create a CAD model of the curve. Then that can be easily imported into the gmsh geo file. You must find a CAD tool that can read coordinates from file.
praveen
Subsonic
Subsonic
 
Posts: 44
Joined: Tue Jan 27, 2009 12:40 am


Return to Grid Generator Talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron