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

how can i use a set of node points

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 7, 2013, 11:02
Default how can i use a set of node points
  #1
New Member
 
Join Date: Jul 2013
Posts: 2
Rep Power: 0
rafMudaf is on a distinguished road
I have a 2D triangular mesh generator that takes in a 2d image with an object of interest inside (like an airfoil or profile of a car) and outputs x and y coordinates for all of the node points. It can also output the three vertices for each triangle. Aside from a plot of these coordinates connected with lines, that's all I have for a mesh. There is a defined rectangle around the object in the image which could serve as boundaries.

Is there any way I can import that to a mesh generation software that will allow me to apply boundary conditions and output something useful to a solver like fluent or OpenFOAM?
rafMudaf is offline   Reply With Quote

Old   December 9, 2013, 18:25
Default
  #2
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
Quote:
Originally Posted by rafMudaf View Post
I have a 2D triangular mesh generator that takes in a 2d image with an object of interest inside (like an airfoil or profile of a car) and outputs x and y coordinates for all of the node points. It can also output the three vertices for each triangle. Aside from a plot of these coordinates connected with lines, that's all I have for a mesh. There is a defined rectangle around the object in the image which could serve as boundaries.

Is there any way I can import that to a mesh generation software that will allow me to apply boundary conditions and output something useful to a solver like fluent or OpenFOAM?
If you have the locations of the nodes and the connectivity of the triangle, it will be fairly easy to write a small code to create a file that can be read by Fluent for example. You can find a description of the Fluent .msh format online to guide you.
cdegroot is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How set experimental points values as wind tunnel boundary conditions vidade FLUENT 3 December 23, 2012 17:02
How to show the transient case? H.P.LIU Phoenics 7 July 13, 2010 04:31
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
how to set velocity on node tipakorn CD-adapco 3 January 23, 2008 06:05


All times are GMT -4. The time now is 20:42.