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

Output force distribution for each face on a patch

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 19, 2011, 11:21
Default Output force distribution for each face on a patch
  #1
meh
New Member
 
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 8
meh is on a distinguished road
Hello.

I'm really sorry if this question has already been asked, I couldn't locate the solution in the forums.

I can output the integrated pressure and viscous forces on a patch using libforces.so. I've also managed to output pressures and stresses per face using the sample function.

What I need is the forces per face on a patch, together with the coordinates and area of each face. I'll be using this to input to a fluid structure interaction model.

Can anyone advise how to output the distribution of forces on a patch, rather than just the integrated value?

Thanks very much for your time

Matt
meh is offline   Reply With Quote

Old   October 20, 2011, 09:25
Default
  #2
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 8
boger is on a distinguished road
I'm not sure I understand. If you're able to output the pressure and viscous stress per face, then don't you just need to multiply by the face area?
__________________
David A. Boger
boger is offline   Reply With Quote

Old   October 20, 2011, 09:27
Default
  #3
meh
New Member
 
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 8
meh is on a distinguished road
Hi David

Thanks very much for your reply. Using sample i've only managed to output a vtk file, which doesn't have face areas in it. Can I output face area using sample?

Thanks very much

Matt
meh is offline   Reply With Quote

Old   October 20, 2011, 09:37
Default
  #4
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 8
boger is on a distinguished road
Ah - now I understand, but I don't know the answer. I assumed you were modifying a utility like patchIntegrate or wallShearStress, in which case you should be able to modify the utility slightly to write out what you need. Someone else probably has a more elegant solution.
__________________
David A. Boger
boger is offline   Reply With Quote

Old   October 20, 2011, 11:07
Default
  #5
meh
New Member
 
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 8
meh is on a distinguished road
I'll have a look at these utilities, thanks. If there any other ideas out there I'd be glad to hear them.
meh is offline   Reply With Quote

Reply

Tags
distribution, force, openfoam, patch

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
Fluent msh and cyclic boundary cfdengineering OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 48 January 25, 2013 04:28
Using starToFoam clo OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 33 September 26, 2012 04:04
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 23:50
Using createPatch in place of couplePatches sripplinger OpenFOAM Mesh Utilities 8 November 13, 2009 08:14


All times are GMT -4. The time now is 05:50.