Summation of all field values
hi,
I want to create a dimensionedScalar by the summation of all values of a geometricScalarField. How can I sum up all the field values most efficiently? Edit: I guess a forAllIter (...) do the job, but perhaps there is a less time consuming method? greetings streight |
Ok,
I guess I found a solution here: http://www.cfd-online.com/Forums/ope...alarfield.html I will try this later :) |
All times are GMT -4. The time now is 18:40. |