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

Turbulent intensity field function: Floating point exception [divide by zero]

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By ab.glb.cfd

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2015, 01:37
Default Turbulent intensity field function: Floating point exception [divide by zero]
  #1
Bin
Member
 
Chan Hiang Bin
Join Date: Apr 2013
Posts: 44
Rep Power: 13
Bin is on a distinguished road
Hello to all CFD mates,

I wish to define a Turbulent Intensity (TI) scalar in Star-CCM+ so that I can study the turbulence better. However, I receive a floating point exception [divide by zero] error when I created a TI field function. The function's definition is: sqrt((2/3)*$TurbulentKineticEnergy)/(mag($$Velocity))

From the definition, it is clear that the zero velocity at the wall is the main issue that need to be considered when defining the function. I was thinking to redefine the function where it returns zero value to system when it is divided by any zero value, or maybe return zero value when TI equals to infinity. But I have no idea whether this can be done or not.

I am still seeking for a solution to modify the solution. At the same time, I hope anyone that has experiences in this type of issue can provide some advises that help me to solve the problem.

Many thanks in advance.
Bin is offline   Reply With Quote

Old   December 27, 2015, 21:57
Smile TI field function in STAR-CCM+
  #2
New Member
 
Abhijit Deshpande
Join Date: Jan 2014
Location: Bangalore
Posts: 7
Rep Power: 12
ab.glb.cfd is on a distinguished road
Hello STAR-CCM+ user,

In the properties window you have to tick mark the "ignore boundary values" option to avoid Divide by zero error message.

Hope this helps and answers your question.
sathishkrazy and PulpC like this.
ab.glb.cfd 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
Got a Floating point exception when using buoyantSimpleFoam sajad6 OpenFOAM Running, Solving & CFD 1 October 29, 2014 15:35
Finished simulation doesn't start: floating point exception [Divide by zero] MaxCFD STAR-CCM+ 3 June 26, 2011 10:31
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


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