CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Error in compiling customised dbns solver (https://www.cfd-online.com/Forums/openfoam/222610-error-compiling-customised-dbns-solver.html)

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.