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

[waves2Foam] Compiling with OF 3.0.0: "error: ‘adjustTimeStep’ was not declared in this scope"

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2015, 08:39
Default 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
jbshim is on a distinguished road
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.
Attached Files
File Type: txt waves2foam_log.txt (19.8 KB, 4 views)
jbshim is offline   Reply With Quote

Old   November 5, 2015, 09:06
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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.
ngj is offline   Reply With Quote

Old   May 3, 2016, 00:41
Default
  #3
New Member
 
Vitor Dal Bó Abella
Join Date: May 2016
Posts: 6
Rep Power: 9
2vdba2 is on a distinguished road
Quote:
Originally Posted by jbshim View Post
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.
I have the same problem you have with installing viscoelasticFluidFoam. I think that if you use any 2.x openfoam it will work.
2vdba2 is offline   Reply With Quote

Old   May 3, 2016, 02:12
Default
  #4
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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.
ngj 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
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


All times are GMT -4. The time now is 22:11.