|
[Sponsors] |
November 6, 2024, 07:17 |
Offline forces port processing
|
#1 |
New Member
Join Date: Oct 2024
Posts: 6
Rep Power: 2 |
Good morning,
I'm trying to run some offline function objects using the command foamPostProcess after the simulation is completed. I've written the functions looking a the documents into etc/postProcessing. I managed to add a probe to get the pressure, but I'm struggling to get forces. My question is: is it possible to get forces offline? If yes can you help me? This is my function and the consequent error: forces_splitter { type forces; libs ("libforces.so"); writeControl timeStep; writeInterval 1; patches (splitter); rhoInf 1.225; CofR (0 0 0)>; pitchAxis (1 0 0); rho rhoInf; } --> FOAM FATAL ERROR: Could not find U, p From function void Foam::functionObjects::forcesBase::initialise() in file forcesBase/forcesBase.C at line 186. FOAM exiting |
|
November 7, 2024, 04:26 |
|
#2 |
Senior Member
Jan
Join Date: Jul 2009
Location: Hamburg
Posts: 143
Rep Power: 20 |
from the documentation (https://doc.cfd.direct/openfoam/user...processing-cli):
***************************************** This returns the following error message. --> FOAM FATAL IO ERROR: request for volVectorField U from objectRegistry region0 failed The error message is telling the user that the velocity field U is not loaded. For the function to work, both the field needs to be loaded using the -field option as follows. Code:
foamPostProcess -fields "(p U)" -func wallShearStress --> FOAM FATAL ERROR: Unable to find turbulence model in the database The message is telling us that the foamPostProcessutility has not constructed the necessary models, i.e. a turbulence model, that the incompressibleFluid solver module used when running the simulation. This is a situation where we need to post-process (as opposed to run-time process) using the -solver option modelling will be available that the post-processing function needs. Code:
foamPostProcess -solver incompressibleFluid -func wallShearStress ************************************* |
|
November 7, 2024, 09:34 |
|
#3 | |
New Member
Join Date: Oct 2024
Posts: 6
Rep Power: 2 |
Quote:
|
||
Tags |
post procesing |
|
|
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 |
Convergence problem of OF | WUYing | OpenFOAM Running, Solving & CFD | 2 | September 20, 2021 11:09 |
Turbine's forces and moments for post processing | mxylondon | OpenFOAM Post-Processing | 1 | April 3, 2019 08:30 |
Residuals and forces spiraling out of control before failing | edomalley1 | OpenFOAM Running, Solving & CFD | 3 | September 7, 2018 11:42 |
[OpenFOAM] Paraview 3.98 - errors when saving geometry file | pajot | ParaView | 1 | September 28, 2013 11:45 |