|
[Sponsors] |
February 18, 2015, 23:37 |
error while doing 'wmake'
|
#1 |
New Member
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 11 |
Foamers,
I am doing a work based on twoPhaseEulerFoam. I am investigating the solver now. For running the solver I have done 'wmake' on the solver. But I found the following error while doing that. Please help. Thanks in advance. Making dependency list for source file twoPhaseEulerFoam.C SOURCE=twoPhaseEulerFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude -I/home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/transportModels/incompressible/lnInclude -IturbulenceModel -IkineticTheoryModels/lnInclude -IinterfacialModels/lnInclude -IphaseModel/lnInclude -Iaveraging -IlnInclude -I. -I/home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/twoPhaseEulerFoam.o In file included from twoPhaseEulerFoam.C:50:0: wallEvap.H:2:31: error: ‘mesh’ was not declared in this scope const fvPatchList& patches = mesh.boundary(); ^ In file included from /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/List.H:43:0, from /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/labelList.H:48, from /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/UPstream.H:43, from /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/Pstream.H:42, from /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/parRun.H:35, from /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/fvCFD.H:4, from twoPhaseEulerFoam.C:33: /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/UList.H:395:5: error: expected unqualified-id before ‘for’ for (Foam::label i=0; i<(list).size(); i++) ^ wallEvap.H:3:2: note: in expansion of macro ‘forAll’ forAll(patches, patchi) ^ wallEvap.H:3:18: error: ‘patchi’ does not name a type forAll(patches, patchi) ^ /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/UList.H:395:27: note: in definition of macro ‘forAll’ for (Foam::label i=0; i<(list).size(); i++) ^ wallEvap.H:3:18: error: ‘patchi’ does not name a type forAll(patches, patchi) ^ /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude/UList.H:395:44: note: in definition of macro ‘forAll’ for (Foam::label i=0; i<(list).size(); i++) ^ In file included from twoPhaseEulerFoam.C:50:0: wallEvap.H:67:25: error: ‘mEvap’ was not declared in this scope volScalarField mTotal = mEvap - mCondsn; ^ wallEvap.H:67:33: error: ‘mCondsn’ was not declared in this scope volScalarField mTotal = mEvap - mCondsn; ^ In file included from twoPhaseEulerFoam.C:65:0: /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/readTimeControls.H: In function ‘int main(int, char**)’: /home/p2tf13007/OpenFOAM/OpenFOAM-2.2.2/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable] scalar maxDeltaT = ^ make: *** [Make/linux64GccDPOpt/twoPhaseEulerFoam.o] Error 1 |
|
February 19, 2015, 02:22 |
|
#2 |
Senior Member
|
Hi,
Main reason for the errors is Code:
wallEvap.H:2:31: error: ‘mesh’ was not declared in this scope |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 08:48 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 01:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 04:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 21:45 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 13:28 |