Compiling with OF 3.0.0: "error: ‘adjustTimeStep’ was not declared in this scope"
1 Attachment(s)
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. |
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 |
Quote:
|
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 |
All times are GMT -4. The time now is 12:18. |