https://linen.dev logo
You can not assign something to a variable that is...
# programming
m
You can not assign something to a variable that is declared as const. You would need to delete the "const" from const scalar tmp = 0; And about the volScalarField comparison, I'm not shure. Maby try to do it in a loop?