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

SMALL value

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By sbaffini

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 31, 2013, 10:58
Default SMALL value
  #1
C.C
Member
 
CC
Join Date: Jun 2011
Posts: 73
Rep Power: 14
C.C is on a distinguished road
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.
C.C is offline   Reply With Quote

Old   November 1, 2013, 03:31
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,151
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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?
C.C likes this.
sbaffini is offline   Reply With Quote

Old   November 1, 2013, 05:07
Default
  #3
C.C
Member
 
CC
Join Date: Jun 2011
Posts: 73
Rep Power: 14
C.C is on a distinguished road
Hello sbaffini,

Thank you! Your answer helps me. Probably I'll use a different SMALL value from that of fluent.
Best regards,

CC
C.C 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
[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


All times are GMT -4. The time now is 03:46.