MFIX-25.1.2 wee bug in pulsatory tutorial

Hi,

When I load the TFM MFIX tutorial


I cannot change the parameters of the inlet_velocity keyframe (steps, linear, what property is read) etc. It appeared once and then never again in all tests I tried. I had to manually change them in *.mfx. Should be a minor fix but an useful one :). I added the same temporal BC in another sim, and had the same issue. Best, E.
pulsating_fluid_bed_2d.zip (28.7 KB)

Sorry, the keyframe pane is broken, we will fix in the next release, thanks for reporting the bug!

1 Like

Thanks Eric. This will be fixed in 25.2, in the meanwhile it’s a 1-line fix if you want to patch the file yourself.

The file is:
$CONDA_PREFIX/lib/python3.12/site-packages/mfixgui/keyframe.py

diff --git a/mfixgui/keyframe.py b/mfixgui/keyframe.py
index bb81f82e3..10e83922e 100644
--- a/mfixgui/keyframe.py
+++ b/mfixgui/keyframe.py
@@ -130,6 +130,7 @@ class Keyframe:
         # Autoselect if only 1 row
         if row is None and tw.rowCount() == 1:
             row = 0
+            self.in_setup_keyframe = False
             tw.selectRow(row)
             return

You can either use the patch utility or just open the file in an editor and add that one line.

Sorry for the trouble,

– Charles

1 Like

Thanks for the patch!