CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Hypersonic Sim (running at Mach 7): floating point exception has occurred

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 15, 2015, 13:59
Default Hypersonic Sim (running at Mach 7): floating point exception has occurred
  #1
New Member
 
Bungus
Join Date: Jan 2015
Posts: 5
Rep Power: 11
bungusbeefcake is on a distinguished road
Hey guys, I've been running this problem for weeks now without any luck in solving it! Basically I'm running a sim on a SCRamjet/waverider geometry. I've been trying to run it at Mach 7. Whenever I run the sim with Mach 7(2090 m/s velocity in inlet and 2090,0,0 initial conditions) I get the following error:
A floating point exception has occurred: floating point exception [Overflow]. The specific cause cannot be identified. Please refer to the troubleshooting section of the User's Guide.
Context: star.kwturb.KwTurbSolver
The error occurs before the 1st iteration!
I can mesh the geometry no problem and I'm running the sim with the following physics: All Y+ wall treatment, coupled energy, coupled flow, gas - air, gradients, ideal gas, k-omega turbulence, RANS, SST (menter) k-Omega, steady, 3D, transition boundary distance, turbulence suppression and turbulent.
I have tried remeshing in various configurations using volumetric controls both isotropic and anisotropic in case this was an issue, changing the number of prism layers and thickness, changing the courant number. I'm confused as to where to go as I've done the exact same conditions on a different geometry and that had no issues.
I have tried to start the sim at 20m/s and ramp up to 2000m/s and although I don't automatically get the error, the velocity in the fluid remains at approx 20m/s after a number of iterations, which to me makes no sense!
I can give anyone who wants it the sim, meshed or not if they would like to have a look?
Would anyone have any suggestions?
Thanks for any help or guidance as its killing me to just keep running into this wall!!

Regards,

Bungus
bungusbeefcake is offline   Reply With Quote

Old   March 16, 2015, 11:13
Default
  #2
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
It sounds like maybe your ramp is too quick? Over how many iterations did you ramp up from 20 to 2000 m/s? It takes time for changes in boundary condition to propogate through your domain. You might also try ramping your courrant/CFL number.

Getting to Mach 7 will take some time.
fluid23 is offline   Reply With Quote

Old   March 16, 2015, 11:14
Default
  #3
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
Can you post a shot of your mesh?
fluid23 is offline   Reply With Quote

Old   March 16, 2015, 12:15
Default
  #4
New Member
 
Bungus
Join Date: Jan 2015
Posts: 5
Rep Power: 11
bungusbeefcake is on a distinguished road
Quote:
Originally Posted by MBdonCFD View Post
Can you post a shot of your mesh?
This is one of my mesh's, I have many different ones, some more coarse, some finer, some with larger prism layers. The ramp is probably happening too fast, I only tried it a few times and only 20 or so iterations between them.
The Mach 7 worked from the initial on a previous model, thats what really confuses me! Let me know what you think.
Attached Images
File Type: jpg mesh1.jpg (49.8 KB, 79 views)
bungusbeefcake is offline   Reply With Quote

Old   March 16, 2015, 12:42
Default
  #5
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
Try to ramp over like 400 iterations or so and allow the changes to propagate through your domain.

As for why one model works and another doesn't, its hard to say. Are these the same mesh settings and different geometry, different mesh and same geoemtry, or different geometry and different mesh?
fluid23 is offline   Reply With Quote

Old   March 16, 2015, 12:54
Default
  #6
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
Also, it looks like maybe you would benefit from mesh enhancement around your shock locations and in the wake, but it's hard to tell for sure from these shots. Look at the help documentation for wake refinement and field function mesh refinement.
fluid23 is offline   Reply With Quote

Old   March 16, 2015, 13:27
Default
  #7
New Member
 
Bungus
Join Date: Jan 2015
Posts: 5
Rep Power: 11
bungusbeefcake is on a distinguished road
I'll try to do it over 400 iterations. The model is much different than the original one so I have a different mesh and different model, however all the mesh parameters were scaled to the new model based on length scale, but I don't know if this changes anything or not. I might try to scale the model down to the original size and see if it works that way.

Have you any other thoughts? Any experience with high mach numbers? and if so then what were the physics you would suggest?
I was thinking about the wake refinement but thats why I tried to use the volumetric controls.
bungusbeefcake is offline   Reply With Quote

Old   March 16, 2015, 14:21
Default
  #8
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
I wouldn't scale your model because that changes your primary Reynolds number. How much larger is the newm model? If you are wanting to make a good comparison I would keep all the same settings as the original file unless it will double your cell count or something.

I don't have much experience with high Mach, I do helicopters and rotors. There we typically 'top out' at less than 200 kts. However, I think your physics selection is appropriate. 9 times out of 10 divergence is an issue of mesh quality. If you have access to the Steve Portal, log in and go to the macro hut. There you will find a handy little java macro called Mesh Quality Analyzer. Download and install if you are able and then run it. Don't worry about the residuals to start, just do mesh quality. That should help you locate any problem cells. If you still see divergence after fixing those, then run the residual analysis too. This will highlight all the cells with the top 5%, 10% (or whatever you choose) residual values.
fluid23 is offline   Reply With Quote

Old   March 26, 2015, 05:35
Default
  #9
New Member
 
Bungus
Join Date: Jan 2015
Posts: 5
Rep Power: 11
bungusbeefcake is on a distinguished road
I've had a look through the simulation. I can get the simulation to run now, but the mesh needs to be approximately 20 times smaller. This being the case, the only way to technically run the sim is to scale it. I know about the issues with the Reynolds number but at least I'll have an order of magnitude approximation so its not so bad.

There is a few other possible confusing issues which I have but I'm altering mesh's to determine the sensitivity of the mesh on the sim.
bungusbeefcake is offline   Reply With Quote

Old   March 26, 2015, 13:56
Default
  #10
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
That seems extreme. What was your cell count before and what are you thinking it needs to be now? I think scaling will cause far more than Re issues for you. Plus, it doesn't really change the relative size of the cells. Smaller geometry will mean smaller cells, not fewer cells. Flip side, larger geometry will require larger cells, not more cells. There may be some slight variation, but it would be more a product of your mesher than anything else.
fluid23 is offline   Reply With Quote

Old   March 31, 2015, 07:59
Default
  #11
New Member
 
Join Date: Mar 2015
Posts: 1
Rep Power: 0
meatty is on a distinguished road
Switch to Real Gas Redlich-Kwong and use the segregated solver. It is much more stable in this very high speed regime.
meatty 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
simpleFoam: floating point exception student666 OpenFOAM Running, Solving & CFD 9 March 13, 2016 19:23
pimpleDyMFoam constantly giving floating point exception and solution divergence fedvasu OpenFOAM Running, Solving & CFD 0 November 28, 2013 01:53
MPI Error - simpleFoam - Floating Point Exception scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 17:34
simpleFoam Floating point exception error -help sudhasran OpenFOAM Running, Solving & CFD 3 March 12, 2012 17:23
Finished simulation doesn't start: floating point exception [Divide by zero] MaxCFD STAR-CCM+ 3 June 26, 2011 11:31


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