-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
86 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Ofpp==0.11 | ||
scikit-learn>=1.0.2 | ||
matplotlib==3.1.1 | ||
matplotlib==3.7.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
merlin/examples/workflows/openfoam_wf_singularity/openfoam_wf.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
description: | ||
name: openfoam_wf_singularity | ||
description: | | ||
A parameter study that includes initializing, running, | ||
post-processing, collecting, learning and visualizing OpenFOAM runs | ||
using singularity. | ||
env: | ||
variables: | ||
OUTPUT_PATH: | ||
|
||
SCRIPTS: | ||
SIF: | ||
N_SAMPLES: | ||
|
||
|
||
merlin: | ||
samples: | ||
generate: | ||
cmd: | | ||
file: | ||
column_labels: | ||
resources: | ||
workers: | ||
nonsimworkers: | ||
args: -l INFO --concurrency <INPUT CONCURRENCY HERE> | ||
steps: | ||
simworkers: | ||
args: -l INFO --concurrency <INPUT CONCURRENCY HERE> --prefetch-multiplier 1 -Ofair | ||
steps: | ||
|
||
|
||
study: | ||
- name: setup | ||
description: | | ||
Installs necessary python packages and imports the cavity directory | ||
from the singularity container | ||
run: | ||
cmd: | | ||
- name: sim_runs | ||
description: | | ||
Edits the Lidspeed and viscosity then runs OpenFOAM simulation | ||
using the icoFoam solver | ||
run: | ||
cmd: | | ||
depends: | ||
task_queue: simqueue | ||
|
||
- name: combine_outputs | ||
description: Combines the outputs of the previous step | ||
run: | ||
cmd: | | ||
depends: | ||
|
||
- name: learn | ||
description: Learns the output of the openfoam simulations using input parameters | ||
run: | ||
cmd: | | ||
depends: |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
merlin/examples/workflows/openfoam_wf_singularity/requirements.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Ofpp==0.11 | ||
scikit-learn>=1.0.2 | ||
matplotlib==3.1.1 | ||
matplotlib==3.7.4 |