CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Accessing molecular weight

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2011, 02:00
Default Accessing molecular weight
  #1
New Member
 
Ivy Long
Join Date: Jul 2011
Location: Chicago, Illinois
Posts: 5
Rep Power: 14
IvyLong is on a distinguished road
Hi all,

I'm modifying the reactingFoam solver and I wanted to access the molecular weights vector, W(). Unfortunately the documentation on the OpenFoam website seems to be for a different version (I'm using 1.7.1) in which the member function was in multiComponentMixture. I've been through the code a lot, but I can't seem to untangle where W() is anymore or how to access it.

I appreciate anyone's help!

Ivy
IvyLong is offline   Reply With Quote

Old   August 3, 2011, 04:48
Default
  #2
Senior Member
 
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23
l_r_mcglashan will become famous soon enough
Hi,

grep is your friend! Go into src/thermophysicalModels and type:

grep -r "W()" .

I see that perhaps liquidMixture/liquidMixture is what you are looking for? Also, consider upgrading to 2.0.
__________________
Laurence R. McGlashan :: Website
l_r_mcglashan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access species molecular weight in UDFs Ellen FLUENT 3 June 2, 2019 19:55
Pressure and molecular weight ? Jane FLUENT 0 January 2, 2009 04:17
Unit of Molecular weight clark FLUENT 2 March 15, 2008 05:28
Molecular Weight Ari FLUENT 0 August 22, 2004 07:36
Molecular weight of the solid phase? imburse CFX 3 May 9, 2002 18:28


All times are GMT -4. The time now is 01:03.