CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   error compiling irregularWaveModel (https://www.cfd-online.com/Forums/openfoam-programming-development/214320-error-compiling-irregularwavemodel.html)

ginop January 28, 2019 02:49

error compiling irregularWaveModel
 
Hi there,


I am trying to compile irregularWaveModel from v1806 onto v1706. But no luck so far.


The error being:
Code:

waveGenerationModels/base/irregularWaveModel/irregularWaveModel.C: In member function ‘virtual bool Foam::waveModels::irregularWaveModel::readDict(const Foam::dictionary&)’:
waveGenerationModels/base/irregularWaveModel/irregularWaveModel.C:79:40: error: ‘readEntry’ was not declared in this scope
        readEntry("rampTime", rampTime_);

I tried to
Code:

#include "primitiveEntry.H"
as I see a readEntry definition there, but failed.

Could anyone point me to the right changes?



Thanks in advance.


Gino


All times are GMT -4. The time now is 23:43.