|
[Sponsors] |
Turbulent intensity field function: Floating point exception [divide by zero] |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 16, 2015, 01:37 |
Turbulent intensity field function: Floating point exception [divide by zero]
|
#1 |
Member
Chan Hiang Bin
Join Date: Apr 2013
Posts: 44
Rep Power: 13 |
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. |
|
December 27, 2015, 21:57 |
TI field function in STAR-CCM+
|
#2 |
New Member
Abhijit Deshpande
Join Date: Jan 2014
Location: Bangalore
Posts: 7
Rep Power: 12 |
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. |
|
|
|
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 |