|
[Sponsors] |
How to access forces computed by "forces" functionObject within Solver |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 6, 2024, 18:44 |
How to access forces computed by "forces" functionObject within Solver
|
#1 |
New Member
Pedro Almeida
Join Date: Jul 2022
Posts: 1
Rep Power: 0 |
Hello,
I want to access the forces calculated by the "forces" function object within my solver. I can access the specific function object with: Code:
label forcesId = runTime.functionObjects().findObjectID("forces") Code:
List<Field<vector>> myForces = runTime.functionObjects()[forcesId].<something here> Thank you for the help in advance, Pedro |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
functionObject solver, storing fields in dataBase | theBananaTrick | OpenFOAM Programming & Development | 2 | February 26, 2022 09:59 |
forces and forceCoeffs script is not working properly with RBF solver | guptaram | OpenFOAM Running, Solving & CFD | 0 | December 12, 2020 03:10 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 2, 2003 00:32 |
CFX 5.5 | Roued | CFX | 1 | October 2, 2001 17:49 |