|
[Sponsors] |
December 19, 2018, 10:52 |
Unstructured Grid Based Flow Solver
|
#1 |
New Member
Nikunj
Join Date: Dec 2018
Posts: 1
Rep Power: 0 |
hello
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 |
|
December 30, 2018, 05:23 |
Cgns
|
#2 |
Member
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 14 |
Hi.
I would start with cgns. It's an universal and well documented fomat. Have a look here: Reading a mesh from a CGNS file Martin |
|
Tags |
.msh extension file, ansys workbench, c programming, cfd, meshing 2d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2 Questions about Density Based Solver | rap7or | FLUENT | 3 | August 3, 2018 03:40 |
Pressure Based Solver, Transient flow | mnolan93 | FLUENT | 0 | May 16, 2015 10:37 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 01:01 |
Help for constructing an Unstructured Incompressible solver | moomba | Main CFD Forum | 0 | February 25, 2010 16:38 |
Unstructured grid generation for viscous flow | Praveen. C | Main CFD Forum | 1 | August 30, 2005 08:16 |