-
Notifications
You must be signed in to change notification settings - Fork 4
Multiscale and Multiresolution Methods
MrHyDE is designed to use heterogeneous computational architectures to enable concurrent multiscale modeling and simulation. The general form of a coupled multiscale system is:
where
where the notation
For simplicity, we will ignore any spatial discretizations throughout this section and proceed as if we are solving coupled systems of ODEs, but in general, all of the use cases involve spatial discretization and are typically based on variational formulations.
To simplify the notation, we will rewrite the reduced system as:
where
MrHyDE is designed to utilize any type of subgrid model, but the primary demonstration is a multiscale Dirichlet-to-Neumann map which is described in below. MrHyDE also requires the gradient of
Computing
In this section, we focus on solving the following steady-state multiscale system,
which is a simplification of the original coupled system.
Recall that we assume that the fine scale equation can be localized, so given the current approximation for
for
for
where
and we set
- Either project the coarse scale data,
$u_c$ , onto the fine scale mesh or simply evaluate$u_c$ at the fine scale quadrature points. - Use another Newton-based procedure to solve for
$u_f$ . Given an approximation$u_f^{(i)}$ (noting that$i$ is different from the outer Newton solve index$k$ ), we solve
where
and we set
- Project
$u_f$ back to the coarse scale or directly use the approximation.
At the discrete level, the projection steps above may involve a matrix-vector product or integrating the solutions against the appropriate test functions. MrHyDE precomputes the coarse scale basis functions at the fine scale quadrature points, so all of these integrals occur at the fine scale.
The coarse scale Jacobian can be written as,
Computing
The key is computing
We note that
which typically involves one additional linear solve per degree-of-freedom in
For transient simulations, we consider separately the cases where the nonlinear elimination occurs before or after the discretization in time. If we first discretize the coupled system in time, e.g., with a diagonally implicit RK scheme, and then perform nonlinear elimination to compute each of the stage solutions, then we call this synchronous time integration. Conversely, if the coarse scale and fine scale equations evolve at different time scales, then we might want to pursue a multirate formulation where the fine scale equation uses a different time integrator than the coarse scale equation. We refer to this as asynchronous time integration.
First, we consider the simpler case where we discretize in time and then perform nonlinear elimination. Note that this does imply that both the coarse and fine scale equations evolve at the same rate. Recall that in MrHyDE, time integration schemes are implemented using a Butcher tableau and a BDF formula. Once discretized, we solve a sequence of nonlinear systems
for the stage solutions
The reduced version of this problem solves
for
The asynchronous case is more complicated due to the fact that the coarse and fine scale integrators each have their own time step size, BDF formula and Butcher tableau. In addition, if the fine scale integrator uses a finer step size, then the coarse scale solution needs to be interpolated in time. For simplicity, we describe the solution process assuming we are using a Backward Euler integrator at both the coarse and fine scale, with
Given
where we have used the fact that the backward Euler scheme is fairly simple to omit
where
where