diff --git a/apps/showcases/PhaseFieldAllenCahn/CPU/multiphase_rising_bubble.py b/apps/showcases/PhaseFieldAllenCahn/CPU/multiphase_rising_bubble.py index 0bd3c4be1bf50d63ec107b59d3bd6caede971569..be4d629e5dc7d0441c6a2606d1030f384c3eb036 100755 --- a/apps/showcases/PhaseFieldAllenCahn/CPU/multiphase_rising_bubble.py +++ b/apps/showcases/PhaseFieldAllenCahn/CPU/multiphase_rising_bubble.py @@ -143,9 +143,10 @@ class Scenario: 'galilei_number': self.galilei_number, } result.update(self.parameters) + table_name = f'data_Bo_{int(self.bond_number)}_Ga_{int(self.galilei_number)}_D_{int(self.bubbleRadius * 2)}' try: - wlbSqlite.checkAndUpdateSchema(result, 'data', self.dbFile) - wlbSqlite.storeSingle(result, 'data', self.dbFile) + wlbSqlite.checkAndUpdateSchema(result, table_name, self.dbFile) + wlbSqlite.storeSingle(result, table_name, self.dbFile) except Exception as e: wlb.log_warning("Failed to store run in database " + str(e) + "\n" + str(result))