|
[Sponsors] |
February 23, 2017, 12:13 |
How to plot Mach contour in OF 4.0
|
#1 |
Senior Member
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 102
Rep Power: 9 |
Hello all,
I wanna to plot Mach contour in OF 4.0, using postProcess. I know the syntax is like postProcess -func "MachNo(U)", and then input this line in the terminal. However, the same error always occur, and I have no ideas what to do, please help me: Time = 8000 Reading fields: volVectorFields: U Executing functionObjects --> FOAM Warning : functionObject MachNo: Cannot find required field U End Thanks in advance. Best, Peter |
|
February 26, 2017, 18:44 |
|
#2 |
Senior Member
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 102
Rep Power: 9 |
Hello all,
I am here to solve my own question again. First of all, for OpenFOAM 4.1 the warning message of MachNo is misleading. And this has been reported and revised by someone, please have a look at links below: https://bugs.openfoam.org/view.php?id=2352 https://github.com/OpenFOAM/OpenFOAM...a50f0a044ffd79 Next, for incompressible cases, plotting Mach Number contour is impossible, since OpenFOAM misses many thermodynamic parameters. As such, magnitude of velocity's contour is okay, considering the speed of sound is infinite when the medium is incompressible. I hope this post will help someone later. Best, Peter |
|
April 20, 2018, 11:55 |
|
#3 | |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Quote:
Thank you.This helped for OF5.0 case of mine. This was giving me error: Code:
postProcess -func MachNo Code:
Reading fields: volVectorFields: U Executing functionObjects --> FOAM Warning : functionObjects::MachNo MachNo cannot find required object thermophysicalProperties of type fluidThermo --> FOAM Warning : functionObjects::MachNo MachNo failed to execute. Code:
sonicFoam -postProcess -func MachNo P.S. Although I have no idea how this error, as also mentioned in the development note here helps one to identify the source of error. Or maybe am missing to read something? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
generating 2d-planar contour plots from a contour plot on a curved surface | alinik | CFX | 3 | May 21, 2016 06:17 |
How to plot velocity and Mach contour on a blade surface in spanwise direction? | Saima | Tecplot | 1 | April 22, 2014 10:59 |
contour plot help | jesse@uconn | FLUENT | 0 | February 15, 2010 19:05 |
to plot Mach contour using GNUPLOT | killtimm | Main CFD Forum | 2 | December 28, 2009 11:15 |
non-dimensional analysis in Fluent | Endee | FLUENT | 8 | September 7, 2005 16:16 |