CFD Online Logo CFD Online URL
Home > Forums > General Forums > CFD Freelancers

Unstructured Grid Based Flow Solver

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 19, 2018, 09:52
Default Unstructured Grid Based Flow Solver
New Member
Join Date: Dec 2018
Posts: 1
Rep Power: 0
Brain is on a distinguished road
I am trying to develop a flow solver for unstructured grid of triangular mesh using just c programming language which can take the input for mesh file data from user and solve navier strokes equation for the mesh for that I need the input of list of all the nodes present in the mesh and their respective coordinates plus a list of all the elements of the mesh with the number of their vertices nodes
let us say that I am doing this for a triangular mesh in a 2D Plane so i need a list of all nodes with their coordinates and a separate list of all elements with the node number of the three nodes which forming their corner.
Now if i do the the solid modeling and mesh in Mechanical APDL of ansys I get a ready to go lists for above two in name of node list and element list
But I want to get this list for a mesh produced using ansys workbench which exports only .msh,.mechdat,.poly,.cgns,.pri,.tgf
Can anybody tell me how to extract node and element information from above file formats in a way that can be fed to a c programme as a input
Brain is offline   Reply With Quote

Old   December 30, 2018, 04:23
Default Cgns
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 12
novakm is on a distinguished road

I would start with cgns. It's an universal and well documented fomat.

Have a look here:
Reading a mesh from a CGNS file

novakm is offline   Reply With Quote


.msh extension file, ansys workbench, c programming, cfd, meshing 2d
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
2 Questions about Density Based Solver rap7or FLUENT 3 August 3, 2018 02:40
Pressure Based Solver, Transient flow mnolan93 FLUENT 0 May 16, 2015 09:37
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
Help for constructing an Unstructured Incompressible solver moomba Main CFD Forum 0 February 25, 2010 15:38
Unstructured grid generation for viscous flow Praveen. C Main CFD Forum 1 August 30, 2005 07:16

All times are GMT -4. The time now is 17:32.