SearcharxivSearch

arXiv subjects

J. I. Cardesa

Publications and source records attributed to J. I. Cardesa.

2 recordsLinked to original sources

Adjoint computations by algorithmic differentiation of a parallel solver for time-dependent PDEs

A computational fluid dynamics code is differentiated using algorithmic differentiation (AD) in both tangent and adjoint modes. The two novelties of the present approach are 1) the adjoint code is obtained by letting the AD tool Tapenade invert the complete layer of message passing interface (MPI) communications, and 2) the adjoint code integrates time-dependent, non-linear and dissipative (hence physically irreversible) PDEs with an explicit time integration loop running for ca. $10^{6}$ time steps. The approach relies on using the Adjoinable MPI library to reverse the non-blocking communication patterns in the original code, and by controlling the memory overhead induced by the time-stepping loop with binomial checkpointing. A description of the necessary code modifications is provided along with the validation of the computed derivatives and a performance comparison of the tangent and adjoint codes.

physics.comp-ph

Inter-scale energy transfer in turbulence from the viewpoint of subfilter scales

This brief is organized as follows. In Section 2 we introduce the filter-scale energy equations that lead to the subfilter-scale dissipation term P. We discuss the properties of the sources and sinks of kinetic energy, and identify our target features concerning an optimal inter-scale energy transfer (ISET) term. A similar analysis is performed in Section 3 for the kinetic energy associated with the subfilter velocities, and a new ISET term T is introduced. Comparisons between T and P for different flows and for various filters are offered in Section 4 and Section 5. Finally, we present our conclusions in Section 6.

physics.flu-dyn