4.6. HIGH PERFORMANCE COMPUTATIONS IN 3D 179
2. Modify solar3d.f90 to include the cases where
{, | and } do not
have to be equal.
3. Experiment with the geometric parameters
Z> K and O.
4. Experiment with the thermal parameters. What types of materials should
be used and how does this aect the cost?
5. Consider the derivative boundary condition on the top
gx
g}
= f(x
vxu
(w) x) for } = W=
Modify the above code to include this boundary condition. Experiment with
the constant f.
6. Calculate the change in heat content relative to the initial constant tem-
perature of 60.
7. Replace the cgssor3d() subroutine with a SOR subroutine and compare
the computing times. Use (4.5.8) and be careful to distinguish between the
time step index
n and the SOR index p=
8. Code the explicit method for the pass ive solar storage model, and observe
the stability constraint on the change in time. Compare the explicit and implicit
time discretizations for this problem.
4.6 High Performance Computations in 3D
4.6.1 Intro duction
Many applications are not only 3D problems, but they often have more than one
physical quantity associated with them. Two examples are aircraft modeling
and weather prediction. In the case of an aircraft, the lift forces are determined
by the velocity with three components, the pressure and in many cases the tem-
peratures. So, there are at least five quantities, which all vary with 3D space
and time. Weather forecasting models are much more complicated because
there are more 3D quantities, often one does not precisely know the bound-
ary conditions and there are chemical and physical changes in system. Such
problems require very complicated models, and faster algorithms and enhanced
computing hardware are essential to give realistic numerical simulations.
In this section reordering schemes such as coloring the nodes and domain
decomposition of the nodes will be introduced such that both direct and itera-
tive methods will have some independent calculation. This will allow the use of
be challenging, and this will be more carefully studied in the last four chapters.
4.6.2 Methods via Red-Black Reordering
One can reorder nodes so that the vector pip elines or multiprocessors can be
used to execute the SOR algorithm. First we do this for the 1D di
usion model
© 2004 by Chapman & Hall/CRC
high performance computers with vector pipelines (see Section 6.1) and multi-
processors (see Section 6.3). The implementation of these parallel methods can