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

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

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

Reply
 
LinkBack Thread Tools 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: 6
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, 22:57
Smile TI field function in STAR-CCM+
  #2
New Member
 
Abhijit Deshpande
Join Date: Jan 2014
Location: Bangalore
Posts: 3
Rep Power: 5
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.
ab.glb.cfd 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
Got a Floating point exception when using buoyantSimpleFoam sajad6 OpenFOAM Running, Solving & CFD 1 October 29, 2014 16: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
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 13:12.