Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Petelin, Gašper (EXTERN) - 138600
Param search
Commits
5db51c88
Commit
5db51c88
authored
Jan 28, 2021
by
Petelin, Gašper (EXTERN) - 138600
Browse files
Cleanup before running a case
parent
4c9f3d7e
Pipeline
#56613
passed with stage
in 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
paramsearch/OpenFOAMExperiment.py
View file @
5db51c88
...
...
@@ -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
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment