# Solution precision

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

 September 9, 2013, 07:19 Solution precision #1 Senior Member     Anton Kidess Join Date: May 2009 Location: Delft, Netherlands Posts: 919 Rep Power: 17 Is there a way to find out if a solution was calculated using single or double precision without the simulation log? __________________ *On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. *Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology

 September 12, 2013, 09:27 #2 Senior Member   Gonzalo Join Date: Mar 2011 Location: Argentina Posts: 107 Rep Power: 7 Dont't you have the case file? If not, I don't think there is a way to do that. Because the data file only have information about the fields calculated, the time and some other information

 September 12, 2013, 09:31 #3 Senior Member     Anton Kidess Join Date: May 2009 Location: Delft, Netherlands Posts: 919 Rep Power: 17 I do have the case file, but I ran the simulation via the command line and a journal file, i.e. either fluent 2d -g -i journal.jou or fluent 2ddp -g -i journal.jou. At some point I realized I wasn't really paying attention if I used 2d or 2ddp :/ __________________ *On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. *Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology

 September 12, 2013, 13:14 #4 Senior Member   Gonzalo Join Date: Mar 2011 Location: Argentina Posts: 107 Rep Power: 7 Sorry, I misundertood your question, I thought that you were asking about spatial discretization. But now less than before, I don't know how can you realize if the solution was run with single or double. May be looking at the residuals, if they converged too fast, may be you used single precision. Another posibility is run the solution with one precision (single or double), then compare with the old one: if they are equal then you chosed the correct one, if not is the other posibility. Use a coin to chose wich one to run . good luck

 September 13, 2013, 07:19 #5 Senior Member     Anton Kidess Join Date: May 2009 Location: Delft, Netherlands Posts: 919 Rep Power: 17 Ok, thanks! __________________ *On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. *Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post qrie Main CFD Forum 2 January 23, 2013 00:11 Sargam05 OpenFOAM 0 December 3, 2012 16:45 jojo81 Main CFD Forum 0 October 15, 2012 12:05 msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58 Seb Main CFD Forum 13 May 22, 2001 13:37

All times are GMT -4. The time now is 06:40.