hello:
i have find a solver
hello:
i have find a solver for turbomechine(http://www.cfd-online.com/OpenFOAM_D...ges/1/770.html) when i complie this solver the error ouccers,error messages is here: wayne:~/OpenFOAM/root-1.4.1/run/tutorials/impellerFoam # wmake SOURCE=impellerFoam.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wex tra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -f template-depth-40 -I/root/OpenFOAM/OpenFOAM-1.4.1/src/finiteVolume/lnInclude -I/ root/OpenFOAM/OpenFOAM-1.4.1/src/turbulenceModels -I/root/OpenFOAM/OpenFOAM-1.4. 1/src/transportModels -IlnInclude -I. -I/root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFO AM/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/impellerFoam.o impellerFoam.C: In function 鈥æ¦*nt main(int, char**)鈥? impellerFoam.C:70: error: expected `)' before 鈥榙imensionSet鈥?impellerFoam.C:72: error: no matching function for call to 鈥楩oam::dimensioned<fo> >::dimensioned(const char [6])鈥?/root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/dimensionedType.C:9 5: note: candidates are: Foam::dimensioned<type>::dimensioned(const Foam::word&, const F oam::dimensionSet&, Foam::Istream&) [with Type = Foam::Vector<double>] /root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/dimensionedType.C:81: note: Foam::dimensioned<type>::dimensioned(const Foam::word&, Foam::I stream&) [with Type = Foam::Vector<double>] /root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/dimensionedType.C:68: note: Foam::dimensioned<type>::dimensioned(Foam::Istream &) [with Type = Foam::Vector<double>] /root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/dimensionedType.H:94: note: Foam::dimensioned<type>::dimensioned(const Type&) [with Type = Foam::Vector<double>] /root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/dimensionedType.C:56: note: Foam::dimensioned<type>::dimensioned(const Foam::word&, const F oam::dimensioned<type>&) [with Type = Foam::Vector<double>] /root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/dimensionedType.C:43: note: Foam::dimensioned<type>::dimensioned(const Foam::word&, const F oam::dimensionSet&, Type) [with Type = Foam::Vector<double>] /root/OpenFOAM/OpenFOAM-1.4.1/src/OpenFOAM/lnInclude/dimensionedType.H:66: note: Foam::dimensioned<foam::vector<double> >::dimensioned(const Foa m::dimensioned<foam::vector<double> >&) impellerFoam.C:73: error: 鈥榗lass Foam::fvMesh鈥?has no member named 鈥榗鈥?make: *** [Make/linux64GccDPOpt/impellerFoam.o] Error 1 can anyone help me to resolve the problem |
All times are GMT -4. The time now is 11:08. |