CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How obtain a Mach number value from a case run with Xifoam solver??

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2011, 04:00
Default How obtain a Mach number value from a case run with Xifoam solver??
  #1
Member
 
lfgmarc's Avatar
 
Luis Felipe Gutierrez Marcantoni
Join Date: Oct 2010
Location: Cordoba-Argentina
Posts: 47
Rep Power: 16
lfgmarc is on a distinguished road
Send a message via MSN to lfgmarc
Hi Foamers, I want to compute the Mach number from an case solved with XiFoam, but when I try to use the Mach utility from postProcessing velocityField library, but when I can do, the Mach utility give this error:

--> FOAM FATAL ERROR:
Unknown basicPsiThermo type hhuMixtureThermo<homogeneousMixture<sutherlandTran sport<specieThermo<janafThermo<perfectGas>>>>>

Valid basicPsiThermo types are:

11
(
ePsiThermo<pureMixture<constTransport<specieThermo <eConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<eConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>
ePsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>
hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>
hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>>
hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<janafThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<constTransport<specieTherm o<hConstThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<sutherlandTransport<specie Thermo<hConstThermo<perfectGas>>>>>
hsPsiThermo<pureMixture<sutherlandTransport<specie Thermo<janafThermo<perfectGas>>>>>
)



From function basicPsiThermo::New(const fvMesh&)
in file psiThermo/basicPsiThermo/newBasicPsiThermo.C at line 63.

FOAM exiting


I am looking for some help with this, I have tow ideas of how I can compute the Mach number:

1. I am thinking about changing the thermo type in the Mach utility, but i no have experience about programming in openFoam then I'm not very sure that I have to do?.

2. Extract the gamma value and then post computing Mach with the post-processing value of U and T, but I don't know where I have modify to extract the gamma value?

computing the Mach number from::

M=U/sqrt(gamma*R*T)


If anyone can orient me by the right way to do that, I was very thankful.

best regards

Felipe
__________________
Felipe G
lfgmarc 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
Isentropic Mach number definition Turbomachine CFX 3 August 16, 2023 06:52
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Mach number Vs Convergence trend saisanthoshm88 CFX 15 January 13, 2011 01:59
CFX 5.5 Roued CFX 1 October 2, 2001 17:49


All times are GMT -4. The time now is 15:49.