I was looking at the article on the wiki located here and was wanting to do something similar in OF 2.0.x. Looking through the code for liquidProperties construction in the source it doesn't seem like this is possible anymore. Anyone been able to replicate this behavior before I go off to code changes?
I've been working on items peripheral to this , and it seems that I might be able to get the same functionality using the codeStream directive. All the liquids have a member function called writeData that prints out all the coefficients in a dictionary-like manner (that is what I am assuming/hoping).
I'm trying to check it in a dummy piece of code, but am having difficulty with the constructor for the liquid (say C2H6 for example). It seems as though I should be able to do this:
Any hints? I'll also take full solutions ;)
|All times are GMT -4. The time now is 19:54.|