CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Forces function object

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2023, 12:47
Default Forces function object
  #1
New Member
 
Join Date: May 2021
Posts: 3
Rep Power: 5
nelsonka is on a distinguished road
Hi,
I'm trying to analyse forces related to flow through pipe (for further usage in FSI). I'm using pimpleFoam. For such purpose I'm using forces function object (https://www.openfoam.com/documentati...es-forces.html), however the only result I'm obtaining is the force integrated over entire surface, which is saved in the .dat file. Is there a way to use this function object to calculate force vector field for every mesh element on surface and write it in mesh itself during runtime (similar to vorticity or wallShearStress)?
nelsonka is offline   Reply With Quote

Old   November 13, 2023, 04:25
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hello,

Yes there is a way:

Quote:
// Store and write volume field representations of forces and moments
writeFields yes;
Cheers,
Yann
Yann is offline   Reply With Quote

Reply


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
Error in enabling the python wrapper Jinn SU2 Installation 2 April 23, 2022 14:52
Cannot run yPlus function object via controlDict brammekeuh987 OpenFOAM Running, Solving & CFD 9 October 14, 2021 10:55
[mesh manipulation] RefineMesh Error and Foam warning jiahui_93 OpenFOAM Meshing & Mesh Conversion 4 March 3, 2018 12:32
[foam-extend.org] Error compiling OpenFOAM-1.6-ext Canesin OpenFOAM Installation 137 January 20, 2016 15:56
[swak4Foam] installation problem with version 0.2.3 Claudio87 OpenFOAM Community Contributions 9 May 8, 2013 11:20


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