|August 14, 2013, 11:04||
Join Date: Jul 2013
Posts: 10Rep Power: 4
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 ( IOobject ( 'Fexit', runTime.timeName(), mesh, IOobject::NO_READ ), //Code to specify location of surface in flow ); //Code to sum all finite Forces to total force generated by nozzle
thanks for any help / advice
|nozzle flow, nozzle simulation, post procesing, surfacefields, volscalarfield|