|
[Sponsors] |
April 1, 2014, 09:14 |
Summation of all field values
|
#1 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
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 |
|
April 1, 2014, 09:20 |
|
#2 |
Senior Member
Join Date: Jan 2012
Posts: 166
Rep Power: 14 |
Ok,
I guess I found a solution here: http://www.cfd-online.com/Forums/ope...alarfield.html I will try this later |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to define a field on a patch | Aleksey_R | OpenFOAM Programming & Development | 1 | July 9, 2012 12:23 |
Access Field values at certain time | andrea | OpenFOAM Running, Solving & CFD | 0 | August 31, 2009 07:24 |
strange node values @ solid/fluid interface - help | JB | FLUENT | 2 | November 1, 2008 13:04 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |