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

rhoPimpleAdiabaticAcousticFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 7, 2019, 01:56
Default rhoPimpleAdiabaticAcousticFoam
  #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

Reply

Tags
aeroacoustics, compilation error, euler equations, openfoam 1806


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



All times are GMT -4. The time now is 19:40.