compile solver problem

Submitted by maz on Sun, 01/23/2011 - 00:24

#####################################
# compile solver
#####################################

#- change the path and type:
cd ../cfdemSolverPisoExplicit/

#- to compile the solver type:
rmdepall
wclean
wmake

When i do the above , there is an error as follows, can anybody help?

SOURCE=cfdemSolverPisoExplicit.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/transportModels -I/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/transportModels/incompressible/singlePhaseTransportModel -I/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -I/home/sajjad/OpenFOAM/sajjad-1.6.x/src/lagrangian/cfdemParticle/lnInclude -IlnInclude -I. -I/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/cfdemSolverPisoExplicit.o
cfdemSolverPisoExplicit.C:45:24: error: cfdemCloud.H: No such file or directory
cfdemSolverPisoExplicit.C:46:28: error: explicitCouple.H: No such file or directory
cfdemSolverPisoExplicit.C: In function ‘int main(int, char**)’:
cfdemSolverPisoExplicit.C:60: error: ‘cfdemCloud’ was not declared in this scope
cfdemSolverPisoExplicit.C:60: error: expected ‘;’ before ‘particleCloud’
cfdemSolverPisoExplicit.C:75: error: ‘particleCloud’ was not declared in this scope
/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/readPISOControls.H:11: warning: unused variable ‘transonic’
/home/sajjad/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude/readPISOControls.H:14: warning: unused variable ‘nOuterCorr’
make: *** [Make/linuxGccDPOpt/cfdemSolverPisoExplicit.o] Error 1

Maz

cgoniva's picture

cgoniva | Sun, 01/23/2011 - 13:44

Hi Maz!

The first error tells you:
cfdemSolverPisoExplicit.C:45:24: error: cfdemCloud.H: No such file or directory

this means that the compiler is looking for a file (from the coupling src) and cannot find it.

Make sure that all the files you downloaded are at the right location. - otherwise the compiler cannot find them.

Cheers,
Chris

run_cfd | Sat, 12/03/2011 - 14:28

Hi Chris,

Thanks for your quick reply. I gave another trial. i compiled liggghts with 'Makefile.fedora_pic' then everything went smoothly. Finally cfdem solver compiled. Thanks for your support.
Then, I ran test case 'settllingTest' and 'HopperCase' with mpirun and converted the result to vtk by foamToVTK and pizza. I viewd teh result with paraview-3.10. but I was not able to see any particle. I am new to using these softwares. I would be grateful if you can suggest something on postprocessing the result.

Thanks and best regards,

Manoj

cgoniva's picture

cgoniva | Mon, 12/05/2011 - 10:45

Hi!

in case you use the allrun.sh script - you need to know that as after closing the "evince" plot the script will delete the data.
Have a look at the script and run the simulation step by step.

Cheers,
Chris