CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

aeroacoustic solver compilation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2019, 01:57
Default aeroacoustic solver compilation error
  #1
Senior Member
 
Brett
Join Date: May 2013
Posts: 212
Rep Power: 14
Bdew8556 is on a distinguished road
Hi all,

I've been following the Chalmers paper on implementing an aeroacoustic solver.
I'm getting close but I come up with this error. Anyone have any ideas???

g++ -std=c++11 -m64 -DOPENFOAM=1906 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/cfdTools -I/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1906/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1906/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1906/src/transportModels/compressible/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1906/src/thermophysicalModels/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1906/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1906/src/TurbulenceModels/compressible/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-v1906/src/OSspecific/POSIX/lnInclude -fPIC -c rhoPimpleAdiabaticAcousticFoam.C -o /opt/OpenFOAM/OpenFOAM-v1906/build/linux64Gcc63DPInt32Opt/applications/solvers/compressible/rhoPimpleAdiabaticAcousticFoam/rhoPimpleAdiabaticAcousticFoam.o
In file included from ./createFields.H:1:0,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/postProcess.H:133,
from rhoPimpleAdiabaticAcousticFoam.C:68:
/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/createRDeltaT.H: In function ‘int main(int, char**)’:
/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/createRDeltaT.H:1:16: error: ‘Foam::fv::localEulerDdt’ has not been declared
bool LTS = fv::localEulerDdt::enabled(mesh);
^~~~~~~~~~~~~
/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/createRDeltaT.H:15:17: error: ‘localEulerDdt’ is not a member of ‘Foam::fv’
fv::localEulerDdt::rDeltaTName,
^~
In file included from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/postProcess.H:133:0,
from rhoPimpleAdiabaticAcousticFoam.C:68:
./createFields.H:105:36: error: ‘dimensionsScalar’ was not declared in this scope
dimensionsScalar(p.dimensions())
^
./createFields.H:188:1: warning: ‘Foam::dimensioned<Type>::dimensioned(const Foam::word&, const Foam::dimensionSet&, Foam::Istream&) [with Type = double]’ is deprecated: Since 2018-11 [-Wdeprecated-declarations]
);
^
In file included from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.H:534:0,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedScalar.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/TimeState.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/Time.H:49,
from /opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/fvCFD.H:6,
from rhoPimpleAdiabaticAcousticFoam.C:47:
/opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.C:258:1: note: declared here
Foam::dimensioned<Type>::dimensioned
^~~~
In file included from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/postProcess.H:133:0,
from rhoPimpleAdiabaticAcousticFoam.C:68:
./createFields.H:195:1: warning: ‘Foam::dimensioned<Type>::dimensioned(const Foam::word&, const Foam::dimensionSet&, Foam::Istream&) [with Type = double]’ is deprecated: Since 2018-11 [-Wdeprecated-declarations]
);
^
In file included from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.H:534:0,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedScalar.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/TimeState.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/Time.H:49,
from /opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/fvCFD.H:6,
from rhoPimpleAdiabaticAcousticFoam.C:47:
/opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.C:258:1: note: declared here
Foam::dimensioned<Type>::dimensioned
^~~~
In file included from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/postProcess.H:133:0,
from rhoPimpleAdiabaticAcousticFoam.C:68:
./createFields.H:165:8: warning: unused variable ‘timeIndex’ [-Wunused-variable]
scalar timeIndex = 1;
^~~~~~~~~
In file included from createFields.H:1:0,
from rhoPimpleAdiabaticAcousticFoam.C:77:
/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/createRDeltaT.H:1:16: error: ‘Foam::fv::localEulerDdt’ has not been declared
bool LTS = fv::localEulerDdt::enabled(mesh);
^~~~~~~~~~~~~
/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/createRDeltaT.H:15:17: error: ‘localEulerDdt’ is not a member of ‘Foam::fv’
fv::localEulerDdt::rDeltaTName,
^~
In file included from rhoPimpleAdiabaticAcousticFoam.C:77:0:
createFields.H:105:36: error: ‘dimensionsScalar’ was not declared in this scope
dimensionsScalar(p.dimensions())
^
createFields.H:188:1: warning: ‘Foam::dimensioned<Type>::dimensioned(const Foam::word&, const Foam::dimensionSet&, Foam::Istream&) [with Type = double]’ is deprecated: Since 2018-11 [-Wdeprecated-declarations]
);
^
In file included from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.H:534:0,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedScalar.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/TimeState.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/Time.H:49,
from /opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/fvCFD.H:6,
from rhoPimpleAdiabaticAcousticFoam.C:47:
/opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.C:258:1: note: declared here
Foam::dimensioned<Type>::dimensioned
^~~~
In file included from rhoPimpleAdiabaticAcousticFoam.C:77:0:
createFields.H:195:1: warning: ‘Foam::dimensioned<Type>::dimensioned(const Foam::word&, const Foam::dimensionSet&, Foam::Istream&) [with Type = double]’ is deprecated: Since 2018-11 [-Wdeprecated-declarations]
);
^
In file included from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.H:534:0,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedScalar.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/TimeState.H:40,
from /opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/Time.H:49,
from /opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/fvCFD.H:6,
from rhoPimpleAdiabaticAcousticFoam.C:47:
/opt/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude/dimensionedType.C:258:1: note: declared here
Foam::dimensioned<Type>::dimensioned
^~~~
In file included from rhoPimpleAdiabaticAcousticFoam.C:78:0:
/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/createFvOptions.H:1:37: error: redeclaration of ‘Foam::fv:ptions& fvOptions’
fv:ptions& fvOptions(fv:ptions::New(mesh));
^~~
In file included from createFields.H:207:0,
from rhoPimpleAdiabaticAcousticFoam.C:77:
/opt/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude/createFvOptions.H:1:14: note: ‘Foam::fv:ptions& fvOptions’ previously declared here
fv:ptions& fvOptions(fv:ptions::New(mesh));
^~~~~~~~~
In file included from rhoPimpleAdiabaticAcousticFoam.C:124:0:
acousticSolver.H:4:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if(timeIndex=1)
^
/opt/OpenFOAM/OpenFOAM-v1906/wmake/rules/General/transform:34: recipe for target '/opt/OpenFOAM/OpenFOAM-v1906/build/linux64Gcc63DPInt32Opt/applications/solvers/compressible/rhoPimpleAdiabaticAcousticFoam/rhoPimpleAdiabaticAcousticFoam.o' failed
make: *** [/opt/OpenFOAM/OpenFOAM-v1906/build/linux64Gcc63DPInt32Opt/applications/solvers/compressible/rhoPimpleAdiabaticAcousticFoam/rhoPimpleAdiabaticAcousticFoam.o] Error 1
Bdew8556 is offline   Reply With Quote

Old   November 21, 2023, 04:53
Default
  #2
New Member
 
FOAMraj
Join Date: Apr 2021
Posts: 19
Rep Power: 5
BIRAJ is on a distinguished road
Hi,
Did you figure out the issue? I am also getting same error in v2112.
BIRAJ 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
error during compilation of new solver harsha_kulkarni OpenFOAM Programming & Development 2 November 7, 2019 01:47
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 19:00
Undeclared Identifier Errof UDF SteveGoat Fluent UDF and Scheme Programming 7 October 15, 2014 08:11
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44


All times are GMT -4. The time now is 06:26.