LLNL / libROM

Model reduction library with an emphasis on large scale parallelism and linear subspace methods
https://www.librom.net
Other
198 stars 36 forks source link

Heat conduction with external source #216

Closed siuwuncheung closed 1 year ago

siuwuncheung commented 1 year ago

This PR adds a script examples/dmd/heat_conduction_dmdc.cpp. The initial condition is always assumed to be 1.0 globally in the spatial domain. The external source function is a single timed circular source/sink, which is parametrized by the circular radius radius, the source location cx, cy, the shut down time t_end, and the amplitude amp.

The structure of this script is very much similar to the DMD for parametric heat conduction, though the parameterization is are different. The DMD components still remain in the script. Once DMDc is implemented, it should just require some minor changes (replacing the DMD routines by DMDc) on this script.