Hi list,
I've got a problem at hand that is related to subdomains. Consider the following simplified problem:
- We want to solve a time-dependent ODE on a mesh $\Omega = \Omega_1 \cup \Omega_2$ that is subdivided into two sub-domains.
- The solution is a (vector) field $\vec{v}$ over the whole domain $\Omega$.
- The right-hand side of the ODE depends on the whole vector field $\vec{v}$
- In $\Omega_1$ we fix the vector field to some user-given value, while in $\Omega_2$ the vector field can vary with time.
- The goal is to advance the whole vector field from time $t$ to $t+h$ with updates only acting on $\Omega_2$.
- At each time step, we also want access to the full vector field.
I guess that one can more-or-less easily achieve this but I haven't been able yet to figure out the correct FEniCS way of doing so ...