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

Control Volume analysis, change in momentum

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 18, 2014, 15:44
Default Control Volume analysis, change in momentum
  #1
New Member
 
Luke Weaver
Join Date: Apr 2013
Posts: 4
Rep Power: 4
lukeweaver is on a distinguished road
I'm attempting to calculate values of different fields and functionObjects through an arbitrary internal surface.

For example, if I had flow around a cylinder, and I wanted to calculate the change in momentum (or any field, for that matter) from an upstream slice or surface to a downstream surface, how would I go about that in OpenFOAM's post-processing?

I've looked into faceSet, sample, and createPatch, but I'm not sure I've approached it correctly.

I've used a "power calculation" in createFields by using a surfaceScalarField: (0.5*(linearInterpolate(U)&linearInterpolate(U))+l inearInterpolate(p))*(linearInterpolate(U) & mesh.Sf()) which I believe would calculate the power at every cell. I can use patchIntegrate to use this at the outlet and inlet of the domain, but patchIntegrate can't be used on internal surfaces.

Any suggestions or tips on how to implement this would be greatly appreciated. Thanks.
lukeweaver is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX13 Post Periodic interface EtaEta CFX 7 December 8, 2011 18:15
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
Derivation of Momentum Equation in Integral Form Demonwolf Main CFD Forum 2 October 29, 2009 20:53
help needed about phase change Yanhu Guo Main CFD Forum 4 January 24, 2001 00:16
Control Volume FEM Charles Main CFD Forum 0 February 26, 1999 05:19


All times are GMT -4. The time now is 11:49.