|
[Sponsors] |
November 8, 2011, 15:33 |
liquidProperties Dictionary
|
#1 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
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?
|
|
November 30, 2011, 13:43 |
Possible solution
|
#2 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
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: Code:
C2H6 temp; temp.writeData(Info) Any hints? I'll also take full solutions |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
writing subDict in a dictionary | ubaid | OpenFOAM Programming & Development | 3 | October 25, 2014 17:17 |
Doubt in term representation in the fvSchemes dictionary | titio | OpenFOAM Running, Solving & CFD | 0 | July 17, 2009 13:21 |
Reading from User Defined Dictionary File | brosemu | OpenFOAM Running, Solving & CFD | 2 | March 30, 2009 15:25 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
FoamX error aachenBomb case | Ervin Adorean (Adorean) | OpenFOAM Pre-Processing | 13 | March 7, 2005 03:50 |