Development of Adaptive Mesh Refinement Scheme and Conjugate Heat Transfer Model for Engine Simulations