CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Error in recompiling the solver (http://www.cfd-online.com/Forums/openfoam-solving/79612-error-recompiling-solver.html)

m.maneshi August 28, 2010 14:14

Error in recompiling the solver
 
Hello everyone ,
i did a few changes in the solver mdfoam.c and when i try to recompile it i encounter this error which i dont know what it is

HTML Code:

mehdi@mehdi-laptop:~/OpenFOAM/OpenFOAM-1.6/applications/solvers/discreteMethods/molecularDynamics/mdFoam$ wclean libso
wclean ./
mehdi@mehdi-laptop:~/OpenFOAM/OpenFOAM-1.6/applications/solvers/discreteMethods/molecularDynamics/mdFoam$ wmake
Making dependency list for source file mdFoam.C
SOURCE=mdFoam.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-40 -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/potential/lnInclude -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecularMeasurements/lnInclude -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/finiteVolume/lnInclude -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/basic/lnInclude -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/meshTools/lnInclude -IlnInclude -I. -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/mdFoam.o
In file included from mdFoam.C:50:
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H: In function ‘int main(int, char**)’:
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:5: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:11: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:17: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:23: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:37: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:43: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:52: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:92: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:98: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:107: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:147: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:153: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:162: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:221: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:227: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:236: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:277: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:283: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/createMDFields.H:292: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
In file included from mdFoam.C:67:
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/calculateMDFields.H:13: error: ‘class Foam::molecule’ has no member named ‘U’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/calculateMDFields.H:17: error: ‘class Foam::molecule’ has no member named ‘mass’
In file included from mdFoam.C:69:
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/resetMDFields.H:5: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/resetMDFields.H:11: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/resetMDFields.H:17: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
/home/mehdi/OpenFOAM/OpenFOAM-1.6/src/lagrangian/molecularDynamics/molecule/lnInclude/resetMDFields.H:23: error: ‘class Foam::moleculeCloud’ has no member named ‘potential’
make: *** [Make/linuxGccDPOpt/mdFoam.o] Error 1

Can anyone help me with it ?


All times are GMT -4. The time now is 18:50.