HPC-AI Coupling Methodology for Scientific Applications