16 Aug 2012 01:10
Integrate a scalar over a volume
Jean Hertzberg <Hertzberg <at> Colorado.EDU>
2012-08-15 23:10:17 GMT
2012-08-15 23:10:17 GMT
I am trying to integrate a scalar over a 3D volume. I was surprised to find that the Integrate Variables filter does not do this; when integrating a scalar variable of 1 over a cube of size 1 X 1 X 1, Integrate Variables returns the value of 6. The documentation says it will integrate over lines and surfaces only. Suggestions please.
Additional context: I am working with velocity field data, read in via the Ensight format. I have calculated vorticity, and vorticity magnitude, and I want the integral of the vorticity magnitude in a volume defined by an extracted subset.
Thanks
-Jean
<div><div class="WordSection1"> <p class="MsoNormal">I am trying to integrate a scalar over a 3D volume. I was surprised to find that the Integrate Variables filter does not do this; when integrating a scalar variable of 1 over a cube of size 1 X 1 X 1, Integrate Variables returns the value of 6. The documentation says it will integrate over lines and surfaces only. Suggestions please.<p></p></p> <p class="MsoNormal"><p> </p></p> <p class="MsoNormal">Additional context: I am working with velocity field data, read in via the Ensight format. I have calculated vorticity, and vorticity magnitude, and I want the integral of the vorticity magnitude in a volume defined by an extracted subset.<p></p></p> <p class="MsoNormal">Thanks<p></p></p> <p class="MsoNormal">-Jean <p></p></p> <p class="MsoNormal"><p> </p></p> </div></div>
RSS Feed