|
[Sponsors] |
January 31, 2022, 08:22 |
Obtaining forces/moments during runtime
|
#1 |
New Member
Adrian del Ser
Join Date: Oct 2021
Posts: 15
Rep Power: 4 |
Hi,
Is there a way to obtain forces and moments on an object in a simulation directly in the solver (eg myCustomSolver.C). I know I can generate them using ForceCoeffs and output them in a .dat file or a log file, but I would like to obtain the most recent moment/force as a variable in myCustomSolver.C during runtime directly (instead of trying to read it from the log/dat files, which might be slower. Is this possible? Thanks. |
|
Tags |
forcecoeffs, moment coefficient, processing |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Duplicate entry alphaContactAngle in runtime selection table fvPatchField | Roesch | OpenFOAM Programming & Development | 2 | January 12, 2021 03:35 |
Probes/Sensors in runtime | gabitinho | OpenFOAM Post-Processing | 9 | August 14, 2015 12:55 |
wallGradU at runtime | kkpal | OpenFOAM Post-Processing | 6 | June 12, 2015 19:56 |
Problem in3D model processing | mebinitap | OpenFOAM | 2 | December 12, 2014 04:40 |
runTime out of scope in functionObject | Sune | OpenFOAM Programming & Development | 2 | September 26, 2012 02:11 |