CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Double precision CFX (https://www.cfd-online.com/Forums/cfx/22733-double-precision-cfx.html)

Vanessa June 19, 2006 09:02

Double precision CFX
 
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


opaque June 19, 2006 09:14

Re: Double precision CFX
 
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

Vanessa June 19, 2006 09:29

Re: Double precision CFX
 
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

nulu praveen June 21, 2006 02:59

project in cfd using fluent as software
 
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

hema July 12, 2006 02:02

Re: project in cfd using fluent as software
 
Nan oru loose

abdul bari August 1, 2006 05:41

Re: project in cfd using fluent as software
 
Please give me CFD related Project.


sontakke balaji nagorao August 10, 2006 09:42

Re: project in cfd using fluent as software
 
i want more information about cfd project fluent software

SRINIVASULA REDDY PILLI August 12, 2006 01:41

Re: project in cfd using fluent as software
 
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


pramod patole August 13, 2006 04:34

Re: project in cfd using fluent as software
 
i am M.Tech student specilised in thermal &fluid give me projecty related to refrigeration &air-conditioning


All times are GMT -4. The time now is 08:28.