Dear DuMuX experts,

Is there a way to set up a variable number of components in an .input file?

So that the .input file could look like this:
[Components]
NumberOfComponents = 10
Component1.Name = c1
Component1. molarMass = 2e-3
Component2.Name = H20
Component3. molarMass = 18e-3
...

and in my problem.hh file I could refer to components' properties using 
something like FluidSystem::Oil::molarMass().

Thanks,
Nikolai







_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to