|
[Sponsors] |
November 26, 2014, 01:24 |
Viewing SU^2 mesh
|
#1 |
New Member
Join Date: Jun 2013
Posts: 5
Rep Power: 13 |
Hi,
How can I view the .su2 mesh file graphically just like any other mesh? Is there a way to convert .su2 mesh to other format which can be opened in gmsh, pointwise or tecplot etc. I know we can view the mesh in tecplot after the solution is run but it would be nice to review the mesh alone beforehand. Thanks in advance, Prasad. |
|
November 26, 2014, 04:47 |
|
#2 |
New Member
Sachchit Vekaria
Join Date: Dec 2013
Posts: 18
Rep Power: 13 |
Hi,
Gmsh give error when opening .su2 files. I don't know about other softwares. I make EXT_ITER = 1 and then see the solution file in paraview or tecplot. If you find some other ways to see it before kindly let me know. It would be great help. Thanks, |
|
November 27, 2014, 05:03 |
|
#3 |
New Member
shikhar
Join Date: Apr 2010
Posts: 22
Rep Power: 16 |
Hi prasad
Did you get any solution to your problem? Even i want to open .SU2 files in pointwise. |
|
November 27, 2014, 05:30 |
|
#4 |
New Member
Join Date: Jun 2013
Posts: 5
Rep Power: 13 |
Hi Jaiswal,
Thanks for your reply. I did not get time to revisit. I will try next week and update the post If there is any progress. I think the format of su2 is quite different from gmsh. one possibility is to tweak the su2 file to match gmsh format. But it will be very unpleasant working with the large files. |
|
November 27, 2014, 05:33 |
|
#5 |
New Member
Sachchit Vekaria
Join Date: Dec 2013
Posts: 18
Rep Power: 13 |
Hi,
No, I haven't find any solution yet. I generally don't face this problem. Because I generate my own mesh in Gmsh. And I also don't know about pointwise as I haven't used it. Gmsh also have the same problem. It can export SU2 mesh but can not read SU2 mesh. I am looking in to the problem and update you if solution is found. |
|
December 30, 2014, 08:56 |
|
#6 | |
Member
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13 |
Quote:
I wrote a little code to convert 2d su2 file into gmsh's pos file, so u can view it in gmsh. If u like, PM ur email, I can send u a copy. Cean Last edited by ceanwang; December 31, 2014 at 17:45. |
||
February 2, 2015, 19:12 |
|
#7 |
New Member
Chintan Patel
Join Date: Oct 2014
Location: USA
Posts: 19
Rep Power: 12 |
Running following script with SU2_DEF should work:
DV_KIND=DISPLACEMENT DV_PARAM= (0,0,0) VISUALIZE_DEFORMATION=YES MESH_FILENAME=mesh_file.su2 Reference: http://www.cfd-online.com/Forums/su2...-su2-mesh.html I have updated the configuration to conform to latest version (3.2.7). Best, Chintan |
|
May 16, 2019, 11:57 |
|
#8 |
New Member
marco
Join Date: May 2019
Posts: 12
Rep Power: 7 |
Complete newby here,...
I've managed to make an su2 mesh file (wing + farfield) from an OpenVSP .stl export (by running some SUAVE scripts). I noticed however that these scripts were giving some (warning?) messages in the process. Hence I would like to view the generated su2 mesh before trying to run any CFD. The above solution however seems to be outdated (and I was unable to alter the .cfg file to run). What would the current procedure be? thanks, marco |
|
May 16, 2019, 16:15 |
|
#9 |
Senior Member
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7 |
Hi Marco,
Thanks for using SU2 (and SUAVE!). If I understood your question correctly, you just want to view the actual file (.su2)? Unfortunately this solution is not outdated; the best way to do this is to run a single iteration and then view your solution in Paraview/Tecplot. I am bit confused on why you weren't able to alter the .cfg file. It should be able to be opened in notepad/vi or any text editor. I can't say anything about the warnings for SUAVE, I would suggest to post your warning message on their forum. I am sure they would love the feedback. Please let me know if you are still facing issues and Ill do my best to help Wally |
|
May 16, 2019, 17:27 |
|
#10 |
New Member
marco
Join Date: May 2019
Posts: 12
Rep Power: 7 |
oh no, I could edit and (try to) run the .cfg file.
I't just that the SU2_DEF did not like the old configure values and even after trying some current configure values I could not get it to run. Yes I just want to do a quick inspection of some key points (wingtip, root TE) to see if the mesh is still ok in those places. I only have gmsh and paraview (no Tecplot) DV_KIND=NO_DEFORMATION DV_PARAM= (0,0) VISUALIZE_SURFACE_DEF= YES MESH_FILENAME=NLD3.su2 is what I tried after reading config_template.cfg |
|
May 16, 2019, 18:44 |
|
#11 |
Senior Member
Wally Maier
Join Date: Apr 2019
Posts: 123
Rep Power: 7 |
Hmmm. I am a bit confused. I am going to try to answer the
I think what you should do is change the EXT_ITER =1 in the config file. Then run SU2_CFD. This should output flow.dat which you can observe the mesh file in Paraview. The results (pressure/mach/etc) will be wrong, but you only care about the mesh. That being said you will probably have the same issues as above. To just view the mesh, you do not need to include DV parameters and Surface_Deformation...i would suggest commenting those out. I think that should get you to your mesh. But if I misunderstood, or if more issues arise, please let me know! Wally |
|
May 17, 2019, 05:28 |
thanks
|
#12 |
New Member
marco
Join Date: May 2019
Posts: 12
Rep Power: 7 |
thanks, I've got some output
|
|
March 10, 2020, 07:42 |
|
#13 |
New Member
Mehmet SAHIN
Join Date: Dec 2011
Posts: 12
Rep Power: 15 |
NASA Refine library at https://github.com/nasa/refine has some file conversions for su2 mesh
MESH FILE FORMAT CONVERSIONS: ~/refine-master/src/ref translate F6_ANSA.su2 mesh.meshb ~/refine-master/src/ref translate F6_ANSA.su2 mesh.cgns ~/refine-master/src/ref translate F6_ANSA.su2 mesh.vtk ~/refine-master/src/ref translate F6_ANSA.su2 mesh.tec ~/refine-master/src/ref translate F6_ANSA.su2 mesh.ugrid ~/refine-master/src/ref translate F6_ANSA.su2 mesh.b8.ugrid tec for tecplot file format. Mehmet |
|
March 14, 2020, 23:06 |
|
#14 | |
New Member
pro
Join Date: Mar 2020
Posts: 25
Rep Power: 6 |
Quote:
|
||
Tags |
su2 mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |
engrid -> save as .stl with boundarie codes | Zymon | enGrid | 31 | August 29, 2011 14:40 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
basic of mesh refinement | arya | CFX | 4 | June 19, 2007 13:21 |