|
[Sponsors] |
of4 Can't pimpleFoam -postProcess -func forcesCoeffsIncompressible |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 23, 2017, 14:36 |
of4 Can't pimpleFoam -postProcess -func forcesCoeffsIncompressible
|
#1 |
New Member
Dan
Join Date: Nov 2013
Posts: 27
Rep Power: 13 |
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 |
|
June 27, 2017, 12:26 |
|
#2 |
New Member
PLD
Join Date: Jun 2017
Location: Braunschweig, Germany
Posts: 13
Rep Power: 9 |
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.
|
|
July 16, 2017, 08:12 |
|
#3 |
New Member
Dan
Join Date: Nov 2013
Posts: 27
Rep Power: 13 |
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 |
|
July 27, 2017, 13:47 |
|
#4 |
New Member
Dan
Join Date: Nov 2013
Posts: 27
Rep Power: 13 |
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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
postProcess functionality in openFOAM 4 | bullmut | OpenFOAM Post-Processing | 23 | July 21, 2017 10:11 |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |