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

Gmsh does not ouput SU2 markers from physical surfaces

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By stewels

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 17, 2016, 08:02
Default Gmsh does not ouput SU2 markers from physical surfaces
  #1
New Member
 
Join Date: Jun 2016
Posts: 2
Rep Power: 0
stewels is on a distinguished road
Hi All

For the last two days I've struggled with a problem I can't seem to solve, some help would be appreciated...

When I output a volume mesh from Gmsh in .SU2 format, the physical surfaces / volumes are not exported as "markers" in the file. Thus, SU2 does not not know which nodes form the surfaces of the body, farfield, inlet, etc. The volume mesh itself exports fine, it's just the marker sections that are missing.

Any ideas why this could be? Is there perhaps a way to export only the defined physical surfaces to SU2 format, so that I can manually merge the volume mesh with the physical surface boundaries? Gmsh doesn't give me the option to select specific physical entities when saving as .SU2?

For information, I generate an .STL geometry in OpenVSP with the inbuilt CFD meshing function. I then process the geometry as follows in Gmsh (I know I could have used extrude, but I kept the possibility open to have a non-box shaped boundary):

Merge "ABCDEFG.stl";
Point(1) = {-30, 20, 20, 1.0};
Point(2) = {-30, 20, -20, 1.0};
Point(3) = {-30, -20,20, 1.0};
Point(4) = {-30, -20,-20, 1.0};
Point(5) = {30, 20, 20, 1.0};
Point(6) = {30, 20, -20, 1.0};
Point(7) = {30, -20, 20, 1.0};
Point(8) = {30, -20, -20, 1.0};
Line(1) = {3, 7};
Line(2) = {1, 5};
Line(3) = {2, 6};
Line(4) = {4, 8};
Line(5) = {2, 4};
Line(6) = {6, 8};
Line(7) = {1, 3};
Line(8) = {5, 7};
Line(9) = {2, 1};
Line(10) = {4, 3};
Line(11) = {8, 7};
Line(12) = {6, 5};
Line Loop(13) = {9, 7, -10, -5};
Plane Surface(14) = {13};
Line Loop(15) = {2, 8, -1, -7};
Plane Surface(16) = {15};
Line Loop(17) = {12, -2, -9, 3};
Plane Surface(18) = {17};
Line Loop(19) = {5, 4, -6, -3};
Plane Surface(20) = {19};
Line Loop(21) = {12, 8, -11, -6};
Plane Surface(22) = {21};
Line Loop(23) = {10, 1, -11, -4};
Plane Surface(24) = {23};

Surface Loop(25) = {14, 18, 22, 16, 24, 20};
Surface Loop(27) = {1};
Volume(28) = {25,27};
Physical Surface("FARFIELD") = {25};
Physical Surface("BODY") = {27};

//To do inlet, outlet, etc.

Coherence;

Thanks a lot!
stewels is offline   Reply With Quote

 

Tags
su2 markers gmsh physical


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
[Gmsh] Nasa Nozzle: Plot 3D -->gmsh -->fluent - no physical groups Nico89 OpenFOAM Meshing & Mesh Conversion 1 June 14, 2016 05:40
[Gmsh] Gmsh physical line and .msh Chacha OpenFOAM Meshing & Mesh Conversion 1 November 23, 2015 08:10
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56


All times are GMT -4. The time now is 09:58.