CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Float OR Double specified

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2006, 14:02
Default Float OR Double specified
  #1
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17
tj22 is on a distinguished road
I am writing a reader and I am reading the binary data using C++. Is the data values floats or doubles or is it specified somewhere?

Thanks.
tj22 is offline   Reply With Quote

Old   July 11, 2006, 14:19
Default Unfortunately not specified in
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Unfortunately not specified in the header.

It depends on whether the whole code was compiled in double or single precision. Most installations will be double precision.
mattijs is offline   Reply With Quote

Old   July 11, 2006, 14:39
Default I will be assuming double prec
  #3
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 17
tj22 is on a distinguished road
I will be assuming double precision in my reader. I will note in somwhere
tj22 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fvOptions npatricia OpenFOAM 6 May 23, 2018 06:21
CFD by anderson, chp 10.... supersonic flow over flat plate varunjain89 Main CFD Forum 18 May 11, 2018 08:31
Warning message C4133 while compiling Arminius Fluent UDF and Scheme Programming 0 October 2, 2017 12:44
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


All times are GMT -4. The time now is 12:50.