You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initiate table generator class. Settings regarding the fluid data generation and table resolution are automatically retrieved from the configuration object.
"""Overwrite the thermodynamic state space discretization method from the configuration.
187
+
188
+
:param method: discratization method, defaults to 'cartesian'
189
+
:type method: str, optional
190
+
"""
186
191
self._Config.SetTableDiscretization(method)
187
192
return
188
193
@@ -201,6 +206,12 @@ def __LoadFluidData(self):
201
206
returnfluid_data_norm
202
207
203
208
defSetTableVars(self, table_vars_in:list[str]):
209
+
"""Specify the thermophysical variables to be included in the table file. All quantities are included by default. The list shoud at least contain "Density" and "Energy".
210
+
211
+
:param table_vars_in: list with thermophysical variables to be included in the table.
212
+
:type table_vars_in: list[str]
213
+
:raises Exception: if any of the specified variables are not supported by SU2 DataMiner.
214
+
"""
204
215
self._table_vars= []
205
216
ifEntropicVars.Density.namenotintable_vars_in:
206
217
print("Density should always be included in table variables")
0 commit comments