Incorrect import of solver variables into GUI

Clearly defined bug reports and their fixes
Post Reply
Wil
Posts: 72
Joined: 10 Jan 2014, 13:26
Antispam: Yes
Location: Austria

Incorrect import of solver variables into GUI

Post by Wil »

Changed variable names are not correctly imported into ElmerGUI when reopening a prior saved project. The sif file is still correct and correctly generated as long as the equation dialogue are not updated.

I have changed the "Variable" of a "Static Current Conduction" solver from "Potential" to "PotentialCurr" and saved everything (mesh, sif, project ... see .zip attachment).
But when opening the project again, the "Variabel" field is set back to "Potential". Although the variabel is set correctly in the .sif file when generating the file (see screenshot), as long as I do not open the equation dialogue (and update).
Screenshot.png
Project file for testing the import problems for changed variable names.
(206.17 KiB) Not downloaded yet
I have attached all necessary project files for testing. Can anyone reproduce this?

I use a fresh git-Elmer from 2015 Nov 06th on Ubuntu x64.

BR,
Wil
Attachments
tmp.zip
Screen-shot showing the wrong variable name in the GUI ("Potential") even when the .sif files shows the prior changed one ("PotentialCurr").
(224.6 KiB) Downloaded 360 times
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Incorrect import of solver variables into GUI

Post by mzenker »

Hi,

this is a long-known bug (see viewtopic.php?f=4&t=2113, viewtopic.php?f=4&t=2690#p8214, viewtopic.php?f=4&t=3889). I am afraid that it will not be fixed in the foreseeable future...
Workaraound: Load a project only with a fresh ElmerGUI, don't reload it without restarting ElmerGUI.

HTH,

Matthias
Wil
Posts: 72
Joined: 10 Jan 2014, 13:26
Antispam: Yes
Location: Austria

Re: Incorrect import of solver variables into GUI

Post by Wil »

Hallo Matthias,

Thank you for the hint and pointing into the right direction! It is a problem of loading extra edf (xml) files as monacellif describes in his post here viewtopic.php?f=4&t=3889#p13678.
I have used a custom made edf file for the electrostatic force solver which seams to create the problem (see viewtopic.php?f=3&t=4100&start=0). I will work on this file to make it "standard-conform", hoping to resolve the problem.

BR,
Wil
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Incorrect import of solver variables into GUI

Post by mzenker »

Hi,

the problem might not be the edf-file as such. Could it be that you have saved a project without your custom edf file loaded, and then reloaded it when the custom edf file was there? In that case, the solver settings get screwed up, see viewtopic.php?f=4&t=847.

HTH,

Matthias
Post Reply