ElmerGUI feature request: multi-species advection-diffusion
Posted: 26 Oct 2011, 19:20
It would be nice to use multiple species in AdvectionDiffusion via ElmerGUI. This has been an issue since I contributed its XML file:
viewtopic.php?f=4&t=105&p=347
And in general this is consistent with a goal of having all of Elmer's capabilities exposed in the GUI.
I think the SaveScalars XML file provides a mechanism for doing this, by using the "Activate" tag, but there are two problems:
[*] Parameters need to pre-pend the variable name, for example if it is "Thallium" then the property is "Thallium Diffusivity" and there does not seem to be a way to do that in the .xml.
[*] Because "Thallium Diffusivity" is not is SOLVER.KEYWORDS, the .sif file will need "Real" in the property.
Any ideas on how to do this? It looks like these files are loaded in MainWindow::loadDefinitions() but it's not clear where they're converted into the GUI elements, or if there's a place to modify the document elements, e.g. to replace some code with the variable name.
-Adam
viewtopic.php?f=4&t=105&p=347
And in general this is consistent with a goal of having all of Elmer's capabilities exposed in the GUI.
I think the SaveScalars XML file provides a mechanism for doing this, by using the "Activate" tag, but there are two problems:
[*] Parameters need to pre-pend the variable name, for example if it is "Thallium" then the property is "Thallium Diffusivity" and there does not seem to be a way to do that in the .xml.
[*] Because "Thallium Diffusivity" is not is SOLVER.KEYWORDS, the .sif file will need "Real" in the property.
Any ideas on how to do this? It looks like these files are loaded in MainWindow::loadDefinitions() but it's not clear where they're converted into the GUI elements, or if there's a place to modify the document elements, e.g. to replace some code with the variable name.
-Adam