CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

ForcePlaneWithinFlow

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 14, 2013, 11:04
Question ForcePlaneWithinFlow
  #1
New Member
 
Jason Pearl
Join Date: Jul 2013
Location: Burlington
Posts: 10
Rep Power: 3
jaason is on a distinguished road
Hi all,
I have created a volScalarField of force per unit depth for each finite volume
Fx=(rho*Ux^2+(p-pa))dy

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:
Code:
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
does it have to be a geometricField to have locations attached to the field values?

thanks for any help / advice
jaason is offline   Reply With Quote

Reply

Tags
nozzle flow, nozzle simulation, post procesing, surfacefields, volscalarfield

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:27.