To create a species name file for chemFoam
Dear Foamers,
i would like to create a a species name file for chemFoam I put the codes below to createFields.H and it s ok it is working. But i want to write all species name not first 4, so i need a variable to determine "number of species" the problem is how can i use nSpecie_ or nSpecie () or something like that. Thanks in advance. Code:
int speciesname; |
Did you try Y.size() instead of a fixed value? This should give you the number of species.
Best, Hagen |
Quote:
Code:
int speciesname; |
All times are GMT -4. The time now is 19:04. |