PhysicsNeMo Examples Catalog#
Explore our comprehensive collection of examples organized by topic. Use the filters below to find examples that match your interests.
2D Darcy Flow using Fourier Neural Operators
How to set up a data-driven model for a 2D Darcy flow using the Fourier Neural Operator (FNO) architecture inside of PhysicsNeMo.
View Example2D Darcy Flow using Fourier Neural Operators and Physics Losses
This example demonstrates physics informing of a data-driven model using two approaches.
View ExampleLid Driven Cavity Flow using PINNs
Purely physics-driven model for solving a Lid Driven Cavity (LDC) flow using PINNs.
View ExampleMeshGraphNet for transient vortex shedding
This example is a re-implementation of the DeepMind's vortex shedding example deepmind/deepmind-research in PyTorch.
View ExampleAdaptive Fourier Neural Operator (AFNO) for weather forecasting
Code used for FourCastNet: A Global Data-driven High-resolution Weather Model using Adaptive Fourier Neural Operators.
View ExampleMeshGraphNet with Lagrangian mesh
Example of MeshGraphNet for particle-based simulation, based on the Learning to Simulate work.
View ExampleLearning the flow field of Stokes flow
MeshGraphNet model to learn the flow field of Stokes flow and further improve the accuary of the model predictions by physics-informed inference
View ExampleVirtual Foundary GraphNet
Graph-based deep learning approach to predict the part deformation
View ExampleAeroGraphNet for external aerodynamic evaluation
How to train the AeroGraphNet model for external aerodynamic analysis of both simplified (Ahmed body-type) and more realistic (DrivAerNet dataset) car geometries.
View ExampleDecomposable Multi-scale Iterative Neural Operator for External Aerodynamics
DoMINO is a local, multi-scale, point-cloud based model architecture to model large-scale physics problems such as external aerodynamics.
View ExampleFIGConvUNet for External Aerodynamics
FIGConvUNet is a novel architecture that can efficiently solve CFD problems for large 3D meshes and arbitrary input and output geometries.
View ExampleXAeroNet for External Aerodynamics
XAeroNet is a collection of scalable models for large-scale external aerodynamic evaluations. It consists of two models, XAeroNet-S and XAeroNet-V for surface and volume predictions, respectively.
View ExampleRNN for transient 2D Navier Stokes flow
This example uses recurrent neural networks for spatio-temporal prediction of the Navier Stokes flow.
View ExampleRNN for transient 3D Gray Scott system
This example uses recurrent neural networks for spatio-temporal prediction of the Gray-Scott reaction diffusion system.
View ExampleNested Fourier Neural Operater for Darcy Flow
This example demonstrates how to set up a data-driven model for a 2D Darcy flow using the Nested Fourier Neural Operator (FNO).
View ExampleShallow Water Equations - Distributed GraphCast
This example demonstrates how to leverage a distributed version of GraphCast to scale to larger Graph Neural Network (GNN) workloads.
View ExampleTemporal attention model in Mesh-Reduced space for transient vortex shedding
This example is an implementation of the paper “Predicting Physics in Mesh-reduced Space with Temporal Attention” in PyTorch.
View ExampleTransolver for Darcy Flow
This example demonstrates how to set up a data-driven model for a 2D Darcy flow using the Transolver inside of PhysicsNeMo.
View ExampleDiffusion-based-Fluid-Super-resolution
PyTorch implementation of "A Physics-informed Diffusion Model for High-fidelity Flow Field Reconstruction".
View ExampleThermal and airflow surrogate model for Datacenter design
Demonstrates the use of a Deep Learning model (3D UNet) for training a surrogate model for datacenter airflow to enable real-time datacenter design.
View ExampleMeshGraphNet for Reduced-Order cardiovascular simulations
Implements the one-dimensional Reduced-Order model based on MeshGraphNet presented in the paper Learning Reduced-Order Models for Cardiovascular Simulations with Graph Neural Networks.
View ExampleFourier Neural Operator for Brain anomaly detection
Fourier Neural Operator (FNO) for medical imaging.
View ExampleMolecular Dynamics using GNNs
MeshGraphNet model in PhysicsNeMo for developing a DL model for predicting forces/potential for a Lennard Jones System.
View ExampleERA5 Data Downloader and Converter
Tools for downloading ERA5 datasets via the Climate Data Store (CDS) API and processing them into formats suitable for machine learning
View ExampleGraphCast for weather forecasting
A re-implementation of the DeepMind’s GraphCast model in PhysicsNeMo.
View ExampleDLWP-HEALPIX model for weather forecasting
A re-implementation of the DLWP HEALPix model.
View ExampleDiagnostic models in PhysicsNeMo (precipitation)
This example contains code for training diagnostic models (models predicting an additional variable from the atmospheric state) using PhysicsNeMo.
View ExampleUnified Recipe for Training Global Weather Forecasting Models
This example demonstrates how to train a neural global weather forecast model.
View ExampleGenerative Correction Diffusion Model (CorrDiff) for Km-scale Atmospheric Downscaling
A cost-effective stochastic downscaling model, CorrDiff, is trained using high-resolution weather data and coarser ERA5 reanalysis.
View ExampleStormCast: Kilometer-Scale Convection Allowing Model Emulation using Generative Diffusion Modeling
This example demonstrates how to run training and simple inference for StormCast, a generative diffusion model designed to emulate NOAA’s High-Resolution Rapid Refresh (HRRR) model, a 3km operational CAM.
View ExampleTemporal interpolation of weather forecasts
This example demonstrates how to train a deterministic ModAFNO-based model to improve the temporal resolution of weather forecasts from their native resolution of 6 hours to 1 hour.
View ExampleDiffusion Model for Full Waveform Inversion
This example demonstrates the use of diffusion models and posterior sampling for Full Waveform Inversion (FWI) in the context of geophysics.
View ExampleInverse Problem: Recovering unknown PDE coefficients from data
Inverse PINN that recovers unknown advection-diffusion coefficients (kinematic viscosity and thermal diffusivity) from OpenFOAM observations of a heat-sink configuration. Demonstrates PhysicsInformer's detach_names mechanism and the choice between scalar and field parameterizations of the inverse variables.
View ExampleTopoDiff for performance-aware and manufacturability-aware topology optimization
This external contributiom from MIT presents a generative diffusion model with a guidance strategy to actively favors structures with low compliance and good manufacturability.
View ExampleHydroGraphNet for interpretable flood forecasting
This example demonstrates how HydroGraphNet, a physics-informed graph neural network, can be used to deliver accurate and explainable predictions of water depth and volume during flooding events.
View ExampleAutomotive Crash Dynamics
This example demonstrates how machine learning surrogates can be used to access automotive crashworthiness.
View ExampleExplore Examples on GitHub#
Find more examples and contribute to our open-source projects on GitHub.