Machine Learning-driven Predictive Modeling of Magnetohydrodynamic Double Diffusion of Non-Newtonian Hybrid Ferrofluids with Variable Thermophysical Properties within Corrugated Cylinders

Jawad Ibn Ahad, Md Mamun Molla, Sadia Siddiqa, Sahrish Batool Naqvi

✅ Published in Engineering Applications of Artificial Intelligence 2025 (Elsevier, Q1, Impact Factor: 8.0)
📄 Paper: ScienceDirect · DOI: 10.1016/j.engappai.2024.109455


Abstract

This study addresses the complex problem of magnetohydrodynamic (MHD) double diffusion in non-Newtonian hybrid ferrofluids within a concentric corrugated cylinder. The hybrid ferrofluid — Fe₃O₄ and CoFe₂O₄ nanoparticles in water — is modeled with variable thermophysical properties and non-Newtonian power-law rheology. Four machine learning algorithms — Decision Tree (DT), Random Forest (RF), Feed-Forward Neural Network (FFNN), and 1D-CNN — are trained on 3,696 CFD simulation data points to predict average Nusselt number (Nu̅), Sherwood number (Sh̅), and stream function magnitudeΨ. The 1D-CNN achieves R² = 0.9996, 0.9994, 0.9995 for Nu̅, Sh̅, andΨrespectively. Increasing the power-law index n from 1 to 1.4 reduces flow flux by 49.04%; raising Ra from 2×10⁵ to 2×10⁶ enhances flow flux by 354.21%. Applications span advanced cooling systems, biomedical drug delivery, and industrial heat exchangers.

Introduction

Hybrid ferrofluids — colloidal suspensions of two or more magnetic nanoparticle types in a base liquid — offer superior thermal conductivity compared to mono-nanofluids. Double-diffusive natural convection, where simultaneous temperature and concentration gradients drive buoyancy, arises in chemical processing, alloy solidification, and ocean circulation. Combining MHD, non-Newtonian rheology, and double diffusion in corrugated geometries creates a highly nonlinear problem that challenges traditional CFD.

Key motivation: Corrugated cylinders are used in industrial heat exchangers to enhance mixing. Machine learning surrogates can replace costly parametric CFD sweeps with fast, accurate predictions.


🎯 Key Contributions

  • MHD Double Diffusion in Hybrid Ferrofluid — Fe₃O₄ + CoFe₂O₄/water hybrid ferrofluid modeled with power-law viscosity and temperature-dependent thermal conductivity inside concentric corrugated cylinders.
  • Four ML Surrogate Models — DT, RF, FFNN, 1D-CNN trained on 3,696 CFD points; 1D-CNN achieves near-perfect prediction accuracy (R² > 0.999).
  • Full Parametric Study — Effects of Rayleigh number (Ra), Hartmann number (Ha), power-law index (n), volume fraction (φ), and wave number (N) on Nu̅, Sh̅,Ψ, and viscosity distribution.
  • Viscosity Distribution Prediction — 1D-CNN predicts full spatial viscosity field (R² = 0.9652) using a dataset of 26,454,000 data points.
  • Polynomial Regression Correlations — 2nd-degree polynomial regression equations derived for Nu̅, Sh̅, andΨ(R² ≥ 0.953).

Methodology

Physical Setup

Corrugated Cylinder Schematic

Figure 1: Schematic of the wavy corrugated cylinder. Inner cylinder (heated): T=T_H, C=C_H. Outer cylinder (cooled): T=T_C, C=C_C. Both walls: no-slip (u=v=0). Corrugation shape: x(η) = (r + A cos(2πηN))·sin(2πη), y(η) = (r + A cos(2πηN))·cos(2πη). Outer cylinder: A=0.15, N=5; Inner cylinder: A=0.1, N=5.

Fluid: Fe₃O₄ (P1) + CoFe₂O₄ (P2) hybrid ferrofluid in water. Mesh: 29,182 triangular elements (FEM). Solver: Galerkin weighted residual FEM with Newton–Raphson iteration (convergencef^{i+1} − f^i< 10⁻⁶).

Thermophysical Properties of Nanoparticles

PropertyWater (H₂O)Fe₃O₄ (P1)CoFe₂O₄ (P2)
cₚ [J kg⁻¹ K⁻¹]4179670700
ρ [kg m⁻³]997.152004907
k [W m⁻¹ K⁻¹]0.61363.7
β × 10⁻⁵ [K⁻¹]20.71.181.27
σ [S m⁻¹]0.0525,0005.51 × 10⁹

Non-Newtonian Viscosity Model (Power-law)

μ̄ₙf = μf / [1 − 34.87(dn/df)^{−0.3} φ^{1.03}] × [2(ūₓ)² + 2(v̄y)² + (ūy + v̄ₓ)²]^{(n−1)/2}

  • n < 1: shear-thinning (lower viscosity at higher shear rate)
  • n = 1: Newtonian
  • n > 1: shear-thickening

Dimensionless Governing Parameters

ParameterSymbolRange Studied
Rayleigh numberRa2×10⁴ – 2×10⁶
Hartmann numberHa5 – 25
Power-law indexn0.8 – 1.4
Volume fraction (Fe₃O₄)φ_P10% – 2%
Volume fraction (CoFe₂O₄)φ_P20% – 2%
Wave number (surface)N1 – 7
Lewis numberLe2 (fixed)
Buoyancy ratioBr1 (fixed)
Prandtl numberPr6.8377 (fixed)

ML Model Input Parameters

VariableRange
N (wave number)1–7
Ra2×10⁴ – 2×10⁶
Ha5–25
n0.8–1.4
φ_P1 (Fe₃O₄)0%–2%
φ_P2 (CoFe₂O₄)0%–2%

Dataset: 3,696 CFD simulation results. Train/Validation/Test split: 70%/10%/20%.


📊 Grid Independence & Validation

Grid Independence (n=0.8, 1, 1.4; φ=0.04; Ra=2×10⁶; Ha=15; Le=2; Br=1)

MeshElementsNu̅ (n=0.8)Sh̅ (n=0.8)Nu̅ (n=1)Sh̅ (n=1)Nu̅ (n=1.4)Sh̅ (n=1.4)
Mesh 17,22611.9220.1268.620313.8364.91837.123
Mesh 220,37610.73817.5148.102612.6344.86796.9977
Mesh 329,18210.61917.3338.039712.4684.86316.9904

Selected: Mesh 3 (29,182 elements) for all simulations.

Code Validation vs Literature (Ra=10⁵, n=1, Pr=1, Le=2.0, φ=0, H/L=2)

BrReferenceNu̅ (Ref.)Nu̅ (Present)Sh̅ (Ref.)Sh̅ (Present)
−0.8Qin et al. (2014)3.43233.40664.42384.3953
−2.0Ren & Chan (2016)2.82752.83064.62324.6195

Excellent agreement confirms code reliability for double-diffusive simulation.


📊 Results — Parametric Study

Effect of Rayleigh Number (Ra) on Flow Flux (|Ψ|_max)

RaFlow Flux (Ψ_max)% Change
2×10⁴1.0475  
2×10⁵9.10048+769.22%  
2×10⁶41.3719+354.21%  

Higher Ra → stronger buoyancy → more chaotic vortex structures, enhanced convective heat transfer, wavy isotherms replacing smooth conduction-dominated profiles.

Effect of Hartmann Number (Ha) on Flow Flux (n=0.8, Ra=2×10⁶)

HaFlow Flux (Ψ_max)% Reduction
573.3986  
1541.3719−43.58%  
2523.4844−43.29%  

Higher Ha → stronger Lorentz force opposing buoyancy → suppressed convection, smoother isotherms, thicker boundary layers. Nu̅ drops 55.39% and Sh̅ drops 50.45% (Ra=2×10⁶) as Ha increases from 5 to 25.

Effect of Power-Law Index (n) on Flow Flux (Ha=15, Ra=2×10⁶)

nFlow Flux (Ψ_max)% Reduction
0.8 (shear-thinning)41.3719  
1.0 (Newtonian)32.8776−20.53%  
1.4 (shear-thickening)16.7523−49.04%  

Higher n → more viscous → slower flow → conduction-dominated heat transfer replacing convection.

Effect of Volume Fraction (φ) on Flow Flux (Ha=15, n=0.8, Ra=2×10⁶)

φFlow Flux% Change vs φ=0
0%39.7087
4%41.3719+4.18%

Increased φ → slightly higher effective viscosity (reduces flow velocity) but enhanced thermal conductivity (improves heat transfer). Net effect: small increase in Nu̅, slight decrease in Sh̅.

Effect of Wave Number (N) on Flow Flux (Ha=15, n=0.8, Ra=2×10⁶)

NFlow Flux% Change (vs N−1)
330.2519
436.97+22.21%
541.3719+11.91%
643.422+4.95%

📊 Table 4 — Effect of Wave Number (N) on Average Nu̅ and Sh̅

RanHaφN=3 Nu̅N=4 Nu̅N=5 Nu̅N=6 Nu̅N=7 Nu̅N=3 Sh̅N=4 Sh̅N=5 Sh̅N=6 Sh̅N=7 Sh̅
2×10⁵0.81503.54833.49963.54953.38223.3166.49686.57256.61345.88386.098
2×10⁵0.8150.044.19544.12774.08223.95963.79446.19296.35116.15625.67515.6118
2×10⁵1.41503.00032.90572.75212.62422.46964.35984.28033.88473.68773.3673
2×10⁵1.4150.043.76123.64653.47843.31413.13434.04633.91863.56123.35993.0744
2×10⁶0.81509.5149.65499.70648.32148.883617.43617.1318.65514.54518.044
2×10⁶0.8150.0410.47110.73910.5199.30179.489616.48216.46817.33314.00716.678
2×10⁶1.41504.95684.91664.47844.19973.8588.30988.3647.58817.28836.6779
2×10⁶1.4150.045.46065.31824.86314.54454.18327.72757.72056.99046.67226.0894

Increasing N from 3→7: Nu̅ increases by up to 47.55% and Sh̅ by up to 45.32% (total values), as longer arc length creates more vortices enhancing convective transport. Average values may decrease locally due to flow separation effects.


📊 Table 9 — ML Model Performance Comparison (Test Set)

TargetModelRMSEMAPE [%]
Nu̅Decision Tree0.22151.94920.9918
 Random Forest0.16221.50970.9956
 FFNN0.05160.51070.9995
 1D-CNN0.04750.6280.9996
Sh̅Decision Tree0.32421.9660.9950
 Random Forest0.26601.56710.9966
 FFNN0.18121.03810.9984
 1D-CNN0.10770.75530.9994
|Ψ|Decision Tree6.95793.61370.9946
 Random Forest5.33333.11050.9969
 FFNN2.03111.79130.9995
 1D-CNN2.313712.57250.9995
ViscosityDecision Tree1.75854.65420.8532
 Random Forest1.51253.85620.8755
 FFNN3.11242.32540.9345
 1D-CNN4.453319.75520.9652
1D-CNN and FFNN consistently outperform tree-based models. **1D-CNN is best for Nu̅ and Sh̅; FFNN is best forΨ** in terms of RMSE.

📊 Table 11 — CFD vs FFNN Prediction Comparison (Nu̅ and Sh̅)

HaRaφCFD Nu̅ (n=0.8/1/1.4)CFD Sh̅ (n=0.8/1/1.4)FFNN Nu̅ (n=0.8/1/1.4)FFNN Sh̅ (n=0.8/1/1.4)
52×10⁵0.006.7015 / 4.9996 / 3.058912.260 / 8.665 / 4.8026.2576 / 5.1125 / 2.993111.891 / 8.758 / 5.051
52×10⁵0.047.134 / 5.3131 / 3.639911.084 / 7.841 / 4.2317.204 / 5.0125 / 3.832210.925 / 8.043 / 3.985
52×10⁶0.0015.341 / 9.868 / 4.98226.254 / 16.239 / 8.03015.072 / 9.931 / 5.05226.321 / 16.432 / 8.245
52×10⁶0.0416.699 / 10.664 / 5.33323.771 / 14.587 / 7.36816.651 / 10.773 / 5.12223.552 / 14.652 / 7.515
152×10⁵0.003.5495 / 3.1932 / 2.75216.613 / 5.476 / 3.8853.6015 / 3.0543 / 2.52216.512 / 5.325 / 3.904
152×10⁵0.044.0822 / 3.7921 / 3.47846.156 / 5.100 / 3.5614.0512 / 3.8321 / 3.49125.960 / 6.051 / 3.435
152×10⁶0.009.7064 / 7.4726 / 4.478418.655 / 13.635 / 7.5889.851 / 7.254 / 4.53218.753 / 13.627 / 7.645
152×10⁶0.0410.519 / 8.0397 / 4.863117.333 / 12.468 / 6.99010.495 / 7.935 / 5.01517.421 / 12.512 / 7.001
252×10⁵0.002.866 / 2.742 / 2.6244.501 / 3.857 / 3.1952.903 / 2.865 / 2.3124.235 / 3.835 / 3.245
252×10⁵0.043.571 / 3.491 / 3.4114.204 / 3.668 / 3.0443.711 / 3.527 / 3.2154.222 / 3.712 / 2.991
252×10⁶0.006.837 / 5.545 / 3.90213.796 / 10.89 / 6.9146.924 / 5.326 / 4.02613.832 / 10.903 / 7.002
252×10⁶0.047.357 / 5.987 / 4.35612.953 / 10.134 / 6.3987.556 / 6.052 / 3.96413.015 / 10.145 / 6.426

FFNN predictions closely match CFD results across all parameter combinations, confirming surrogate model reliability.


📊 ML Hyperparameters (Optimized)

ModelKey HyperparametersNu̅Sh̅|Ψ|
Decision Treemax_depth=10/12/10; criterion=squared_error
Random Forestn_estimators=100; max_depth=12/10/14
FFNNLayers: (256,128,64,32)/(256,128,64)/(256,128,64,32,16); activation=relu+tanh; optimizer=adam
1D-CNNFilters: (128,64,32); kernel=(3,2,1); dropout=0.5; FCNN=(64,32,16); optimizer=RMSprop; lr=0.0001

Training/Prediction Times

ModelNu̅ TrainNu̅ PredictSh̅ TrainSh̅ Predict|Ψ| Train|Ψ| Predict
DT10 ms1 ms11 ms2 ms10 ms2 ms
RF629 ms17 ms674 ms17 ms760 ms20 ms
FFNN24,060 ms110 ms19,060 ms110 ms20,530 ms120 ms
1D-CNN152,970 ms120 ms193,680 ms130 ms200,500 ms140 ms

1D-CNN achieves highest accuracy but requires ~153 seconds to train vs 10 ms for DT.


📊 Feature Importance (SHAP & Permutation Analysis)

Both FFNN and 1D-CNN agree: Ra and n are the dominant features for predicting Nu̅ and Sh̅.

FeatureImportance for Nu̅Importance for Sh̅Importance for |Ψ|
Ra★★★★★ (most important)★★★★★★★★★★
n★★★★★★★★★★★★
Ha★★★★★★★★★★ (gains importance)
φ_P1★★★★
φ_P2★★★★
N★ (lowest)★ (lowest)
Increasing Ra → higher Nu̅, Sh̅,Ψ. Increasing n → decreases all three (more viscous = less convection).

📊 Polynomial Regression Correlations (2nd-degree, R²≥0.953)

Nu̅ = 12.2035 − 0.1470N + 1.08×10⁻⁵Ra − 0.4553Ha − 9.2873n
      + 6.1264φ_p1 − 6.1264φ_p2 + 0.0037Ha² + 0.2574Han + 2.0833n²
      + 8.3373nφ_p1 + 8.3373nφ_p2 + ...  (R² = 0.953)

Sh̅ = 19.7753 − 0.1865N + 2.032×10⁻⁵Ra − 0.7619Ha − 15.9467n
      − 5.1611φ_p1 − 5.1611φ_p2 + 0.0046Ha² + 0.4264Han
      + 0.6107Haφ_p1 + 0.6107Haφ_p2 + ...  (R² = 0.957)

|Ψ| = 244.5815 + 7.7899N + 0.0004Ra − 17.3095Ha − 187.4751n
      + 0.1877Ha² + 9.1834Han + 16.1567n² + ...  (R² = 0.960)

Key physics captured: Ra has positive effect on all targets; Ha and n have strong negative effects; φ increases Nu̅ but decreases Sh̅.


Key Conclusions

  • Increasing n (0.8→1.4) reduces flow flux by 49.04% and significantly lowers Nu̅ and Sh̅; shear-thinning (n<1) promotes convection, shear-thickening (n>1) promotes conduction
  • Increasing Ra (2×10⁴→2×10⁶) boosts flow flux by 769.22% + 354.21% in two steps
  • Increasing Ha (5→25) reduces flow flux by 43.58% then 43.29%; magnetic Lorentz force suppresses buoyancy-driven convection
  • Adding φ=4% nanoparticles increases flow flux by only 4.18% but improves thermal conductivity
  • Wave count N enhancement: Nu̅ increases up to 47.55% and Sh̅ up to 45.32% (N=3→7)
  • 1D-CNN best overall: R²=0.9996/0.9994/0.9995 for Nu̅/Sh̅/Ψ; MAPE < 1% for Nu̅ and Sh̅

📚 Citation

@article{ahad2025mhd,
  title={Machine learning-driven predictive modeling of magnetohydrodynamic double diffusion of non-Newtonian hybrid ferrofluids with variable thermophysical properties within corrugated cylinders},
  author={Ahad, Jawad Ibn and Molla, Md Mamun and Siddiqa, Sadia and Naqvi, Sahrish Batool},
  journal={Engineering Applications of Artificial Intelligence},
  volume={141},
  pages={109455},
  year={2025},
  publisher={Elsevier},
  doi={10.1016/j.engappai.2024.109455}
}