lpm_shift_wing
CRM da NASA no SHIFT-Wing: Cp de superfície em oitenta e dois variantes resolvidos fora daqui. A Large Physics Model over the design space: the geometry and the operating point in, the field on the body's surface out (cp on 2048 to 2048 points per design). Domain: aerodinâmica externa subsônica/transônica, dataset SHIFT-Wing (Luminary Cloud).
lpm_shift_wing v1.0.0 (revision v1.0.0) · part of the PINNeAPPle zoo · training data PINNeAPPle-Labs/lpm-shift-wing-heldout
Try it without installing anything: PINNeAPPle zoo demo (pick lpm_shift_wing: its predictions along each input with their band and where its physics checks warn or fail, and your own inputs evaluated in the browser).
Task: CRM da NASA no SHIFT-Wing: Cp de superfície em oitenta e dois variantes resolvidos fora daqui
Inputs
| Name | Unit | Description |
|---|---|---|
alpha_deg |
- | design parameter of the family (bounds in validity_range) |
mach |
- | design parameter of the family (bounds in validity_range) |
reynolds_mac_million |
- | design parameter of the family (bounds in validity_range) |
ar |
- | design parameter of the family (bounds in validity_range) |
sweep_c4_deg |
- | design parameter of the family (bounds in validity_range) |
span_over_mac |
- | design parameter of the family (bounds in validity_range) |
Outputs
| Name | Unit | Description |
|---|---|---|
cp |
- | the family's reference field on the body's surface points |
Validity range
alpha_deg: [0.0177, 3.9902]mach: [0.5, 0.5]reynolds_mac_million: [25.9912, 35.8348]ar: [7.5065, 10.9933]sweep_c4_deg: [25.0548, 37.473]span_over_mac: [5.89284, 9.80992]regime: inside the family's declared geometry and operating bounds
Known limitations
- gate accuracy: failed -- relative L2 against the reference on the held-out points
- the reference itself: solver — SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5, with the assumptions it lists
- agreement with a solver or with measured data for any geometry of this family
- whether the ensemble spread is calibrated: it is the spread between bootstrap heads
- behaviour outside the declared geometry and operating bounds of the family
- the gate accuracy: failed
- the gate boundary: not run
- the gate residual: not run
- the metrics shipped with this release are recomputed on a 14-design sample of the held-out set; the campaign's full-set number is under campaign/held_out_relative_l2 (14 designs)
Architecture
LargePhysicsModel—{"dim": 3, "n_fields": 1, "n_params": 6, "radii": [0.1, 0.4, 1.2], "n_freq": 6, "width": 128, "code": 32, "n_heads": 4, "backbone": "attention", "attn_heads": 4, "attn_layers": 2}
Physics
- \nabla\cdot\left(\rho\mathbf{u}\right)=0,\quad \nabla\cdot\left(\rho\mathbf{u}\otimes\mathbf{u}\right)=-\nabla p+\nabla\cdot\left[\left(\mu+\mu_t\right)\left(\nabla\mathbf{u}+\nabla\mathbf{u}^{T}-\frac{2}{3}\nabla\cdot\mathbf{u},\mathbf{I}\right)\right],\quad C_p=\frac{p-p_\infty}{\frac{1}{2}\rho_\infty U_\infty^{2}}
Validation
Reference: SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5 -- Luminary Cloud, SHIFT-Wing: High-Fidelity Computational Fluid Dynamics Dataset for Transonic Wing External Aerodynamics, 2025 — https://huggingface.co/datasets/luminary-shift/Wing (amostra: 82 casos); geometria de base: NASA Common Research Model (CRM), high-speed CRM, https://commonresearchmodel.larc.nasa.gov/. Assumptions: os oitenta e dois casos são a amostra publicada do SHIFT-Wing, não o repositório completo: o número medido vale para estes corpos, e um modelo treinado neles não viu o resto do espaço de projeto; todos os casos são M = 0,5 e variam em ângulo de ataque (0,02 a 3,99 graus) e em seis parâmetros de asa e fuselagem; o Mach entra na condição como constante; o alvo é o Cp de superfície que o solver deles escreveu na malha adaptada final, amostrado uniformemente em área: a densidade da amostra é a do corpo, não a da malha adaptada, que é mais fina onde o escoamento interessa; a divisão treino/validação/held-out é nossa (um caso em cada seis, sistemático) porque a Luminary não publica uma para a amostra; ela é por geometria; a licença é cc-by-nc-4.0: o modelo ajustado aqui é evidência de que o pipeline funciona, e nunca um produto — ver pinneapple_neural.lpm_stages.shift
| Metric | Value |
|---|---|
| heldout/relative_l2 | 0.3474333944082873 |
| heldout/relative_l2_p90 | 0.4584903844642426 |
| heldout/absolute_error_p90 | 0.11121799647808076 |
| heldout/constant_field_baseline_relative_l2 | 0.9103302038442977 |
| heldout/n_designs | 14.0 |
| campaign/held_out_relative_l2 | 0.34743339256873906 |
| campaign/held_out_relative_l2_p90 | 0.344646606055152 |
| campaign/constant_field_baseline_relative_l2 | 0.9105652739756732 |
| campaign/n_designs | 14.0 |
Cost
- trainable_parameters: 344676
- train_seconds: 4240.886
- device: cpu
Trust
Decision: REJECT · score 0.33 · coverage 100%
- held-out heldout/relative_l2 within the zoo acceptance limit: falhou (crítica)
- worst of the 14 stored held-out designs: 0.5698 against the family's tolerance 0.15: falhou
- score 0.33 abaixo do mínimo de 0.80
Published despite REJECT: experimental tier: shipped as a reproducible base (weights, card, held-out sample, fine-tune hook) with the family's own verdict REJECT and the measured held-out error on the card; not a verified model and not to be used as one without independent review
Training data
- family: pp_shift_wing
- dataset: lpm_shift_wing_heldout
- campaign: /Users/yanbarros/lpm-campaign
- split: {'policy': 'the published split of the dataset: a held-out body was held out before training', 'seed': 0, 'holdout_fraction': 0.25, 'n_train_designs': 67, 'n_holdout_designs': 14, 'among_refined': [], 'n_train_geometries': 67, 'n_holdout_geometries': 14, 'locked_fraction': 0.0, 'n_locked_designs': 0, 'locked_policy': 'no locked split: the whole held-out is a validation set, and is read by the refinement round'}
- full_dataset: {'schema': 'pinneapple.lpm.dataset/1', 'seed': 0, 'n_designs': 81, 'n_geometries': 81, 'conditions_per_geometry': 1}
- sample: {'n_designs': 14, 'n_points': 28672, 'n_parameters': 6, 'n_neighbourhood_features': 21, 'dtypes': {'params': 'float64[6]', 'conditioning': 'float32[6]', 'points': 'float32[3]', 'normals': 'float32[3]', 'target': 'float32[1]', 'local': 'float32[21]', 'offsets': 'int64'}}
License: apache-2.0
Citation
Luminary Cloud, SHIFT-Wing: High-Fidelity Computational Fluid Dynamics Dataset for Transonic Wing External Aerodynamics, 2025 — https://huggingface.co/datasets/luminary-shift/Wing (amostra: 82 casos); geometria de base: NASA Common Research Model (CRM), high-speed CRM, https://commonresearchmodel.larc.nasa.gov/
How to use
pip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"
import pinneapple as pp
model = pp.zoo.load("lpm_shift_wing") # weights checked against their SHA-256
inputs = {"alpha_deg": 10.3791, "mach": 31.9514, "reynolds_mac_million": 9.39171, "ar": 1.2856, "sweep_c4_deg": 0.5, "span_over_mac": 26.3792}
out = model.predict(inputs) # warns for inputs outside the validity range
print({k: round(float(v[0]), 6) for k, v in out.items()})
# {}
print(bool(model.in_range(inputs)[0])) # inside the validity range
# False
print(pp.zoo.validate(model).decisao) # card metrics reproduced + physics checks
# REJECT
The inputs are the first held-out test case of the training dataset; its reference value is cp = -0.118561. pp.zoo.evaluate("lpm_shift_wing") recomputes every metric of the card on the stored reference.
Hosted inference
No Hugging Face inference provider can run this model, so the Hub widget is off (inference: false). It is a small PyTorch network, but its prediction is more than a forward pass: the inputs are encoded and normalised, the outputs denormalised (and, for ensembles, averaged with their spread), and every query is checked against the validity range and the model's physics checks. The pinneapple library does all of that (below); the ONNX graph carries the pre- and post-processing but not the checks; the zoo demo Space shows the model along a sweep of each input and runs it, with its checks, in your browser.
Files
| File | Content | SHA-256 |
|---|---|---|
weights.pt |
PyTorch state_dict (torch.load(weights_only=True)), what pp.zoo.load reads |
cfc0ae9f2caaeb7fc60283732bd4ca9388ba5e53df8de1dd7b986d2b2689fbd4 |
config.json |
architecture and normalisation | 5652d1c242f831959891f5c9a7fe13d8969cb05d4f83014579a7e7c65c1370fd |
model_card.json |
the model card: inputs, outputs, validity range, metrics, trust report | 9d6bbccb9b30f9392808c6df895737f72e97f60207fb4efac6a58201fa80d8e9 |
model.safetensors |
the same tensors as weights.pt in safetensors format (pinneapple_hub.zoo.export.load_safetensors loads them) |
derived |
example.json |
the "How to use" case: inputs, outputs, reference, verdicts | derived |
The SHA-256 are those of the package's manifest: pp.zoo.load refuses any other file.
Cite
If you use this model, please cite PINNeAPPle (software, Zenodo DOI 10.5281/zenodo.23343062; see CITATION.cff):
@software{pinneapple,
author = {Barros, Yan and Schiassi, Enrico},
title = {PINNeAPPle},
doi = {10.5281/zenodo.23343062},
url = {https://github.com/PINNeAPPle-Labs/PINNeAPPle}
}
- Downloads last month
- -