APPSolver: Adaptive Patch Partitioning for Point-Wise Ship Flow Prediction on Unstructured Meshes
Organizations: College of Shipbuilding Engineering, Harbin Engineering University
Abstract
Large non-uniform point sets make direct attention-based surrogate modeling costly for ship hydrodynamics. We introduce APPSolver, a point-wise flow-prediction framework built around Adaptive Patch Partitioning (APP), a deterministic quadtree representation for fixed two-dimensional horizontal slices extracted from ship CFD simulations. APP assigns finer patches near the hull and coarser patches farther away, downsamples patch contents, and recovers predictions to the full reference point set. Under a corrected protocol that constructs natural pairs before splitting, reuses training-set normalization statistics, and reports three model seeds, learned tokenizers are more accurate than APP-Transformer, and a persistence baseline has lower one-step MAE on all three ShipBench hulls. The supported benefit of APP is therefore computational rather than universal predictive superiority: on a representative DTC input, APP-Transformer requires 1.815 GFLOPs and 1.309 ms per model forward, while a matched ablation shows that adaptive partitioning reduces MAE by 16.4-24.9% relative to a uniform partition augmented with learned slicing. Condition encoders provide setting-dependent gains in leave-one-hull-out evaluation, but the current absolute next-state objective does not establish accurate long-horizon dynamics. These results characterize APP as a compact spatial representation with an explicit accuracy--efficiency trade-off. Code is available at https://github.com/wenhuahuo/APPSolver .
Figures & tables
| DTC | KCS | KVLCC2 | ||||
|---|---|---|---|---|---|---|
| Model | MAE | Rel. | MAE | Rel. | MAE | Rel. |
| APP-Transformer | .09254 .00016 | .22406 .00046 | .12910 .00125 | .26102 .00163 | .04600 .00085 | .96909 .00881 |
| APP-DPT | .16703 .00221 | .32745 .00240 | .21707 .00377 | .38297 .00585 | .05513 .00107 | .98120 .00486 |
| Transolver | .04512 .00077 | .18113 .00043 | .08942 .00154 | .22394 .00269 | .03507 .00201 | .93869 .03573 |
| UPT | .04405 .00093 | .18467 .00074 | .08861 .00115 | .22546 .00042 | .03894 .00320 | .95292 .00995 |
| GNOT | .14898 .00111 | .31130 .00035 | .20378 .00628 | .37454 .00730 | .07015 .00265 | .98318 .00175 |
| Hull | Overall | ||||
|---|---|---|---|---|---|
| DTC | .09254 .00016 / .03753 | .06094 .00136 / .02072 | .09679 .00069 / .04346 | .09394 .00074 / .03798 | .11849 .00076 / .04795 |
| KCS | .12910 .00125 / .07707 | .06667 .00040 / .02950 | .11234 .00008 / .06080 | .10171 .00098 / .05625 | .23567 .00453 / .16174 |
| KVLCC2 | .04600 .00085 / .03196 | .05351 .00239 / .03288 | .04762 .00244 / .02923 | .05403 .00131 / .03330 | .02883 .00054 / .03241 |
| Model | Cavity | Tube | Dam | Cylinder |
|---|---|---|---|---|
| APP-Transformer | .05659 .00166 | .04915 .00291 | .07452 .00350 | .08088 .00129 |
| APP-DPT | .12221 .00555 | .12593 .00083 | .16252 .00232 | .18833 .00718 |
| Transolver | .01188 .00336 | .02188 .00281 | .02968 .00253 | .01880 .00273 |
| UPT | .00827 .00249 | .02005 .00194 | .03406 .00410 | .02029 .00482 |
| GNOT | .09395 .00392 | .25438 .00169 | .14753 .01018 | .16611 .00489 |
| FNO | .07837 .00172 | .17955 .00867 | .33922 .00635 | .24454 .01226 |
| Strategy | DTC | KCS | KVLCC2 |
|---|---|---|---|
| Adaptive | .09254 .00016 | .12910 .00125 | .04600 .00085 |
| Uniform | .12431 .00152 | .16564 .00085 | .04890 .00184 |
| Uniform + learned | .12324 .00026 | .16086 .00022 | .05502 .00046 |
| Hull | Best Transolver | Best UPT | APP-Transformer |
|---|---|---|---|
| DTC | 32 slices: .04512 .00077 | 64 tokens: .04395 .00065 | .09254 .00016 |
| KCS | 8 slices: .08855 .00115 | 8 tokens: .08804 .00118 | .12910 .00125 |
| KVLCC2 | 4 slices: .03458 .00160 | 8 tokens: .03496 .00229 | .04600 .00085 |
| Scenario | Zero | Numeric MLP | Fourier MLP | FiLM | Qwen2.5 | Qwen3.5 |
|---|---|---|---|---|---|---|
| Full ShipBench | .03979 | .04048 | .04133 | .04036 | .04069 | .04128 |
| Leave out DTC | .02690 | .02623 | .02859 | .17942 | .02717 | .02609 |
| Leave out KCS | .04395 | .04779 | .04273 | .23264 | .04262 | .04199 |
| Leave out KVLCC2 | 7.84960 | 8.24206 | 8.00103 | 8.50888 | 7.89234 | 7.77022 |
| Hull | Cumulative ratio | ||||
|---|---|---|---|---|---|
| DTC | .08295/.02751 | .18484/.07201 | .29028/.09217 | 1.33241/.10816 | 6.01 |
| KCS | .11286/.05944 | .22500/.09099 | .33339/.09919 | .76954/.13835 | 3.81 |
| KVLCC2 | .01679/.00378 | .05459/.00856 | .06893/.01004 | .07087/.01173 | 6.44 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Model | Params (M) | FLOPs (G) | GPU median (ms) |
|---|---|---|---|
| APP-Transformer (Ours) | 0.930 | 1.815 | 1.309 |
| APP-DPT (Ours) | 0.939 | 2.047 | 2.329 |
| Transolver | 0.989 | 53.644 | 24.767 |
| FNO | 0.990 | 7.482 | 3.785 |
| Fusion-DeepONet | 0.997 | 23.598 | 7.751 |
| UPT | 1.000 | 18.936 | 6.112 |
Neural Surrogate Modeling
Neural surrogate modeling uses learned models to approximate costly simulations, enabling faster prediction, design, control, and inference.
See all 418 papers