rhoTabulated EOS shows "Not implemented" ERROR
Hi Foamers,
First of all, thank you for all the support I've been receiving so far. Many suggestions from the forum have been incredibly helpful for me. To the issue: I'm simulating a compressible system using a solver modified from rhoPimpleFoam on OF9. It ran successfully when I used a "thermophysicalProperties" file like: Code:
Code:
Many thanks, SP |
The error message tells you that rhoTabulated<Specie>::E() is not implemented. Sure enough, if you look in the class inline source file (https://www.cfd-online.com/Forums/ne...ote=1&p=846511) you'll see:
Code:
template<class Specie> |
Thanks Tobermory for the quick reply.
Could you please suggest how I rectify this issue? I'm new to using OF. I think I have to use rhoTabulated as the rPolynomial I've been using isn't very accurate. SP |
Sreehari
The short answer is that you can't use rhoTabulated at the moment - it doesn't do what you need it to do, i.e. solve the energy equation. I think your best bet is to try and improve the polynomial fit as best you can, and continue using rPolynomial. Otherwise, you could try and implement your own version of the rhoTabulated class, and implement the energy functions ... however, there may be a good reason why they have not been implemented so far (I suspect that it's not just laziness on the Developer's side), and so this may be a dead end - I don't have enough knowledge of these particular EOS's to be able to comment. Good luck! |
Thank you very much, Tobermory.
SP |
All times are GMT -4. The time now is 21:09. |