|
[Sponsors] |
[waves2Foam] Compiling with OF 3.0.0: "error: ‘adjustTimeStep’ was not declared in this scope" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 5, 2015, 08:39 |
Compiling with OF 3.0.0: "error: ‘adjustTimeStep’ was not declared in this scope"
|
#1 |
New Member
Shim, Jeong-Bo
Join Date: Nov 2015
Posts: 1
Rep Power: 0 |
Dear all,
I am new to OpenFoam, and want to compute a problem including a free surface using waves2foam. First, I compiled and installed openFOAM-3.0.0 in my personal directory, and put the wave2foam source in the working directory of mine and tried to compile it. However I have got the following error messages " /home/jbshim/OpenFOAM/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/readTimeControls.H:32:1: error: ‘adjustTimeStep’ was not declared in this scope adjustTimeStep = ^ /home/jbshim/OpenFOAM/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/readTimeControls.H:35:1: error: ‘maxCo’ was not declared in this scope maxCo = ^ /home/jbshim/OpenFOAM/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/readTimeControls.H:38:1: error: ‘maxDeltaT’ was not declared in this scope maxDeltaT = ^ " Also, at the end of each step, the compilation was terminated because " /home/jbshim/OpenFOAM/OpenFOAM-3.0.0/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:35: fatal error: cyclicAMILduInterface.H: No such file or directory #include "cyclicAMILduInterface.H" " There were also a coupled of other errors, but seemed all related to the above one. I attached the whole log of the compilation to the posting. If anyone can give me any help, I will really appreciate it. Jeongbo Shim. |
|
November 5, 2015, 09:06 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Hallo Jeongbo,
I had not even seen that OpenFoam-3.0.0 was released. I can see from the release notes that there has been made a lot of changes with respect to code organisation. Consequently, I do not know, when I can come up with a cross-version compatible version of waves2Foam. Furthermore, version numbering is now coinciding with the foam-extend branch, so it will be tricky to get the cross-version compatibility working. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
May 3, 2016, 00:41 |
|
#3 | |
New Member
Vitor Dal Bó Abella
Join Date: May 2016
Posts: 6
Rep Power: 9 |
Quote:
|
||
May 3, 2016, 02:12 |
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
Good morning,
waves2Foam does compile on OpenFoam-3.0.0, so there is not need to downgrade. The supported versions are mentioned on the Wiki-page. The error message is weird, as I have just successfully compiled on 3.0.0 this very weekend. Kind regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 07:43 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 04:53 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 12:34 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 05:07 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |