25,798 research outputs found
An Algebraic Framework for the Real-Time Solution of Inverse Problems on Embedded Systems
This article presents a new approach to the real-time solution of inverse
problems on embedded systems. The class of problems addressed corresponds to
ordinary differential equations (ODEs) with generalized linear constraints,
whereby the data from an array of sensors forms the forcing function. The
solution of the equation is formulated as a least squares (LS) problem with
linear constraints. The LS approach makes the method suitable for the explicit
solution of inverse problems where the forcing function is perturbed by noise.
The algebraic computation is partitioned into a initial preparatory step, which
precomputes the matrices required for the run-time computation; and the cyclic
run-time computation, which is repeated with each acquisition of sensor data.
The cyclic computation consists of a single matrix-vector multiplication, in
this manner computation complexity is known a-priori, fulfilling the definition
of a real-time computation. Numerical testing of the new method is presented on
perturbed as well as unperturbed problems; the results are compared with known
analytic solutions and solutions acquired from state-of-the-art implicit
solvers. The solution is implemented with model based design and uses only
fundamental linear algebra; consequently, this approach supports automatic code
generation for deployment on embedded systems. The targeting concept was tested
via software- and processor-in-the-loop verification on two systems with
different processor architectures. Finally, the method was tested on a
laboratory prototype with real measurement data for the monitoring of flexible
structures. The problem solved is: the real-time overconstrained reconstruction
of a curve from measured gradients. Such systems are commonly encountered in
the monitoring of structures and/or ground subsidence.Comment: 24 pages, journal articl
A Fast Parallel Poisson Solver on Irregular Domains Applied to Beam Dynamic Simulations
We discuss the scalable parallel solution of the Poisson equation within a
Particle-In-Cell (PIC) code for the simulation of electron beams in particle
accelerators of irregular shape. The problem is discretized by Finite
Differences. Depending on the treatment of the Dirichlet boundary the resulting
system of equations is symmetric or `mildly' nonsymmetric positive definite. In
all cases, the system is solved by the preconditioned conjugate gradient
algorithm with smoothed aggregation (SA) based algebraic multigrid (AMG)
preconditioning. We investigate variants of the implementation of SA-AMG that
lead to considerable improvements in the execution times. We demonstrate good
scalability of the solver on distributed memory parallel processor with up to
2048 processors. We also compare our SAAMG-PCG solver with an FFT-based solver
that is more commonly used for applications in beam dynamics
A temporally adaptive hybridized discontinuous Galerkin method for time-dependent compressible flows
The potential of the hybridized discontinuous Galerkin (HDG) method has been
recognized for the computation of stationary flows. Extending the method to
time-dependent problems can, e.g., be done by backward difference formulae
(BDF) or diagonally implicit Runge-Kutta (DIRK) methods. In this work, we
investigate the use of embedded DIRK methods in an HDG solver, including the
use of adaptive time-step control. Numerical results demonstrate the
performance of the method for both linear and nonlinear (systems of)
time-dependent convection-diffusion equations
Automating embedded analysis capabilities and managing software complexity in multiphysics simulation part II: application to partial differential equations
A template-based generic programming approach was presented in a previous
paper that separates the development effort of programming a physical model
from that of computing additional quantities, such as derivatives, needed for
embedded analysis algorithms. In this paper, we describe the implementation
details for using the template-based generic programming approach for
simulation and analysis of partial differential equations (PDEs). We detail
several of the hurdles that we have encountered, and some of the software
infrastructure developed to overcome them. We end with a demonstration where we
present shape optimization and uncertainty quantification results for a 3D PDE
application
Elastic Wave Eigenmode Solver for Acoustic Waveguides
A numerical solver for the elastic wave eigenmodes in acoustic waveguides of
inhomogeneous cross-section is presented. Operating under the assumptions of
linear, isotropic materials, it utilizes a finite-difference method on a
staggered grid to solve for the acoustic eigenmodes of the vector-field elastic
wave equation. Free, fixed, symmetry, and anti-symmetry boundary conditions are
implemented, enabling efficient simulation of acoustic structures with
geometrical symmetries and terminations. Perfectly matched layers are also
implemented, allowing for the simulation of radiative (leaky) modes. The method
is analogous to eigenmode solvers ubiquitously employed in electromagnetics to
find waveguide modes, and enables design of acoustic waveguides as well as
seamless integration with electromagnetic solvers for optomechanical device
design. The accuracy of the solver is demonstrated by calculating
eigenfrequencies and mode shapes for common acoustic modes in several simple
geometries and comparing the results to analytical solutions where available or
to numerical solvers based on more computationally expensive methods
Adaptively time stepping the stochastic Landau-Lifshitz-Gilbert equation at nonzero temperature: implementation and validation in MuMax3
Thermal fluctuations play an increasingly important role in micromagnetic
research relevant for various biomedical and other technological applications.
Until now, it was deemed necessary to use a time stepping algorithm with a
fixed time step in order to perform micromagnetic simulations at nonzero
temperatures. However, Berkov and Gorn have shown that the drift term which
generally appears when solving stochastic differential equations can only
influence the length of the magnetization. This quantity is however fixed in
the case of the stochastic Landau-Lifshitz-Gilbert equation. In this paper, we
exploit this fact to straightforwardly extend existing high order solvers with
an adaptive time stepping algorithm. We implemented the presented methods in
the freely available GPU-accelerated micromagnetic software package MuMax3 and
used it to extensively validate the presented methods. Next to the advantage of
having control over the error tolerance, we report a twenty fold speedup
without a loss of accuracy, when using the presented methods as compared to the
hereto best practice of using Heun's solver with a small fixed time step.Comment: 9 pages, 9 figure
- …