CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Mach number not available for contour

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 3, 2017, 16:30
Default Mach number not available for contour
  #1
New Member
 
Justin B.
Join Date: Mar 2017
Posts: 7
Rep Power: 9
jabier14 is on a distinguished road
Hello,

I am a relatively new user and I am modeling a high velocity pipe system with n2 and I am interested in plotting contours of Mach number. However, I do not see Mach number as an option under velocity contours.

I am currently modeling the system using the Redlich-Kwong real gas formulation. Is the Mach number contour only available using the ideal gas formulation?
jabier14 is offline   Reply With Quote

Old   March 4, 2017, 12:58
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You are right, the Mach number is available only for the ideal gas.

You can calculate the sound speed. See 8.2.6 User-Defined Real Gas Models in the Fluent customization manual. There's a UDF template to calculate the sound speed.

Btw, I'm not sure but I think in CFD post you might be able to get Mach number.
LuckyTran is offline   Reply With Quote

Old   June 25, 2018, 01:41
Default why dont we get mach number for real number in fluent (CFD)
  #3
New Member
 
maharaja vijayaram gajapathi raj college of engineering
Join Date: Jun 2018
Posts: 3
Rep Power: 7
Sri Divya. Musidipalli is on a distinguished road
i am computing for cd nozzle with a rotating element in it.
when my material density options were in real gas i did not get mach number. nut when i tried for ideal gas i got mach number.

so my question is why don't we get mach number for real gas and why we get it for ideal gas in fluent(CFD)
Sri Divya. Musidipalli is offline   Reply With Quote

Old   June 25, 2018, 02:24
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by Sri Divya. Musidipalli View Post
when my material density options were in real gas i did not get mach number. nut when i tried for ideal gas i got mach number.

so my question is why don't we get mach number for real gas and why we get it for ideal gas in fluent(CFD)

For an arbitrary substance the speed of sound is arbitrary. Hence for a real gas (i.e. an arbitrary substance) you have to also define the speed of sound. So Fluent doesn't give you a Mach number. You have to do some extra work to get the Mach number for a real gas. I recommend to look at custom field functions.
LuckyTran is offline   Reply With Quote

Old   June 25, 2018, 09:12
Default
  #5
New Member
 
maharaja vijayaram gajapathi raj college of engineering
Join Date: Jun 2018
Posts: 3
Rep Power: 7
Sri Divya. Musidipalli is on a distinguished road
Can I know what kind of work I have to do so that I will get Mach number for real gases
Sri Divya. Musidipalli is offline   Reply With Quote

Old   June 25, 2018, 10:38
Default
  #6
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
It depends how complicated is your equation of state for the speed of sound. But supposing that you somehow have the speed of sound, you can create a custom field function that takes the local velocity magnitude divided by the sound speed. This custom field function takes a few button clicks and probably 1 minute to do.


If your sound speed is ideal gas law like (i.e. sqrt(kRT) style) then it also can be done easily in a custom field function.
LuckyTran is offline   Reply With Quote

Old   June 26, 2018, 03:02
Default
  #7
New Member
 
maharaja vijayaram gajapathi raj college of engineering
Join Date: Jun 2018
Posts: 3
Rep Power: 7
Sri Divya. Musidipalli is on a distinguished road
ok, thank you so much. i got the mach number for my problem
Sri Divya. Musidipalli is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 12:55
foam-extend_3.1 decompose and pyfoam warning shipman OpenFOAM 3 July 24, 2014 08:14
decomposePar pointfield flying OpenFOAM Running, Solving & CFD 28 December 30, 2013 15:05
Strong oscillation at transonic mach number martingariepy FLUENT 2 May 12, 2009 11:40
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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