filtering options
@@ -70,6 +70,14 @@ class StepUvlm(BaseSolver):
self.data.structure.add_unsteady_information(self.data.structure.dyn_dict, self.settings['n_time_steps'].value)
+ # Filtering
+ if self.settings['gamma_dot_filtering'] == 1:
+ cout.cout_wrap("gamma_dot_filtering cannot be one. Changing it to None", 2)
+ self.settings['gamma_dot_filtering'] = None
+ elif (not self.settings['gamma_dot_filtering'].value == 0) and (self.settings['gamma_dot_filtering'].value % 2 == 0):
+ cout.cout_wrap("gamma_dot_filtering does not support even numbers. Changing " + self.settings['gamma_dot_filtering'] + " to " + self.settings['gamma_dot_filtering'] + 1, 2)
+ self.settings['gamma_dot_filtering'] += 1
+
# init velocity generator
velocity_generator_type = gen_interface.generator_from_string(
self.settings['velocity_field_generator'])
