|
[Sponsors] |
October 31, 2013, 10:58 |
SMALL value
|
#1 |
Member
CC
Join Date: Jun 2011
Posts: 73
Rep Power: 14 |
Hello,
Anyone knows the value of the variable SMALL in fluent? I've written in my UDF #define SMALL 1.e-30; but when interpreted it just happeared a warming saying that SMALL already exists and it will be changed. I had looked at the fluent's manuals but I didn't find anything...Thank you. |
|
November 1, 2013, 03:31 |
|
#2 |
Senior Member
|
If you have a Linux installation you can go in:
/somefolder/ansys_inc/v*/fluent/fluent?/src (where * and ? are relative to specific versions) and do: grep -i -n "#define SMALL " * which will tell you that SMALL is defined as 1e-10 in f_wall.h at the line 207 (in Fluent 14.5). Why don't you just use mySMALL? |
|
November 1, 2013, 05:07 |
|
#3 |
Member
CC
Join Date: Jun 2011
Posts: 73
Rep Power: 14 |
Hello sbaffini,
Thank you! Your answer helps me. Probably I'll use a different SMALL value from that of fluent. Best regards, CC |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] .STL: non-closed manifold surface | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 32 | November 25, 2016 03:15 |
why did Time step is too small in stiffbs? | satum | FLUENT | 1 | December 10, 2012 09:15 |
Simulating small features on large models | siw | CFX | 1 | February 16, 2012 17:10 |
Small influence of convection in PISO if Courant number is small | sebi | OpenFOAM | 0 | February 22, 2011 14:55 |
small size holes simulation | brian ko | Phoenics | 5 | October 22, 2001 12:53 |