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

Search Results

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

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: olesen
Forum: OpenFOAM Programming & Development February 21, 2011, 04:52
Replies: 29
Views: 26,589
Posted By olesen
Sorry, as I wrote, it was 'untested' code. But...

Sorry, as I wrote, it was 'untested' code. But you are right - it cannot compile since dimensionedType doesn't have a null constructor. I'd suggest you file an RFE for that. I can't offhand expect...
Forum: OpenFOAM Programming & Development February 21, 2011, 03:24
Replies: 29
Views: 26,589
Posted By olesen
Without actually knowing what you want, this...

Without actually knowing what you want, this might be a solution (as untested pseudo-code):


const wordList specieNames(speciesDict.toc());

List<dimensionedScalar>...
Forum: OpenFOAM Programming & Development February 17, 2011, 03:22
Replies: 29
Views: 26,589
Posted By olesen
Martin provides a good solution. If you drop the...

Martin provides a good solution. If you drop the extra "species" entry you can simply retrieve the species names from the dictionary .toc() method.


const wordList...
Showing results 1 to 3 of 3

 
Forum Jump

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