  A heat flux deposition code is a very useful tool for the design of
plasma-facing components. The classical cosine model representative of the
convective parallel heat flux was coded within the standard finite element code
of the CEA Castem 2000. Two perturbations to the idealised magnetic surfaces
were taken into account: the Shafranov shift and the ripple of the toroidal
magnetic field. The calculation scheme -- named Tokaflu -- was confronted to
previous computations on bottom modular limiters and to experiments on the
inner first wall. The code was used to optimise the shape of future
plasma-facing components in Tore Supra designed for the CIEL project, namely
the toroidal pumped limiter and its neutralisers. Developments are under way to
include the shadowing of the components, other power deposition schemes and
possibly later plasma sections other than circular.
