neams-th-coe / cardinal

High-Fidelity Multiphysics
https://cardinal.cels.anl.gov/
Other
91 stars 46 forks source link

Add 0-D coupling to Nek #5

Open aprilnovak opened 3 years ago

aprilnovak commented 3 years ago

It would be good to have the capacity to pass 0D information between codes at boundaries. For example: Imagine a flow loop being simulated in SAM, with only a portion of a pipe being simulated in NekRS. We would want:

For a general feature I think we would to have an API that allows a number of N properties to be exchanged at the boundaries. Postprocessors can then be added in SAM or other system analysis codes to pass to NekRS.

To keep the various coupling types distinct, I propose adding a new problem, like NekScalarProblem or Nek0DProblem that would be used to couple Nek to systems-level feedback to differentiation from NekRSProblem, that couples for 2-D boundary and 3-D volume feedback.

Basic checklist:

Possible more advanced features:

aprilnovak commented 2 years ago

tag @ahuxford