CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   OpenFoam 9: Cannot use postProcess to calculate MachNo (https://www.cfd-online.com/Forums/openfoam/246302-openfoam-9-cannot-use-postprocess-calculate-machno.html)

manle0312 November 25, 2022 01:54

OpenFoam 9: Cannot use postProcess to calculate MachNo
 
Hi all.

I am following WolfDynamics course to solve flow past a cylinder, using a compressible solver: rhoPimpleFoam case 24.

The instructions are as follow: https://imgur.com/a/e65aP0i
Everything except step 8 works. Step 8 involves;

Code:

rhoPimpleFoam -postProcess -func MachNo
The error tells me to use foamRun, so I did:
Code:

foamRun -postProcess -func MachNo
and got the same error. Te error I got (for both case) is: https://imgur.com/a/YrAkz2V

So I tried:
Code:

postProcess -func "MachNo(U)"
and got error such as "functionObjects::MachNo MachNo(U) failed to execute"

Any help is appreciated to compute the Mach number.


All times are GMT -4. The time now is 18:45.