CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

reactingFoam, Rocket Simulation, Messy Error

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2016, 23:02
Default reactingFoam, Rocket Simulation, Messy Error
  #1
New Member
 
David
Join Date: Jul 2015
Posts: 4
Rep Power: 7
David_C is on a distinguished road
Hello Foamers,

I have a bit of a problem... I am running a case for a rocket with air interacting with the flow. I am currently trying to use reactingFoam with the chemistry and combustion turned off... I thought I had set everything up correctly, ran the solver and came up with the following error... (Refer to attached picture - Sorry, it thinks the << and >> are links).

I understand that this error is often caused by division by 0 (?). However, all I have done is taken the reactingFoam tutorial, replaced the mesh with my mesh, and replaced the boundary fields in each of the chemical formula BC files, making the proper adjustments. If you have any suggestions for how to rectify the problem, it would be greatly appreciated!

Thanks,
David
Attached Images
File Type: jpg Selection_002.jpg (88.1 KB, 27 views)
David_C is offline   Reply With Quote

Old   December 5, 2016, 08:35
Default
  #2
Member
 
Anonymouse
Join Date: Dec 2015
Posts: 98
Rep Power: 6
KarenRei is on a distinguished road
Quote:
Originally Posted by David_C View Post
Hello Foamers,

I have a bit of a problem... I am running a case for a rocket with air interacting with the flow. I am currently trying to use reactingFoam with the chemistry and combustion turned off... I thought I had set everything up correctly, ran the solver and came up with the following error... (Refer to attached picture - Sorry, it thinks the << and >> are links).

I understand that this error is often caused by division by 0 (?). However, all I have done is taken the reactingFoam tutorial, replaced the mesh with my mesh, and replaced the boundary fields in each of the chemical formula BC files, making the proper adjustments. If you have any suggestions for how to rectify the problem, it would be greatly appreciated!

Thanks,
David
Have you done a quality check on your mesh? Because that sounds like the most obvious possibility to me.

Note that with OpenFOAM you shouldn't be afraid to have a debug version around and to actually check the code to see where you're crashing and why. You don't need to understand how everything works, but a general sense of "Oh, because of this change in energy here due to some factor, the temperature dropped down to below zero, which then died in a subsequent square root, so the issue is that there's too much of a change in energy due to that factor, too fast, and I need to fix it somehow..."
KarenRei is offline   Reply With Quote

Reply

Tags
error, reactingfoam, rocket

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Compiling problems with hello worldC fw407 OpenFOAM Installation 21 January 6, 2008 18:38
user subroutine error CFDUSER CFX 2 December 9, 2006 07:31


All times are GMT -4. The time now is 00:47.