CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Integration of Scalar field along one axis (

Rukahr July 6, 2009 12:02

Integration of Scalar field along one axis
Hi all,

i need to compute a simple integration of a volumeScalar field along
one coordinate direction from z(0) to z(1) during runtime. The grid is
structured in this direction.

Can anyone point me out where i can find ideas for a simple way to
do this or has anyone done this already?

Thanks in advance

henrik July 8, 2009 07:21

Dear Rukahr,

Use the sample utility to interpolate f onto a sampling line. Then integrate this graph.


All times are GMT -4. The time now is 08:35.