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

liquidProperties Dictionary

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 8, 2011, 16:33
Default liquidProperties Dictionary
  #1
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 725
Rep Power: 18
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, 14:43
Default Possible solution
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 725
Rep Power: 18
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

Thread Tools
Display Modes

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 On
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 07:51
FoamX error aachenBomb case Ervin Adorean (Adorean) OpenFOAM Pre-Processing 13 March 7, 2005 04:50


All times are GMT -4. The time now is 21:20.