Commit 5db51c88 authored by Petelin, Gašper (EXTERN) - 138600's avatar Petelin, Gašper (EXTERN) - 138600
Browse files

Cleanup before running a case

parent 4c9f3d7e
Pipeline #56613 passed with stage
in 23 seconds
......@@ -32,6 +32,7 @@ class OpenFOAMExperiment:
return data[:, 2] / 1e-3, data[:, 3] / 1e3
def evaluate(self, **par):
self.__execute_command('./Allclean')
m = "(Liao{turbulence yes;laminarShear yes;turbulentShear yes;interfacialFriction yes;BTurb {BTurb};BShear {BShear};BEddy {BEddy};BFric 1.0;})"
for k, v in par.items():
m = m.replace('{' + k + '}', str(v))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment