5,146 research outputs found
VADER: A Flexible, Robust, Open-Source Code for Simulating Viscous Thin Accretion Disks
The evolution of thin axisymmetric viscous accretion disks is a classic
problem in astrophysics. While models based on this simplified geometry provide
only approximations to the true processes of instability-driven mass and
angular momentum transport, their simplicity makes them invaluable tools for
both semi-analytic modeling and simulations of long-term evolution where two-
or three-dimensional calculations are too computationally costly. Despite the
utility of these models, the only publicly-available frameworks for simulating
them are rather specialized and non-general. Here we describe a highly
flexible, general numerical method for simulating viscous thin disks with
arbitrary rotation curves, viscosities, boundary conditions, grid spacings,
equations of state, and rates of gain or loss of mass (e.g., through winds) and
energy (e.g., through radiation). Our method is based on a conservative,
finite-volume, second-order accurate discretization of the equations, which we
solve using an unconditionally-stable implicit scheme. We implement Anderson
acceleration to speed convergence of the scheme, and show that this leads to
factor of speed gains over non-accelerated methods in realistic
problems, though the amount of speedup is highly problem-dependent. We have
implemented our method in the new code Viscous Accretion Disk Evolution
Resource (VADER), which is freely available for download from
https://bitbucket.org/krumholz/vader/ under the terms of the GNU General Public
License.Comment: 58 pages, 13 figures, accepted to Astronomy & Computing; this version
includes more discussion, but no other changes; code is available for
download from https://bitbucket.org/krumholz/vader
Preconditioned geometric iterative methods for cubic B-spline interpolation curves
The geometric iterative method (GIM) is widely used in data
interpolation/fitting, but its slow convergence affects the computational
efficiency. Recently, much work was done to guarantee the acceleration of GIM
in the literature. In this work, we aim to further accelerate the rate of
convergence by introducing a preconditioning technique. After constructing the
preconditioner, we preprocess the progressive iterative approximation (PIA) and
its variants, called the preconditioned GIMs. We show that the proposed
preconditioned GIMs converge and the extra computation cost brought by the
preconditioning technique is negligible. Several numerical experiments are
given to demonstrate that our preconditioner can accelerate the convergence
rate of PIA and its variants
Gravitational Search Algorithm for NURBS Curve Fitting
By providing great flexibility non-uniform rational B-spline (NURBS) curves and surfaces are reason of preferability on areas like computer aided design, medical imaging and computer graphics. Knots, control points and weights provide this flexibility. Computation of these parameters makes the problem as a non-linear combinational optimization problem on a process of reverse engineering. The ability of solving these problems using meta-heuristics instead of conventional methods attracts researchers. In this paper, NURBS curve estimation is carried out by a novel optimization method namely gravitational search algorithm. Both knots and knots together weights simultaneous optimization process is implemented by using research agents. The high performance of the proposed method on NURBS curve fitting is showed by obtained results.Keywords: Non-uniform rational B-spline, gravitational search algorithm, meta-heuristi
Subdivision surface fitting to a dense mesh using ridges and umbilics
Fitting a sparse surface to approximate vast dense data is of interest for many applications: reverse engineering, recognition and compression, etc. The present work provides an approach to fit a Loop subdivision surface to a dense triangular mesh of arbitrary topology, whilst preserving and aligning the original features. The natural ridge-joined connectivity of umbilics and ridge-crossings is used as the connectivity of the control mesh for subdivision, so that the edges follow salient features on the surface. Furthermore, the chosen features and connectivity characterise the overall shape of the original mesh, since ridges capture extreme principal curvatures and ridges start and end at umbilics. A metric of Hausdorff distance including curvature vectors is proposed and implemented in a distance transform algorithm to construct the connectivity. Ridge-colour matching is introduced as a criterion for edge flipping to improve feature alignment. Several examples are provided to demonstrate the feature-preserving capability of the proposed approach
- …