CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Error in compiling customised dbns solver (

BSengupta December 1, 2019 23:44

Error in compiling customised dbns solver
hi! Foamers..

I am trying to make a solver and receiving the following error.

BSTurboFoam.C:127:42: error: passing ‘const surfaceVectorField {aka const Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>}’ as ‘this’ argument discards qualifiers [-fpermissive]
dbnsFlux.dotX() = mrfZones.faceU();

Can any one kindly let me know what can be done to resolve this error?
Thanks a lot...

All times are GMT -4. The time now is 12:42.