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

compilation error in pimpleLPTFoam solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 17, 2019, 03:04
Post compilation error in pimpleLPTFoam solver
  #1
New Member
 
-
Join Date: Jun 2019
Posts: 1
Rep Power: 0
Striker@Striker is on a distinguished road
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))
 ^~
/opt/OpenFOAM/OpenFOAM-v1812/wmake/rules/General/transform:34: recipe for target '/opt/OpenFOAM/OpenFOAM-v1812/build/linux64Gcc63DPInt32Opt/particle_tutorial/solver/pimpleLPTFoam/overPimpleDyMFoam/overPimpleDyMFoam.o' failed
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"
....
I am using OpenFOAM-v1812 version

Thanks in advance!!
Striker@Striker is offline   Reply With Quote

Reply

Tags
expected constructor


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 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


All times are GMT -4. The time now is 01:13.