|
[Sponsors] |
June 30, 2022, 08:10 |
Trying to obtaining the surface forces
|
#1 |
New Member
Join Date: Jun 2017
Posts: 12
Rep Power: 9 |
Hi,
I'm trying to obtain the output of forces (normal and tangential) for the whole surface of the object around which the flow occurs. I added this to functions in controlDict: Code:
forces { type forces; libs ("libforces.so"); patches ( wall_001 ); CofR (0 0 0); rho rhoInf; log true; rhoInf 1; } Code:
File "...\CfdConsoleProcess.py", line 98, in readStdout new_text = self.stdoutHook(text) File "...\Solve\TaskPanelCfdSolverControl.py", line 290, in gotOutputLines self.solver_runner.process_output(lines) File "...\Solve\CfdRunnableFoam.py", line 263, in process_output f = self.forces[self.in_forces_section] KeyError: 'forces' |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The CoP Does not exist: Validating Aerodynamic forces through a "line of action" | ds4719 | Main CFD Forum | 14 | February 18, 2022 19:05 |
OpenFOAM error | Vinay Kumar V | Main CFD Forum | 0 | February 20, 2020 10:17 |
separate positive and negative forces on surface | xava | Main CFD Forum | 3 | December 5, 2017 12:32 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
[waves2Foam] waveNGauges for extract surface elevation affected forces? | hchen | OpenFOAM Community Contributions | 6 | June 18, 2015 03:48 |