|
[Sponsors] |
August 3, 2011, 03:00 |
Accessing molecular weight
|
#1 |
New Member
Ivy Long
Join Date: Jul 2011
Location: Chicago, Illinois
Posts: 5
Rep Power: 15 |
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 |
|
August 3, 2011, 05:48 |
|
#2 |
Senior Member
Laurence R. McGlashan
Join Date: Mar 2009
Posts: 370
Rep Power: 23 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to access species molecular weight in UDFs | Ellen | FLUENT | 3 | June 2, 2019 20:55 |
Pressure and molecular weight ? | Jane | FLUENT | 0 | January 2, 2009 05:17 |
Unit of Molecular weight | clark | FLUENT | 2 | March 15, 2008 06:28 |
Molecular Weight | Ari | FLUENT | 0 | August 22, 2004 08:36 |
Molecular weight of the solid phase? | imburse | CFX | 3 | May 9, 2002 19:28 |