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

Double precision CFX

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 19, 2006, 09:02
Default Double precision CFX
  #1
Vanessa
Guest
 
Posts: n/a
Dear all,

I would like to know how to use double precision for my calculations. I have CEL functions and Junction Boxes for my boundary conditions and I followed the procedure described in the help on-line manual but it still looks like I'm doing something wrong as I can't compile them and I get error messages. Is there something special I need to do? Is a normal CFX solver able to deal with double precision in a more or less normal computer? (32 bits, Pentium 4, running under Windows XP, etc.)

Also, I would like to know whether I need or not to declare my variables AND stacks/data areas as double precision? so instructions such as CALL POKEI etc will be double precision.

Thank you very much for your help,

Kind regards,

Vanessa

  Reply With Quote

Old   June 19, 2006, 09:14
Default Re: Double precision CFX
  #2
opaque
Guest
 
Posts: n/a
Dear Vanessa,

You should write your code as in single precision.. No need to use DOUBLE PRECISION statements, except for those calculation that must be done in double precision when running a single precision run.

Then, when compiling your user fortran libraries remember to issue the -double flag to indicate that you want to run your user fortran with the double precision solver. The compilation will autopromote those REAL statements to DOUBLE PRECISION for you. Also POKEI is for integer; and there is no concept of double precision there. POKER will store the data in double precision.

Also, do not forget to select the double precision solver at run time: either via cfx5solve -double -def ..., or selecting Double Precision in the Define Run tab of the Solver Manager.

Opaque
  Reply With Quote

Old   June 19, 2006, 09:29
Default Re: Double precision CFX
  #3
Vanessa
Guest
 
Posts: n/a
Dear opaque,

Thank you for your e-mail. Indeed, the POKEI there was a mispelling mistake as I intended to write what to do with my POKER, PEEKR etc (not POKEI which is, as you clearely indicated, for integers ).

So, if I understood correctly, I do not need to do anything, just compiling my code with the the -double flag?

Thank you very much for your help,

Cheers,

Vanessa
  Reply With Quote

Old   June 21, 2006, 02:59
Default project in cfd using fluent as software
  #4
nulu praveen
Guest
 
Posts: n/a
sir, I am the student of vjti-mumbai doing m-tech with automobile specialisation. now i would lke to do a project of one year duration on CFD.SOi kindly request you to suggest me a good project or give me suggestions or an idea regarding my project. thank you
  Reply With Quote

Old   July 12, 2006, 02:02
Default Re: project in cfd using fluent as software
  #5
hema
Guest
 
Posts: n/a
Nan oru loose
  Reply With Quote

Old   August 1, 2006, 05:41
Default Re: project in cfd using fluent as software
  #6
abdul bari
Guest
 
Posts: n/a
Please give me CFD related Project.

  Reply With Quote

Old   August 10, 2006, 09:42
Default Re: project in cfd using fluent as software
  #7
sontakke balaji nagorao
Guest
 
Posts: n/a
i want more information about cfd project fluent software
  Reply With Quote

Old   August 12, 2006, 01:41
Default Re: project in cfd using fluent as software
  #8
SRINIVASULA REDDY PILLI
Guest
 
Posts: n/a
IAM SRINIVASULA REDDY,PEUSUING MY PG ON CADCAM IAM INTERESTED DO MY PROJECT ON CFD USING FLUENT SOFTWARE I WANT SOME SUGGESTIONS I GOT PROJECT ON AERONAUTICAL DEVELOPMENT AGENCY BANGLORE

  Reply With Quote

Old   August 13, 2006, 04:34
Default Re: project in cfd using fluent as software
  #9
pramod patole
Guest
 
Posts: n/a
i am M.Tech student specilised in thermal &fluid give me projecty related to refrigeration &air-conditioning
  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
Single to Double Precision Tsr63 FLUENT 0 July 22, 2011 12:52
double precision for batch mode Lawrence STAR-CD 2 April 7, 2010 19:10
Switch from single precision to double precision kk81 OpenFOAM Bugs 0 March 11, 2010 06:14
double precision cfx pat CFX 5 November 11, 2008 06:45
what's wrong about my code for 2d burgers equation morxio Main CFD Forum 3 April 27, 2007 10:38


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