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

Output force distribution for each face on a patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 19, 2011, 12:21
Default Output force distribution for each face on a patch
  #1
meh
New Member
 
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 17
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, 10:25
Default
  #2
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17
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, 10:27
Default
  #3
meh
New Member
 
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 17
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, 10:37
Default
  #4
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 17
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, 12:07
Default
  #5
meh
New Member
 
Matt
Join Date: Mar 2009
Posts: 4
Rep Power: 17
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Fluent msh and cyclic boundary cfdengineering OpenFOAM Meshing & Mesh Conversion 49 November 29, 2024 22:16
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 14:06
gmsh2ToFoam sarajags_89 OpenFOAM 0 November 24, 2009 23:50
[mesh manipulation] Using createPatch in place of couplePatches sripplinger OpenFOAM Meshing & Mesh Conversion 8 November 13, 2009 08:14


All times are GMT -4. The time now is 14:20.