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

SMALL value

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

Like Tree1Likes
  • 1 Post By sbaffini

Reply
 
LinkBack Thread Tools Display Modes
Old   October 31, 2013, 11:58
Default SMALL value
  #1
C.C
Member
 
CC
Join Date: Jun 2011
Posts: 52
Rep Power: 6
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, 04:31
Default
  #2
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 534
Blog Entries: 14
Rep Power: 17
sbaffini will become famous soon enough
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, 06:07
Default
  #3
C.C
Member
 
CC
Join Date: Jun 2011
Posts: 52
Rep Power: 6
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

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
.STL: non-closed manifold surface giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 24 March 3, 2015 05:41
why did Time step is too small in stiffbs? satum FLUENT 1 December 10, 2012 10:15
Simulating small features on large models siw CFX 1 February 16, 2012 18:10
Small influence of convection in PISO if Courant number is small sebi OpenFOAM 0 February 22, 2011 15:55
small size holes simulation brian ko Phoenics 5 October 22, 2001 12:53


All times are GMT -4. The time now is 11:20.