|
[Sponsors] | |||||
of4 Can't pimpleFoam -postProcess -func forcesCoeffsIncompressible |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Dan
Join Date: Nov 2013
Posts: 28
Rep Power: 14 ![]() |
Hi all,
I am writing because I have tried everything and the moment to ask for help has arrived. I am trying to obtain Cd and Cl drag and lift coefficients of an already run simulation using the wonderful capability of postProcessing. when I use the following: Code:
pimpleFoam -postProcess -func forceCoeffsIncompressible Code:
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time
Create mesh for time = 0
PIMPLE: Operating solver in PISO mode
forces forceCoeffsIncompressible:
--> FOAM Warning :
From function Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 794
Cannot find any patch or group names matching patch1
--> FOAM Warning :
From function Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 794
Cannot find any patch or group names matching patch2
Not including porosity effects
forceCoeffs forceCoeffsIncompressible:
--> FOAM Warning :
From function Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 794
Cannot find any patch or group names matching patch1
--> FOAM Warning :
From function Foam::labelHashSet Foam::polyBoundaryMesh::patchSet(const Foam::UList<Foam::wordRe>&, bool, bool) const
in file meshes/polyMesh/polyBoundaryMesh/polyBoundaryMesh.C at line 794
Cannot find any patch or group names matching patch2
Not including porosity effects
Time = 0
Reading field p
Reading field U
Reading/calculating face flux field phi
Selecting incompressible transport model Newtonian
Selecting turbulence model type laminar
No MRF models present
I have tried to run it with the function included in the controlDict and it worked fine but the problem is that the simulation took weeks to get here so I can't rerun it again. Please if any can take a look to the case I attach in the message the case folder. It only needs to: Code:
bash ./AllMesh pimpleFoam Thanks a lot in advance |
|
|
|
|
|
|
|
|
#2 |
|
New Member
PLD
Join Date: Jun 2017
Location: Braunschweig, Germany
Posts: 13
Rep Power: 10 ![]() |
I am having the same problem. I am trying to find out the force coefficients for flow around a cylinder using OpenFoam 4.1, and the post-processing is not working somehow.
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
Dan
Join Date: Nov 2013
Posts: 28
Rep Power: 14 ![]() |
I can't believe it is so weird that nobody is encountering the same problem. I am trying now to postProcess some probes and I am having similar problems. It is like it never reaches to read dictionaries specifying details of the call.
It looks to me that this -postProcess CLI approach is useful when everything can be specified on the command line, like patchAverage, where there is only a need for specifying U and the patch name. Otherwise, when it needs to read a dictionary, it fails... well... at least I can't do it. ![]() Regards |
|
|
|
|
|
|
|
|
#4 |
|
New Member
Dan
Join Date: Nov 2013
Posts: 28
Rep Power: 14 ![]() |
Hello parthiv1991 and whoever stucks in the same stone,
He it goes: This post explains some of the needed info: bullmut threat Also the user guide: usedGuide But! Important: Go to $FOAM_ETC, then to etc/caseDicts/postProcessing/forces Later copy whatever file with the title of the function you need (the non *.cfg file) to your system directory. Do no add NOTHING to the controlDict 'functions' library. And later execute the CLI command: Code:
pimpleFoam -postProcess -func 'forceCoeffsIncompressible' -latestTime Thanks to the people in the other thread! |
|
|
|
|
|
![]() |
| Tags |
| forces and force coeff., function, postprocess |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| postProcess functionality in openFOAM 4 | bullmut | OpenFOAM Post-Processing | 24 | March 13, 2025 01:52 |
| postProcess Utility: icoFoam -noFunctionObjects Why?How? | TeresaT | OpenFOAM Post-Processing | 8 | July 26, 2023 03:41 |
| postProcess -func sampleDict does not create output folder | tmr2044 | OpenFOAM Post-Processing | 7 | April 27, 2021 15:33 |
| simpleFoam -postProcess -func R | kaaja | OpenFOAM Post-Processing | 4 | March 29, 2018 18:48 |
| pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |