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

collect the number of species

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2012, 14:24
Question collect the number of species
  #1
Member
 
Join Date: Feb 2012
Posts: 59
Rep Power: 14
Raymond.Leoi is on a distinguished road
Anyone has an idea on how to collect the number of species for OpenFoam1.7?
Raymond.Leoi is offline   Reply With Quote

Old   March 5, 2012, 14:58
Default
  #2
Member
 
Join Date: Jan 2010
Posts: 44
Rep Power: 16
Argen is on a distinguished road
I thought "thermo.composition().Y().size()" might work

Quote:
Originally Posted by Raymond.Leoi View Post
Anyone has an idea on how to collect the number of species for OpenFoam1.7?
Argen is offline   Reply With Quote

Old   March 5, 2012, 15:36
Default
  #3
Member
 
Join Date: Feb 2012
Posts: 59
Rep Power: 14
Raymond.Leoi is on a distinguished road
Thanks, Argen. It seems working.
Do you have any idea to get molecular weight for each species?
Raymond.Leoi is offline   Reply With Quote

Old   March 6, 2012, 05:47
Default
  #4
Member
 
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 15
Bufacchi is on a distinguished road
Depending on the solver you are using, it may be inside the case directory, in a dictionary in the constants sub-directory.
Regards,
Paulo
Bufacchi 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
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 12:55
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
meshing F1 front wing Steve FLUENT 0 April 17, 2003 12:37


All times are GMT -4. The time now is 18:55.