|
|
Here is a little self-contained example on how to integrate quantities in post-processing. Note that GetDP can only integrate quantities on their domain of definition (specified in the function space). To integrate on arbitrary regions you can use, e.g., `Plugin(Integrate)` in [http://gmsh.info](Gmsh).
|
|
|
Here is a little self-contained example on how to integrate quantities in post-processing. Note that GetDP can only integrate quantities on their domain of definition (specified in the function space). To integrate on arbitrary regions you can use, e.g., `Plugin(Integrate)` in [Gmsh](http://gmsh.info).
|
|
|
|
|
|
`post_integral.pro`
|
|
|
|
... | ... | @@ -118,4 +118,4 @@ Physical Surface(1) = 9; |
|
|
Physical Surface(2) = 11;
|
|
|
Physical Line(10) = 6; // left
|
|
|
Physical Line(11) = 3; // right
|
|
|
``` |
|
|
``` |
|
|
\ No newline at end of file |