AI Physics

Overview

The Rescale AI Physics Operating System (OS) provides a guided, end-to-end way to turn simulation data into high-accuracy surrogate models with fast and flexible inference. It is designed for simulation engineers — not AI experts — and supports a range of production-ready model architectures across multiple solvers.

A surrogate model is a fast approximation of a simulation solver, trained on completed simulation results. Once trained, a surrogate model can predict outputs for new inputs in seconds instead of hours, allowing you to explore more design candidates without running additional solver jobs.

Benefits

  • End-to-end guided workflow — The Rescale AI Physics OS manages the full lifecycle from simulation data preparation through model training, validation, and inference, with no custom scripts or machine learning pipelines required.
  • Designed for simulation engineers — built-in Jupyter Notebook templates, an AI copilot, and default training parameters make it accessible without deep AI expertise.
  • Fast inference, multiple environments — run inference interactively in AI Physics Training and AI Physics Inference, locally on any workstation or laptop via the local inference runner and client, or natively inside Blender and Autodesk Alias.
  • Broad solver support — AI Physics supports steady-state CFD and static FEA workflows today, with support for additional solvers and analysis types expanding over time. 

The AI Physics Workflow

The end-to-end process has four stages:

  1. Prepare Rescale Jobs — run your simulation jobs on Rescale with data preparation Automations enabled
  2. Create an AI Dataset — build a structured dataset from your completed simulation jobs
  3. Train the Surrogate Model — use AI Physics Training to select a model architecture, train, and validate
  4. Run Inference — use the trained model to predict outputs for new inputs and geometries instantly

Prerequisites

Before you begin:

  • AI Physics must be enabled for your organization. If you don’t see AI Datasets, Model Builder, or AI Models in the Rescale side navigation, contact your Rescale representative
AIPPrerequisites

Prepare Rescale Jobs

Before training a surrogate model, you need simulation data that covers the input space you want the model to predict over. The quality and coverage of your training data directly determines how well the surrogate model generalizes.

Run a parameter sweep or design of experiments (DOE) that samples a representative range of your inputs. Each completed run becomes one training sample or dataset case.

When setting up your Rescale jobs, enable two types of data preparation Automations so that your results are ready for AI training:

  • Metadata Extraction — extracts global input variable names and values from your solver files, and stores them as Custom Fields on each job. These become the global variables for your surrogate model.
  • AI Extraction — converts your solver output files to a standardized PyVista compatible format that AI Physics Training can ingest. 

Tip: Contact your Rescale representative if you do not see Automations for your solver of interest. 

To add Automations to a job:

  1. From the Rescale platform, open or create a job.
  2. Navigate to the Automations tab in the job configuration.
  3. Under the available Automations, locate and enable the Metadata Extraction Automation for your solver.
  4. Enable the AI Extraction Automation for your solver.
  5. Submit and run your jobs as usual.
image 281

Once your DOE is complete, verify that each run has finished successfully and that the expected output files and Custom Fields are present before proceeding.

How many jobs do I need? For problems with a small number of inputs and smooth, continuous outputs, a few dozen samples may be sufficient. High-dimensional inputs or highly non-linear responses typically require hundreds of samples. Start with what you have and expand if model accuracy is insufficient.


Create an AI Dataset

Once your simulation jobs are complete, you create an AI Dataset — a structured collection of simulation results that the surrogate model will be trained on.

AI Dataset creation happens inside a Training Session using a Jupyter Notebook template. The template guides you through collecting your job results, organizing them into the dataset structure, and validating that inputs and outputs are consistent across all runs.

To create an AI Dataset:

  1. From the Rescale platform, navigate to Model Builder in the left sidebar and click New Training Session.
  2. Click Continue without selecting a Dataset or Model.
  3. Click New Storage Device to create and configure a storage device to hold your dataset and model files and click Continue.
  4. Add a Workstation and configure the workstation hardware. Click Create to create the Training Session and launch the workstation. 
  5. Once the Training Session is ready, click Open Session, then click Open App to launch AI Physics Training.
  6. From AI Physics Training, click New Dataset. This opens a Jupyter Notebook template with step-by-step instructions for loading your completed Rescale job results and building the dataset.
  7. Follow the notebook instructions. The notebook will walk you through running commands to collect cases, initialize the dataset, and validate it. Once validation passes, your new AI Dataset appears in the AI Datasets table in Rescale.
  8. From AI Physics Training, you can merge, split, duplicate, and delete AI Datasets. You can also review the dataset cases and inspect the input and output variables. 
image 282

Mesh decimation: For high-resolution meshes, you can perform mesh decimation in AI Physics Training to reduce the mesh size and shorten training time. This is optional but can significantly speed up training for datasets with large meshes.

Tip: If you’re new to AI Physics, follow the end-to-end tutorials listed in the Tutorials section below before setting up your own jobs. The tutorials use pre-prepared job results so you can practice dataset creation and model training without running a full DOE first.

Notebook Copilot: The Notebook Copilot uses the Qwen2.5-Coder-14B large language model from Alibaba, licensed under Apache 2.0. No data is sent from the Notebook Copilot to Alibaba or third parties.


Train the Surrogate Model

Overview

Once your AI Dataset is prepared, you can train a surrogate model that learns the relationship between your simulation inputs and outputs. AI Physics offers two configuration methods: Auto Tune (recommended) for automated hyperparameter optimization, and Manual for full control over every training parameter.

Highlights

  • Auto Tune (Recommended): Automatically explore multiple hyperparameter configurations in parallel, drops weak candidates, and keeps the best model — work that would take weeks of manual experimentation
  • Four production-ready architectures: DoMINO, GeoTransolver, MeshGraphNet (built on PhysicsNeMo and licensed under Apache 2.0 and PyTorch) and TwoStreamTransformer (Rescale developed)
  • Built-in evaluation dashboards: R² scores, residual distributions, and 3D error visualizations to validate model quality
Model training configuration panel in AI Physics Training

Create a New Model

  1. Navigate to AI Physics > Models.
  2. Click + New Model.
  3. Select the AI Dataset you created and review the input and output parameters. Confirm that the correct variables are included.
  4. Choose how to split your data: you can automatically split into training and test sets, or use separate dedicated datasets for each.
  5. Enter a Model Name (e.g., “My Physics Model”).
  6. Optionally, select an existing model from the Select Model dropdown to create a new version of a previously trained model.

Choose a Configuration Method

Select Auto Tune or Manual under Configuration Method.

Use Auto Tune when…Use Manual when…
You want the best model without tuning expertiseYou have specific hyperparameter constraints
You’re training on a new dataset for the first timeYou need full control over every training parameter
You want to explore multiple configurations efficientlyYou’re reproducing a prior experiment exactly

Auto Tune

Auto Tune automatically optimizes your surrogate model’s hyperparameters and training configuration. You choose how long to search and Auto Tune handles the rest.

Select Your Model Architecture

Choose the architecture that matches your data type. Each tab displays a description and tags indicating supported use cases.

ArchitectureBest for
TwoStreamTransformerHighly efficient and suitable for both CFD and FEA use cases
DoMINOSteady-state CFD surface variable prediction (e.g., surface pressure, wall shear stress, drag and lift coefficients)
Transolver / GeoTransolverA geometry-aware transformer architecture designed for predictions over complex 3D geometries on unstructured meshes, where accurately capturing geometric relationships between mesh points is important.
MeshGraphNetA graph neural network architecture well-suited for FEA problems with complex deformation and stress field predictions

Set Search Duration

Auto Tune needs a time budget to explore configurations. Longer searches try more candidates and are more likely to find an optimal model.

OptionDurationBest for
Quick Check1 hourVerifying your data pipeline works, getting a rough baseline
Baseline Search (Recommended)6 hoursMost use cases — good balance of exploration and cost
Thorough Search24 hoursLarge or complex datasets where marginal accuracy gains matter
CustomSet your ownWhen you know your compute budget or have specific time constraints

Note: Search time covers exploration and model selection only. Initial setup and final model polish happen afterward and do not count against this time.

Cost estimation: Your maximum Auto Tune cost is bounded by: search duration × hardware hourly rate.

Maximum time per epoch: If you want to specify a maximum runtime for each epoch you can use this setting. The default should be sufficient for most cases.

Advanced Settings (Optional)

Expand the Advanced: Population Initialization section to configure how Auto Tune initializes its search.

Candidate Initialization

Controls where Auto Tune gets its starting hyperparameters:

  • Fresh population (default) — Every candidate starts from scratch with random hyperparameters. Use this for your first model on a dataset.
  • Compatible prior runs — Seeds hyperparameters from compatible prior Auto Tune runs in your organization, while keeping model weights fresh. Use this when your team has trained similar models before and you want to benefit from that history. The current run’s best hyperparameters are contributed back to the registry for future use.

Note: Compatible prior runs borrows the configuration recipe (learning rate, batch size, architecture settings) from prior experiments. It does not transfer trained model weights.

Optional Hyperparameter Seed

If you have a completed model of the same architecture trained on this dataset, you can use its hyperparameters as a starting point. This narrows the search space and can lead to faster convergence.

This option is only available when a compatible completed model exists. If you see “No compatible base models,” no prior model of the selected architecture has been trained to completion on your current dataset.

Select Hardware

Choose a GPU configuration for training. Both Auto Tune and Manual modes use this hardware selection.

  • Single GPU: lower cost, suitable for smaller datasets and models.
  • Multi-GPU: accelerates training with data-parallelism. Use when your model or batch size exceeds single-GPU memory. It does not fix GPU CUDA Out of Memory errors; for those you need a card with more memory per GPU.

Available hardware options display GPU type, VRAM, vCPU, RAM, and hourly cost.

Hardware selection panel

Review and Launch

The Auto Tune Preflight panel validates that all required inputs are configured before you can launch:

  • Training dataset selected
  • Model name entered
  • GPU hardware selected
  • Search plan configured (dataset setup complete)

Resolve any items marked Needs Attention, then click Start Auto Tune.

Auto Tune Preflight validation panel

Monitor Training Progress

Auto Tune Evolution

Once launched, navigate to the Auto Tune Evolution tab to track progress in real time.

Key Metrics

MetricWhat it means
Models TriedCandidates explored so far (out of planned total)
Models AdvancedCandidates promoted to full-length training
Best Accuracy So FarCurrent best validation accuracy across all candidates
GPU MemoryMemory consumed (of total available on selected hardware)
Search ProgressTime elapsed and remaining in your search budget

How Auto Tune Works (3 Phases)

  1. Explore & Narrow Down. Quick training runs evaluate many configurations. Weak candidates are dropped early to save compute.
  2. Train Top Models Fully. Surviving candidates receive full-length training to reach their true potential.
  3. Evaluate Winner. Final accuracy test on held-out data selects the best model.

Leaderboard

The Leaderboard — Best Models So Far ranks candidates by validation accuracy. Status shows whether a model advanced (promoted to deeper training), was dropped, or is still training.

Auto tune monitoring

Technical Details (Power Users)

Expand Show technical details for deeper insight:

  • Efficiency Frontier — Plots validation objective vs training cost (seconds per epoch). Identifies models that are both accurate and efficient.
  • Promotion Ladder — Visualizes the rung system. Candidates must prove themselves at progressively longer epoch counts (e.g., Rung 1: 100 epochs → Rung 2: 200 epochs → Rung 3: 300 epochs) to advance.
Advanced auto tune details

Training Curves

The Training Curves tab shows training and validation loss over time for the selected model version.

Evaluate Results

Understanding Accuracy vs R²

You’ll see two different metrics during and after training. They measure different things:

MetricWhere you see itWhat it measures
Accuracy (%)Auto Tune leaderboard during searchInternal search metric used to rank and promote candidates. Measures how well a candidate performs relative to others during exploration.
R² (Performance)Versions table after completionFinal evaluation on held-out test data. The definitive quality metric for your model. Measures how well predictions match true values on data the model never trained on.

These metrics can tell different stories. A candidate with high leaderboard accuracy during search may produce a lower R² on final evaluation because held-out test data presents harder cases than the training split. Always use R² as your ground truth for model quality.

Interpreting R²

R² valueInterpretationAction
Close to 1.0Strong model — predictions closely match true valuesDeploy for inference
Close to 0Model is no better than predicting the averageIncrease search duration or add more training data
NegativeModel performs worse than predicting the averageTry a longer search, more data, or a different architecture

Important: Auto Tune completing successfully does not guarantee a high-quality model. Always check the R² score in the Versions table before deploying.

Model Version Details

The winning candidate is automatically promoted to a model version, visible in the Versions table:

FieldDescription
Version NameModel name and version identifier
ArchitectureThe architecture used (e.g., TwoStreamTransformer)
PerformanceR² score on held-out test data
Training TimeWall-clock time for the final model training (not the full search duration)
Lineage“From Scratch” or the seed source used
StatusCompleted, Failed, or In Progress

Model Versions table with performance metrics 1

Manual Configuration

Select Manual when you need full control over every training parameter.

In Manual mode, you configure:

  1. Model architecture: same four options as Auto Tune (TwoStreamTransformer, DoMINO, Transolver/GeoTransolver, MeshGraphNet)
  2. Hyperparameters: learning rate, batch size, number of epochs, optimizer settings, and architecture-specific parameters
  3. Hardware: same GPU selection as Auto Tune

Default parameters are suitable for most use cases. Adjust individual parameters only if you have specific requirements or are iterating on a prior experiment.

Manual configuration parameter panel

Fine-Tuning an Existing Model

To improve a previously trained model:

  1. Select the existing model from the Select Model dropdown when creating a new model.
  2. The new version inherits the prior model’s architecture and configuration as a starting point.
  3. With Auto Tune, use the Optional Hyperparameter Seed in Advanced settings to seed from the prior model’s hyperparameters.
  4. With Manual, adjust specific parameters and retrain.

This is useful when you’ve added new simulation data to your dataset or want to improve accuracy on specific regions of the design space.

Troubleshooting

Auto Tune Failed

If you see “Auto Tune did not complete any valid trials,” the search budget was likely too short for your data complexity:

  • “Measured epoch cost leaves room for fewer than three additional search trials” — Your data/architecture combination is expensive per epoch. Increase your search budget (try Baseline Search or Thorough Search) to allow broader exploration.
  • Verify that your training dataset is correctly formatted and accessible.
  • Try a different architecture if the failure persists.

Low R² After Completion

If your model completes but shows a low or negative R²:

  1. Increase search duration. A Quick Check may not explore enough candidates for complex datasets.
  2. Add more training data. More simulation samples improve generalization.
  3. Try a different architecture. Some architectures perform better on certain data types.
  4. Check data quality. Ensure your simulation outputs don’t contain errors or extreme outliers.

GPU Out of Memory

If training fails due to GPU memory:

  • Select hardware with more VRAM (check the GPU Memory metric during training).
  • Note that switching to Multi-GPU does not fix CUDA Out of Memory errors — you need a card with more memory per GPU.


Run Inference on the Surrogate Model

Once a model is trained, you can run inference to predict simulation outputs for new input configurations — without launching a solver. AI Physics offers several inference options depending on your workflow and environment.

OptionBest for
AI Physics TrainingQuick interactive exploration while actively developing a model
AI Physics InferenceDedicated inference sessions on AI Models, without requiring a storage device
Local inference runner and clientRunning inference on a local workstation or laptop, including offline and on-premises environments
CAD plug-ins (Blender, Autodesk Alias)Running inference natively inside your CAD tool

Run Inference in AI Physics Training

You can run inference directly in AI Physics Training while reviewing a trained model. This is the quickest way to explore model predictions during model development.

  1. In AI Physics Training, navigate to the Inference tab
  2. In the Model panel, click Change to select the Model you would like to run inference on
  3. Configure the global input variables you want to vary using the input controls.
  4. Click Run Inference to generate a prediction. Results are displayed as an interactive 3D visualization and you can change the output displayed. 
  5. Adjust inputs and re-run to explore how outputs change across your design space.
Screenshot 2026 04 30 160805

Run Inference in AI Physics Inference

AI Physics Inference is a dedicated inference environment that does not require a storage device to run inference on your AI Models. 

  1. From the AI Models page in Rescale, click Run Inference.
  2. In the create workstation page, select the workstation hardware to run AI Physics Inference and click Submit.
  3. Once the workstation is launched, select Open App from the workstation status page.
  4. Running inference is the same as with AI Physics Training.

Run Inference Locally

The local inference runner and client let you download trained models from Rescale and run inference on any workstation or laptop — including offline and on-premises environments. The rescale-ai-client Python package provides access to the local inference runner and a standard API for building custom interfaces.

Note: For access to the local inference runner and client, contact your Rescale representative. 

Run Inference in CAD Tools

Rescale provides inference plug-ins for Blender and Autodesk Alias so designers can run surrogate model predictions natively within their CAD environment.

  1. To run inference on a given Model with Blender, navigate to Models from AI Physics Training or AI Physics Inference. 
  2. Navigate to the Model and version that you want to run inference on and click Run Inference in Blender. This launches Blender with the Model loaded and the Rescale AI Physics plug-in installed. 
  3. Adjust global inputs and geometry directly in the Blender environment, then run inference to see predicted outputs overlaid on your geometry in near real time.
Screenshot 2026 05 05 093038

Note: Surrogate predictions are most reliable within the range of inputs covered by your training data. Extrapolating beyond that range will produce less accurate results. It is good practice to validate a sample of predictions against full solver results before using the model for critical decisions.

Note: For access to the Autodesk Alias inference plug-in, contact your Rescale representative. 


Tutorials

Follow the tutorials below to train your first surrogate model end-to-end. Each tutorial uses pre-prepared job results so you can walk through the full AI Physics workflow — dataset creation, model training, and inference — without setting up your own DOE first.


FAQs

What is a surrogate model, and why would I use one? A surrogate model is trained on completed simulation results. Once trained, it can predict outputs for new inputs in seconds rather than hours. Surrogate models are useful for design space exploration, sensitivity analysis, and optimization studies where running a full solver for every configuration would be too expensive or slow.

Do I need AI or machine learning experience to use AI Physics? No. AI Physics is designed for simulation engineers. The Jupyter Notebook templates, default model parameters, and built-in evaluation dashboards guide you through each step. An AI copilot is also available in the notebook interface to help answer questions and suggest next steps using natural language.

How do I know if my trained model is accurate enough to use? After training, review the evaluation dashboards in AI Physics Training. These show R² scores broken down by output variable, residual distributions, and 3D error visualizations across your test cases. A high R² and low residuals across your test set indicate the model generalizes well. Always validate a sample of predictions against full solver runs before using the model for critical decisions.

Can I retrain or fine-tune a model after the initial training run? Yes. In AI Physics Training, go to Models > Training Approach and select Fine-tune Existing to resume training from a previous checkpoint. This is useful when you want to improve accuracy without starting from scratch, or when you have new training data to add.

What if I’m using a solver that isn’t listed as supported? AI Physics requires Metadata Extraction and AI Extraction Automations to be available for your solver. If your solver is not yet supported, contact your Rescale representative. Solver support is expanding over time, and your use case may inform the roadmap.