|
[Sponsors] |
error: ‘incompressible’ was not declared in this scope |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 11, 2018, 02:55 |
error: ‘incompressible’ was not declared in this scope
|
#1 |
New Member
Ameya
Join Date: Jan 2018
Posts: 5
Rep Power: 8 |
Hello OF Experts,
I am trying to compile a new solver in openFoam 17.1, Link to the solver: http://openfoamwiki.net/index.php/Co...nesqSimpleFoam in the process I encountered following error msg: Making dependency list for source file massBuoyantBoussinesqSimpleFoam.C g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/TurbulenceModels/turbulenceModels/lnInclude -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/TurbulenceModels/incompressible/lnInclude -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/transportModels -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/transportModels/incompressible/singlePhaseTransportModel -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/finiteVolume/lnInclude -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/meshTools/lnInclude -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/sampling/lnInclude -IlnInclude -I. -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c massBuoyantBoussinesqSimpleFoam.C -o /home/ameya2310/OpenFOAM-in-Box-17.10/OpenFOAM-dev/platforms/linux64Gcc62DPInt32Opt/applications/solvers/massBuoyantBoussinesqSimpleFoam/massBuoyantBoussinesqSimpleFoam.o In file included from massBuoyantBoussinesqSimpleFoam.C:61:0: createFields.H: In function ‘int main(int, char**)’: createFields.H:78:13: error: ‘incompressible’ was not declared in this scope autoPtr<incompressible::RASModel> turbulence ^~~~~~~~~~~~~~ createFields.H:78:37: error: template argument 1 is invalid autoPtr<incompressible::RASModel> turbulence ^ createFields.H:80:9: error: ‘incompressible’ is not a class, namespace, or enumeration incompressible::RASModel::New(U, phi, laminarTransport) ^~~~~~~~~~~~~~ Any help is appreciated, Thank You. |
|
January 10, 2019, 10:52 |
|
#2 |
New Member
Yehezkiel Wiliardy
Join Date: Feb 2018
Location: Singapore
Posts: 9
Rep Power: 8 |
Hey did you manage to solve the problem? I am having similar situation while compiling this solver.
Cheers. |
|
Tags |
new solver, openfoam 1.7.0, options, wmake problems |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile calcMassFlowC | aurore | OpenFOAM Programming & Development | 13 | March 23, 2018 08:43 |
error compiling modified applications | yvyan | OpenFOAM Programming & Development | 21 | March 1, 2016 05:53 |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 10:31 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 13:34 |
How to get the max value of the whole field | waynezw0618 | OpenFOAM Running, Solving & CFD | 4 | June 17, 2008 06:07 |