|
[Sponsors] |
June 17, 2019, 03:04 |
compilation error in pimpleLPTFoam solver
|
#1 |
New Member
-
Join Date: Jun 2019
Posts: 1
Rep Power: 0 |
Hi everybody,
I'm trying to compile a new solver, but during the compilation I have this error(i.e., when I run the command 'wmake all' in the Foam Solver's drectory): HTML Code:
In file included from overPimpleDyMFoam.C:52:0: /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/db/functionObjects/functionObjectList/postProcess.H:65:1: error: expected constructor, destructor, or type conversion before (’ token ( ^ /opt/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/db/functionObjects/functionObjectList/postProcess.H:70:1: error: expected unqualified-id before ‘if’ if (argList::postProcess(argc, argv)) ^~ make[1]: *** [/opt/OpenFOAM/OpenFOAM-v1812/build/linux64Gcc63DPInt32Opt/particle_tutorial/solver/pimpleLPTFoam/overPimpleDyMFoam/overPimpleDyMFoam.o] Error 1 I am not sure what went wrong The postProcess.H file is this: Code:
Foam::argList::addBoolOption // line 65 ( argList::postProcessOptionName, "Execute functionObjects only" ); if (argList::postProcess(argc, argv)) // line 70 { Foam::timeSelector::addOptions(); #include "addRegionOption.H" #include "addFunctionObjectOptions.H" // Set functionObject post-processing mode functionObject::postProcess = true; #include "setRootCase.H" .... Thanks in advance!! |
|
Tags |
expected constructor |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error during compilation of new solver | harsha_kulkarni | OpenFOAM Programming & Development | 2 | November 7, 2019 00:47 |
Radiation Modeling Using Discrete Ordinates Method and Parallel Solver | malicemethods | FLUENT | 3 | May 25, 2018 14:25 |
Star cd es-ice solver error | ernarasimman | STAR-CD | 2 | September 12, 2014 00:01 |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |