CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

2D Mesh of Line Elements - Possible?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2018, 13:57
Post 2D Mesh of Line Elements - Possible?
  #1
New Member
 
Alexandre Payot
Join Date: Jan 2018
Posts: 1
Rep Power: 0
adjpayot is on a distinguished road
Hello,

Is it possible to define a 2D mesh in SU2 entirely using line elements? i.e. Can I ommit defining the volumes in a .su2 mesh format and only define the edges?
This is because I need to run cutcell meshes which can include cells which are arbitrary polygons.

I am testing this out on a triangular mesh for which I have two versions:
- one where elements are triangles with the following format:
5 node1 node2 node3 triangle1

- one where elements are lines with the following format:
3 node1 node2 lines

The nodes and boundaries are then the same.

The mesh with the triangle elements runs fine but the one with the line elements crashes at the stage of "Read Grid File Information" with an OS error message but nor error failure message from the code. I'm including below the last lines of the output.



---------------------- Read Grid File Information -----------------------
Two dimensional problem.
7492 points.
2 surface markers.
407 boundary elements in index 0 (Marker = -1).
32 boundary elements in index 1 (Marker = -2).
adjpayot is offline   Reply With Quote

Old   February 24, 2018, 13:58
Default
  #2
Super Moderator
 
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15
fpalacios is on a distinguished road
Nope... I don't think it is possible, but if are looking to reproduce a classical 1D simulation (like Sod's tube) it is easy to create a 2D grid that behaves like a 1D one (two points in the y direction).
Best,
Francisco
fpalacios is offline   Reply With Quote

Reply

Tags
edge mesh, mesh 2d


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
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' muth OpenFOAM Running, Solving & CFD 3 August 27, 2018 05:18
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 03:09
GMSH - Very strange effect - Mesh elements deleted when saving Araist Mesh Generation & Pre-Processing 3 July 15, 2015 07:03
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41


All times are GMT -4. The time now is 04:36.