|
[Sponsors] |
problems when using sonicFoam with subsonic inlet BC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 13, 2015, 06:50 |
problems when using sonicFoam with subsonic inlet BC
|
#1 |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
Hi
I am using sonicFoam with a subsonic inletBC, since the top inlet in the y direction is subsonic. pressure top { type totalPressure; p0 uniform 6e5; phi phi; rho none; psi psi; gamma 1.4; } temperature type totalTemperature; T0 uniform 300; gamma 1.4; velocity top { type zeroGradient; } But when running , some errors happen like this: --------------------------------------------------------------------------------------------- --> FOAM FATAL ERROR: request for volScalarField psi from objectRegistry region0 failed available objects of type volScalarField are 17 ( thermo:mu thermosi K K_0 rho k (1|A(U)) thermosi_0 e_0 alphat rho_0 p T e mut epsilon thermo:alpha ) From function objectRegistry::lookupObject<Type>(const word&) const in file /home/openfoam/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 198. ------------------------------------------------------------------------------------------------------- Is there anyone facing the same problems? |
|
June 20, 2015, 21:56 |
|
#2 |
New Member
Matei Petrescu
Join Date: Jun 2013
Location: Montreal, Canada
Posts: 5
Rep Power: 13 |
Hi Xinguang,
I faced the same problem but in an opposite manner. Depending on the OF version keyword's values are changing. So from OF 2.1.x to OF 2.2.x for the keyword psi the value changed from psi to thermosi (my guess). The error message the you got is very similar to mine. From the choices given I recognize thermosi which I use without trouble for sonicFoam in OF 2.2.x but when I have tried it in OF 2.1.x on my old laptop it bugged and got a similar error message to yours -> --> FOAM FATAL ERROR: request for volScalarField thermosi from objectRegistry region0 failed available objects of type volScalarField are 12 ( psi rho psi_0 (1|A(U)) (rho*(1|A(U))) e_0 alpha rho_0 p T e mu ) From function objectRegistry::lookupObject<Type>(const word&) const in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 131. Let me know if this fixes your problem. Best, Matei. |
|
June 22, 2015, 05:55 |
|
#3 |
Member
Xinguang Wang
Join Date: Feb 2015
Posts: 45
Rep Power: 11 |
Hi Matei
I have not found how to solve this situation. Instead, I use the static pressure and temperature, and my results seem good now. Best, Xinguang |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
inlet boundary conditions for subsonic flow | paulzhang | Main CFD Forum | 1 | June 27, 2021 00:47 |
Laval Nozzle sonicFoam inlet and outlet bc | BernhardGrieser | OpenFOAM Running, Solving & CFD | 10 | February 16, 2017 08:45 |
Difficult inlet position causing problems... | Roblad | Phoenics | 1 | February 9, 2012 15:45 |
Problems modeling subsonic engine air inlet with flow separation | TWaung | CFX | 2 | March 29, 2009 19:42 |
How to set subsonic inlet with fixed Mach number | QU KUN | Main CFD Forum | 0 | September 6, 2003 10:47 |