CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Error message (http://www.cfd-online.com/Forums/openfoam-pre-processing/62032-error-message.html)

booz October 8, 2008 08:47

Hello, for a case i have us
 
Hello,

for a case i have used in my .c-file

Alpha.x() = max(Alpha.x(), 0);
Alpha.y() = max(Alpha.y(), 0);
Alpha.z() = max(Alpha.z(), 0);

with Alpha a volVectorField.
After i wmake it, the compiler display the error message

error: 'struct Foam::volVectorField' has no member named 'x'
error: 'struct Foam::volVectorField' has no member named 'x'
error: 'struct Foam::volVectorField' has no member named 'y'
....

How can I solve these problem?

Thanks!
Regards,
Khaled


All times are GMT -4. The time now is 00:02.