186 research outputs found
Automating embedded analysis capabilities and managing software complexity in multiphysics simulation part I: template-based generic programming
An approach for incorporating embedded simulation and analysis capabilities
in complex simulation codes through template-based generic programming is
presented. This approach relies on templating and operator overloading within
the C++ language to transform a given calculation into one that can compute a
variety of additional quantities that are necessary for many state-of-the-art
simulation and analysis algorithms. An approach for incorporating these ideas
into complex simulation codes through general graph-based assembly is also
presented. These ideas have been implemented within a set of packages in the
Trilinos framework and are demonstrated on a simple problem from chemical
engineering
Performance of a Large-area GEM Detector Read Out with Wide Radial Zigzag Strips
A 1-meter-long trapezoidal Triple-GEM detector with wide readout strips was
tested in hadron beams at the Fermilab Test Beam Facility in October 2013. The
readout strips have a special zigzag geometry and run along the radial
direction with an azimuthal pitch of 1.37 mrad to measure the azimuthal
phi-coordinate of incident particles. The zigzag geometry of the readout
reduces the required number of electronic channels by a factor of three
compared to conventional straight readout strips while preserving good angular
resolution. The average crosstalk between zigzag strips is measured to be an
acceptable 5.5%. The detection efficiency of the detector is (98.4+-0.2)%. When
the non-linearity of the zigzag-strip response is corrected with track
information, the angular resolution is measured to be (193+-3) urad, which
corresponds to 14% of the angular strip pitch. Multiple Coulomb scattering
effects are fully taken into account in the data analysis with the help of a
stand-alone Geant4 simulation that estimates interpolated track errors.Comment: 30 pages, 28 figures, submitted to NIM
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
Dimension reduction in stochastic modeling of coupled problems
Coupled problems with various combinations of multiple physics, scales, and
domains are found in numerous areas of science and engineering. A key challenge
in the formulation and implementation of corresponding coupled numerical models
is to facilitate the communication of information across physics, scale, and
domain interfaces, as well as between the iterations of solvers used for
response computations. In a probabilistic context, any information that is to
be communicated between subproblems or iterations should be characterized by an
appropriate probabilistic representation. Although the number of sources of
uncertainty can be expected to be large in most coupled problems, our
contention is that exchanged probabilistic information often resides in a
considerably lower dimensional space than the sources themselves. This work
thus presents an investigation into the characterization of the exchanged
information by a reduced-dimensional representation and, in particular, by an
adaptation of the Karhunen-Loeve decomposition. The effectiveness of the
proposed dimension-reduction methodology is analyzed and demonstrated through a
multiphysics problem relevant to nuclear engineering
- …