|
[Sponsors] |
Modification of Thermophysical model in foam-ext |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 25, 2018, 01:51 |
Modification of Thermophysical model in foam-ext
|
#1 |
Member
Ramana
Join Date: Jul 2017
Location: India
Posts: 58
Rep Power: 9 |
Hello everyone,
I'm trying to simulate a Gas Turbine Stage using foam-ext using sonicDyMFoam solver. There is no tutorial for this in foam-ext, so I setup case myself by taking help of other tutorial. The setup is fine but problem is with 'thermophysicalPropertis'. Available model is ' ePsiThermo ' but I want to use ' hPsiThermo ' as turbine simulation should be based on enthalpy rather than internal energy. When I'm using ePsiThermo simulation is running but when I'm using hPsiThermo I'm getting Following error -- selecting thermodynamics package hPsiThermo<pureMixture<sutherlandTransport<specieT hermo<hConstThermo<perfectGas>>>>> --> FOAM FATAL ERROR: Not implemented From function basicThermo::e() in file basicThermo/basicThermo.C at line 354. FOAM aborting Aborted (core dumped) -- So I tried to modify createFields.H file. Then I compiled the file using wmake command I got warning like In file included from sonicDyMFoam.C:63:0: createFields.H: In function ‘int main(int, char**)’: createFields.H:10:21: warning: unused variable ‘h’ [-Wunused-variable] volScalarField& h = thermo.h(); //newwly added ^ It mean I'm missing something but I don't know what. Can anyone help me on how to modify creatField.H, hEqn.H and sonicDyMFoam.C files or any other changes requires to make. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] RefineMesh Error and Foam warning | jiahui_93 | OpenFOAM Meshing & Mesh Conversion | 4 | March 3, 2018 12:32 |
conjugateHeatFoam: regionCoupling boundary in foam 3.0 ext | ahmmedshakil | OpenFOAM Programming & Development | 0 | September 27, 2014 10:26 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 15:00 |