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

PBC breaks down, is there a grid check tool?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2013, 10:31
Default PBC breaks down, is there a grid check tool?
  #1
Member
 
Anonymous
Join Date: Jul 2009
Posts: 42
Rep Power: 8
gerritgroot is on a distinguished road
Hi,

I ran SU2_PBC on a periodic grid (not the grid from the example), but SU2_PBC.exe breaks down when it checks the periodic boundary conditions.

Quote:
MyDirectory>SU2_PBC addperiodic.cfg
....
-------------------- Setting the periodic boundaries --------------------
Setting the periodic boundary conditions.
And then it breaks down and asks me if I want to send a message to Microsoft (I said yes :-))

Apparently, there's something wrong with the grid, but visualizing it, I can't find anything. I don't have any grid generator, nor a tool to check grids (I got this grid from a third party)

I tried to add the periodic boundary conditions with the following cfg file

Quote:
MESH_FILENAME=InputGrid.su2
MESH_FORMAT= SU2
MARKER_PERIODIC= (Periodic,PeriodicShadow,0.,0.,0.,0.,0.,-120.,0.,0.,0.,PeriodicShadow,Periodic,0.,0.,0.,0., 0.,120.,0.,0.,0.)
MESH_OUT_FILENAME=OutputGrid.su2
OUTPUT_FORMAT= TECPLOT
Is there some grid checking tool to see what's wrong with the *.su2 grid?
SU_PBC just breaks down, it doesn't tell me which element is wrong.
gerritgroot is offline   Reply With Quote

Old   May 21, 2013, 03:08
Default
  #2
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260
Rep Power: 5
economon is on a distinguished road
Hi,

One thing you can quickly try to check the mesh is to simply run it through SU2_CFD instead for only a single iteration (set the periodic markers to be farfield BCs, and use EXT_ITER= 1). If this does not crash, it will write a solution file that can be opened in Tecplot, for example, which will allow you to study the mesh. SU2_CFD may also give you better warning or error information if there indeed is an issue.

Hope this helps!
Tom
economon is offline   Reply With Quote

Old   May 21, 2013, 10:11
Default
  #3
Member
 
Anonymous
Join Date: Jul 2009
Posts: 42
Rep Power: 8
gerritgroot is on a distinguished road
Yes, there seems to be something wrong with the grid.

SU2_CFD breaks down when...

"Searching for closest normal neighbor on the surface."
gerritgroot is offline   Reply With Quote

Old   May 22, 2013, 07:58
Default
  #4
Member
 
Anonymous
Join Date: Jul 2009
Posts: 42
Rep Power: 8
gerritgroot is on a distinguished road
Hi,

Couldn't find anything strange in the grid.

Could it be that quad elements are not allowed on the periodic boundaries?
gerritgroot is offline   Reply With Quote

Old   May 22, 2013, 08:05
Default
  #5
Member
 
Anonymous
Join Date: Jul 2009
Posts: 42
Rep Power: 8
gerritgroot is on a distinguished road
Hi,

Couldn't find anything strange in the grid.

Could it be that quad elements are not allowed on the periodic boundaries?
gerritgroot is offline   Reply With Quote

Old   May 23, 2013, 03:08
Default
  #6
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260
Rep Power: 5
economon is on a distinguished road
Hmmm, well since it isn't running in SU2_CFD either, I don't think it is related to SU2_PBC.

Are you able to visualize your mesh in a different program before exporting it to SU2 format? Is it possible that there are duplicate nodes or unsupported unstructured elements (other than tri, quad, tet, hex, pyramid, prism)? Do you have a way to convert it to a different format that you can visualize?
economon is offline   Reply With Quote

Old   May 23, 2013, 13:05
Default
  #7
Member
 
Anonymous
Join Date: Jul 2009
Posts: 42
Rep Power: 8
gerritgroot is on a distinguished road
I visualised it already, there is nothing stange to be seen.
I'll check it again, it only has tetras and wedges.
What should I check it for?
- Duplicated nodes?
- Unused nodes?
- Bad node references?
gerritgroot is offline   Reply With Quote

Old   May 24, 2013, 05:56
Default
  #8
Member
 
Anonymous
Join Date: Jul 2009
Posts: 42
Rep Power: 8
gerritgroot is on a distinguished road
Hi,

I obtained the same grid saved in cgns format, it runs in fluent, but it breaks down in SU2_PBC.
gerritgroot is offline   Reply With Quote

Old   June 13, 2013, 18:24
Default
  #9
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 260
Rep Power: 5
economon is on a distinguished road
Have you tried converting the CGNS mesh to SU2 from within SU2? Is there an error written to the console when trying to read the grid in from CGNS format?
economon is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard procedure to check grid quality in Gridgen software CFD XUE FLUENT 1 March 21, 2011 14:56
Grid Check Fails in Parallel Processing Mode askance Main CFD Forum 0 October 20, 2010 10:11
grid check failed yubaibai88 FLUENT 5 April 7, 2010 07:05
Struct Grid Tool Joe W. Main CFD Forum 1 April 24, 2002 05:08
Grid Independent Solution Chuck Leakeas Main CFD Forum 2 May 26, 2000 11:18


All times are GMT -4. The time now is 03:57.