CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

liquidProperties Dictionary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 8, 2011, 15:33
Default liquidProperties Dictionary
  #1
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
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?
mturcios777 is offline   Reply With Quote

Old   November 30, 2011, 13:43
Default Possible solution
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
mturcios777 will become famous soon enough
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)
, but the compiler says that C2H6 is unknown in this scope (even though it appears Foam::C2H6 should be recognized).

Any hints? I'll also take full solutions
mturcios777 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:50.