Add micro-dumux-surrogate participant to two-scale heat conduction#684
Add micro-dumux-surrogate participant to two-scale heat conduction#684IshaanDesai wants to merge 14 commits intoprecice:developfrom
Conversation
MakisH
left a comment
There was a problem hiding this comment.
I have not yet tried to run it, but here are some first, easy-to-address comments.
| @@ -0,0 +1 @@ | |||
| - Added PCE-base surrogate for micro-dumux in two-scale heat conduction [#684](https://github.com/precice/tutorials/pull/684) | |||
There was a problem hiding this comment.
The README.md file of the tutorial also needs to document this alternative and what kind of surrogate it is.
In other cases (e.g., perpendicular-flap), we had participants named -fake? Is this case doing something similar?
There was a problem hiding this comment.
What is this directory, and how is it related to the micro-dumux-surrogate/?
What does mada stand for?
Why is there no run.sh and clean.sh, if this is a case directory?
| @@ -0,0 +1,56 @@ | |||
| """ | |||
| Micro simulation Surrogate, requrie previous computation of surrogate model | |||
There was a problem hiding this comment.
| Micro simulation Surrogate, requrie previous computation of surrogate model | |
| Micro simulation Surrogate, requires previous computation of surrogate model |
?
| python3 -m venv .venv | ||
| . .venv/bin/activate | ||
|
|
||
| pip install -r requirements.txt |
There was a problem hiding this comment.
See #680 for some updates (or directly copy from other run.sh in the same tutorial).
|
Thanks for the comments. I am still thinking about how to structure the folders so that only the full-order model and the surrogate model are exposed to the user. By adding a surrogate model at the micro scale, we have a unique scenario in which the Micro Manager runs not one but two solvers simultaneously. Technically, the solvers are not participants of the coupling; the Micro Manager is. But having the solvers in individual folders makes sense because it highlights which physics is being used and which software is being run. |
Makes sense to me. The only real alternative would be a subfolder |
This PR adds a surrogate variant to the existing participant micro-dumux, called the micro-dumux-surrogate. The surrogate is created using the tool BayesValidRox. The surrogate is built using PCE (Polynomial Chaos Expansion). This participant is built to highlight the functionality of model adaptivity in the Micro Manager: precice/micro-manager#198
Checklist:
changelog-entries/<PRnumber>.md.