CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   Flux through a cutting plane (https://www.cfd-online.com/Forums/openfoam-post-processing/61349-flux-through-cutting-plane.html)

olesen November 3, 2008 08:39

Marco, It looks to me that
 
Marco,

It looks to me that you are re-inventing the wheel. The sampledPlane class should already provide most of what you want (I think).

olesen November 4, 2008 02:15

Marco, I pointed out the sa
 
Marco,

I pointed out the sampledPlane class, but it doesn't look like you bothered to read the documents at all. Please read the doxygen docs before posting!

The 'area', the 'average', the 'integrate', the 'project' and the 'sample' methods should cover most of what you want. If not, you'll have to program something yourself. Look at how these methods are implemented for ideas about how to do something similar yourself.


All times are GMT -4. The time now is 06:56.