|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Join Date: Dec 2020
Posts: 38
Rep Power: 5 ![]() |
Dear all,
I am using OF 2.1 in ddtFoam solver. I want to calculate Machnumber. I know there is a 'Mach' function available in OF 2.1. And in thermophysicalProperties folder thermotype is ePsiMixtureThermo<reactingMixture<gasThermoPhysics >> So when I write Mach in the command window, the solver complains as follows; Code:
--> FOAM FATAL ERROR: Unknown basicPsiThermo type ePsiMixtureThermo<reactingMixture<gasThermoPhysics>> Valid basicPsiThermo types are: 11 ( ePsiThermo<pureMixture<constTransport<specieThermo<eConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<sutherlandTransport<specieThermo<eConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> ePsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> hPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> hPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> hPsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> hsPsiThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>> hsPsiThermo<pureMixture<sutherlandTransport<specieThermo<hConstThermo<perfectGas>>>>> hsPsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> ) From function basicPsiThermo::New(const fvMesh&) in file psiThermo/basicPsiThermo/basicPsiThermoNew.C at line 60. FOAM exiting Best regards Last edited by ulugbey; October 16, 2021 at 13:40. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,728
Rep Power: 66 ![]() ![]() ![]() |
You need to set your thermo type. The one you set is not valid. A list of all 11 valid ones is printed for you. So pick one from the list. If the one you want is not there, then you might be in trouble. If you enter anything that is not on this list of 11, the solver will indeed complain like it is doing.
Just to be clear: ePsiMixtureThermo<reactingMixture<gasThermoPhysics >> is not one of the valid entries. How to calculate Mach number is still yet another hurdle. |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
Member
Join Date: Dec 2020
Posts: 38
Rep Power: 5 ![]() |
Hi,
Thanks for the reply. When I choose any of the valid basicpsiThermo which is listed, It gives an error saying that; Quote:
Thanks in advance |
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,728
Rep Power: 66 ![]() ![]() ![]() |
Well of course you need to define a mixture also... You need to define a lot of things. I sense an entire cascade of such definitions that need to be defined coming. Get your thermophysical properties set before trying to go anywhere.
You don't need to adapt anything. What you need to do, is set up a proper openfoam case. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Dec 2020
Posts: 38
Rep Power: 5 ![]() |
Hi,
I defined the correct thermotype Library"ePsiMixtureThermo" in Mach application. But when I compile the application it complains as in the attached file. Do you know why it complains like that? ![]() |
|
![]() |
![]() |
![]() |
Tags |
openfoam 2.1 |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 09:23 |
[mesh manipulation] Mesh Refinement | Luiz Eduardo Bittencourt Sampaio (Sampaio) | OpenFOAM Meshing & Mesh Conversion | 42 | January 8, 2017 12:55 |
Cluster ID's not contiguous in compute-nodes domain. ??? | Shogan | FLUENT | 1 | May 28, 2014 15:03 |
Unaligned accesses on IA64 | andre | OpenFOAM | 5 | June 23, 2008 10:37 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 04:15 |