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

Compilation Issue in OpenFOAM-1.6-ext (SP)

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2011, 10:09
Post Compilation Issue in OpenFOAM-1.6-ext (SP)
  #1
New Member
 
Anurag Jaroliya
Join Date: Feb 2010
Posts: 1
Rep Power: 0
Janurag is on a distinguished road
Hello All,

I am trying to compile OpenFOAM-1.6-ext version on 64 bit machine.

It got compiled nicely with DP (double precision) but gave errors with SP (single precision).

I am attaching the error file having first few lines of error that I got while compiling it with SP. I hope that somebody would be able to rectify my mistake that I may be committing while compiling for SP.

Thank you very much for your help.
Attached Files
File Type: txt Error.txt (2.5 KB, 16 views)
Janurag is offline   Reply With Quote

Old   February 10, 2011, 05:29
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,905
Rep Power: 33
hjasak will become famous soon enough
Thanks for that one. Can we do an experiment please.

Go to:

OpenFOAM-1.6-ext/src/finiteArea/interpolation/edgeInterpolation/edgeInterpolationScheme/edgeInterpolationScheme.C

and go to line 375. It will say 1.0 at one place - please change it to 1 and try to recompile:

pSf[i] =
transform
(
Te.T(),
pLambda[i]*transform(TP, pOwnVf[i])
+ (1 - pLambda[i])*transform(TN, pNgbVf[i])
);

If that does not work, it should say "scalar(1)"

Please try and let me know which one's better.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak 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
Compilation error for openfoam - 1.6 misakagan OpenFOAM 19 February 21, 2012 10:36
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 15:39
OpenFOAM 1.6 package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 36 September 2, 2009 12:46
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 17:55


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