|February 28, 2010, 19:39||
Reading forces within solver code
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 72Rep Power: 7
what would be the best way of reading forces within solver code? I'm calculating some cases with OF 1.6 via simpleFoam.
I noticed the function objects where pressure and viscous forces/moments are integrated over given patches. In forces.C
fm.first().first() (pressure force) or fm.first().second() (viscous force)
fm.second().first() (moment of pressure force) or fm.second().second() (moment viscous force)
I'm not familiar with the code conventions of OF! Any advice is much appreciated...
|Thread||Thread Starter||Forum||Replies||Last Post|
|Forces in OF15||richard||OpenFOAM Running, Solving & CFD||166||September 17, 2011 03:24|
|modify the source code of simpleSRFFoam solver||Pirlo||OpenFOAM Programming & Development||0||October 19, 2009 08:49|
|problem when converting mesh (made by ICEM) using fluentMeshToFoam||Forrest_Lei||OpenFOAM||11||October 16, 2009 06:28|
|Solver error with return code 137 (CFX10 in Linux)||JamesH||CFX||0||January 25, 2006 06:54|
|Open source CFD code development, possible?||Dr. Yazid Bindar||Main CFD Forum||27||July 18, 2000 00:18|