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

Division by zero in Xoodles

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 18, 2007, 07:16
Default Description: While starting t
  #1
Senior Member
 
Hannes Kröger
Join Date: Mar 2009
Location: Rostock, Germany
Posts: 123
Rep Power: 18
hannes is on a distinguished road
Description:
While starting the Xoodles/pitzDaily3D tutorial, Xoodles fails and reports a floating point error.
The reason seems to be in XiFoam/bEqn.H in line 79. There, muu is divided by (rhou*epsilon). It seems, that epsilon may be zero in some cases.
Change the statement to:

volScalarField tauEta = sqrt(thermo->muu()/(
rhou*epsilon + dimensionedScalar("1e-6", rhou.dimensions()*epsilon.dimensions(), 1e-6)
));


Solver/Application:
Xoodles, XiFoam, engineFoam

Source file:
$FOAM_APP/solvers/combustion/XiFoam/bEqn.H

Testcase:
$FOAM_TUTORIALS/Xoodles/pitzDaily3D

Platform:
x86_64

Version:
1.4 (also 1.3)

Notes:
__________________
silentdynamics GmbH - http://silentdynamics.de
open source CAE software solutions & support
hannes is offline   Reply With Quote

 


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
About flow division sunnysun OpenFOAM Running, Solving & CFD 5 March 2, 2009 12:34
Division by zero vitke OpenFOAM Running, Solving & CFD 5 September 1, 2008 05:35
PitzDaily tutorial with Xoodles christianvhoersten OpenFOAM Running, Solving & CFD 0 January 11, 2008 10:17
How to run the cases Xoodles%5cpitzDaily3D and Xoodles%5cpitzDaily cfdfans OpenFOAM Running, Solving & CFD 4 October 18, 2007 03:47
Soot model Xoodles deepblue17 OpenFOAM Running, Solving & CFD 0 May 2, 2006 11:57


All times are GMT -4. The time now is 08:40.