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

Negative Drag when running shape

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2018, 16:10
Default Negative Drag when running shape
  #1
New Member
 
Join Date: Aug 2018
Posts: 3
Rep Power: 8
SU2User1234 is on a distinguished road
I've been experimenting with SU2 recently trying to get a better grasp on it and the math involved. I created a .su2 file based on an stl file and things appear to be going alright except that I get a negative drag after running the SU2_CFD program. I don't know if it's related, but the program also finishes in less than a second and goes through very few iterations whereas the tutorials take plenty of time to complete. Is there something wrong with the generated su2 file or the settings being used? I've zipped all of the relevant files and the results. They should be attached. Any help or advice would be greatly appreciated.
Attached Files
File Type: zip Su2Example.zip (173.0 KB, 6 views)
SU2User1234 is offline   Reply With Quote

Old   August 16, 2018, 04:34
Default
  #2
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
I am just thinking to created a .su2 file from a stl file. In which way you did that?

It seems you only have a ball, you need to put the ball inside a space, so fluid can flow around that ball.
Attached Images
File Type: jpg ball.JPG (12.2 KB, 6 views)
ceanwang is offline   Reply With Quote

Old   August 16, 2018, 05:51
Default
  #3
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 466
Rep Power: 13
pcg is on a distinguished road
Hi,

Cean is correct. Referring to your mesh file, it specifies a 3D problem (NDIME=3) but the elements that follow are triangles (VTK type 5). You need to generate a volume mesh, if you are looking to do this yourself the following page describes the SU2 mesh format very well and has some examples: https://su2code.github.io/docs/Mesh-File/

Regards,
Pedro
pcg is offline   Reply With Quote

Old   August 18, 2018, 00:16
Default
  #4
New Member
 
Join Date: Aug 2018
Posts: 3
Rep Power: 8
SU2User1234 is on a distinguished road
Quote:
Originally Posted by ceanwang View Post
I am just thinking to created a .su2 file from a stl file. In which way you did that?

It seems you only have a ball, you need to put the ball inside a space, so fluid can flow around that ball.

I think gmsh is supposed to be able to but I couldn't get it to work so I wrote my own quick program to parse ascii stl and throw out an su2 file. Obviously it's not quite right yet though . When you say put it in a space, do you mean like placing the sphere in a large box?



Quote:
Originally Posted by pcg View Post
Hi,

Cean is correct. Referring to your mesh file, it specifies a 3D problem (NDIME=3) but the elements that follow are triangles (VTK type 5). You need to generate a volume mesh, if you are looking to do this yourself the following page describes the SU2 mesh format very well and has some examples: https://su2code.github.io/docs/Mesh-File/

Regards,
Pedro

Thanks for the information. I assumed that using something like a pyramid would be no different than building it manually with triangles, but I guess this assumption is wrong? If so, what kind of base shape would I use to create the sphere-like object I need?
SU2User1234 is offline   Reply With Quote

Old   August 18, 2018, 21:08
Default
  #5
Member
 
cean wang
Join Date: Feb 2013
Posts: 43
Rep Power: 13
ceanwang is on a distinguished road
yes, use that big box as a wind tunnel.
ceanwang is offline   Reply With Quote

Old   August 23, 2018, 00:55
Default
  #6
New Member
 
Join Date: Aug 2018
Posts: 3
Rep Power: 8
SU2User1234 is on a distinguished road
That makes sense. I've been messing around with adding the box around it but I get a variety of errors depending on what I do. If I just add 6 squares around it, I get a divergence error because of a NAN occurring somewhere. I figure this has to do with my lack of 3d shapes? When I try to switch either the box to a prism or the triangles to tetrahedral shapes (where I make the 4th point either on the plane creating essentially a triangle, or make it in a random otherwise unused place), I get a segfault shortly after it starts. I am at a loss for what is going wrong with the shape. Any ideas?
SU2User1234 is offline   Reply With Quote

Reply


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
Negative drag coefficient... fletc900 OpenFOAM Running, Solving & CFD 14 September 5, 2022 10:33
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 10:51
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
Negative Fuselage Drag on a Tandem Wing? mmn1239 STAR-CCM+ 3 April 28, 2012 08:20
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56


All times are GMT -4. The time now is 21:15.