CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Post-Processing (
-   -   ForcePlaneWithinFlow (

jaason August 14, 2013 11:04

Hi all,
I have created a volScalarField of force per unit depth for each finite volume

where rho U and p are properties of the volume and pa is the ambient pressure. I am calculating the force for a supersonic nozzle.

How can I obtain a surfaceScalarField for a particular location within a volScalarField?
(I basically want to take a slice of the volScalarField that i create and analyze that data)

I was thinking something along the lines:

surfaceScalarField Fexit
//Code to specify location of surface in flow
//Code to sum all finite Forces to total force generated by nozzle

does it have to be a geometricField to have locations attached to the field values?

thanks for any help / advice

All times are GMT -4. The time now is 03:00.