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

[waves2Foam] Building with OpenFOAM 2.3.0 on Mac OS X 10.11.3

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2016, 11:16
Default Building with OpenFOAM 2.3.0 on Mac OS X 10.11.3
  #1
New Member
 
Youngkook Kim
Join Date: Jul 2013
Location: Singapore and South Korea
Posts: 20
Rep Power: 12
totalart is on a distinguished road
Hi,

I have been struggling with installing wave2foam on mac. Now it seems that most of errors are fixed except this:


Quote:
preProcessing/setWaveProperties/irregular/waveSpectra/spectra/JONSWAP/JONSWAP.C:152:17: error: conversion from 'tmp<Field<scalar> >' to 'scalarField' (aka 'Field<scalar>') is ambiguous



And this error occurs in the following code in JONSWAP.C:

Code:
scalarField S = alpha*Foam::pow(Hs,2.0)*Foam::pow(fp,4.0)*Foam::pow(f,-5.0)
I don't understand why this error occurs. Anybody can help me fix this?
My OpenFOAM is 2.3.0 and Mac OS X 10.11.3.

Best,
Youngkook
totalart is offline   Reply With Quote

Reply


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
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
Problem when installing Openfoam 2.0.x with mac giovaniharyadi OpenFOAM Installation 0 March 24, 2012 18:45
OpenFOAM 2.0.x for Mac OS X (Intel) auvifoam OpenFOAM Installation 0 December 10, 2011 22:21
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


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