CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

How to plot Mach contour in OF 4.0

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 23, 2017, 13:13
Default How to plot Mach contour in OF 4.0
  #1
Member
 
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 68
Rep Power: 2
PeterShi is on a distinguished road
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
PeterShi is offline   Reply With Quote

Old   February 26, 2017, 19:44
Default
  #2
Member
 
Peter Shi
Join Date: Feb 2017
Location: Davis
Posts: 68
Rep Power: 2
PeterShi is on a distinguished road
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
PeterShi is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 20:05
to plot Mach contour using GNUPLOT killtimm Main CFD Forum 2 December 28, 2009 12:15
non-dimensional analysis in Fluent Endee FLUENT 8 September 7, 2005 16:16


All times are GMT -4. The time now is 08:48.