|
[Sponsors] |
February 28, 2010, 19:39 |
Reading forces within solver code
|
#1 |
Member
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16 |
Hello FOAMers,
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 Code:
fm.first().first() (pressure force) or fm.first().second() (viscous force) Code:
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... /Stefan |
|
Tags |
forces, solver |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forces in OF15 | richard | OpenFOAM Running, Solving & CFD | 180 | July 9, 2018 11:54 |
modify the source code of simpleSRFFoam solver | Pirlo | OpenFOAM Programming & Development | 0 | October 19, 2009 09:49 |
problem when converting mesh (made by ICEM) using fluentMeshToFoam | Forrest_Lei | OpenFOAM | 11 | October 16, 2009 07: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 01:18 |