CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Declaration error : Merging of Solvers (https://www.cfd-online.com/Forums/openfoam/69170-declaration-error-merging-solvers.html)

pramodopen4foam October 14, 2009 05:01

Declaration error : Merging of Solvers
 
3 Attachment(s)
Hi friends,

Can any one help me with declaration of errors which states

In file included from comsol.C:40:
UEqn.H: In function ‘int main(int, char**)’:
UEqn.H:29: error: ‘dragCoef’ was not declared in this scope
UEqn.H:31: error: ‘liftCoeff’ was not declared in this scope

make: *** [Make/linux64GccDPOpt/comsol.o] Fehler 1

I have attached "comsol.C", "UEqn.H" and also "liftDragCoeffs.H" in which dragCoef and liftCoeff are declared,

Can anyone help me with these errors,

Thanks in advance


All times are GMT -4. The time now is 09:57.