jax-pde

Solve PDEs and run differentiable physics simulations with JAX.

19|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/tondevrel/scientific-agent-skills --skill jax-pde
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jax-pde
Source: https://github.com/tondevrel/scientific-agent-skills/tree/main/skills/jax-pde
Command: npx skills add https://github.com/tondevrel/scientific-agent-skills --skill jax-pde

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables the solution of complex Partial Differential Equations (PDEs) and the development of differentiable physics models using the JAX library, bridging traditional numerical methods with modern machine learning techniques.

Core Features & Use Cases

  • Differentiable Solvers: Leverage JAX's automatic differentiation to compute gradients through PDE solvers, enabling inverse problems and sensitivity analysis.
  • Physics-Informed Neural Networks (PINNs): Implement neural networks that incorporate physical laws as constraints for solving PDEs, especially useful for inverse design and data-driven modeling.
  • Finite Difference Methods (FDM): Apply and differentiate traditional numerical methods like FDM for solving PDEs on grids.
  • Use Case: Optimize material properties (e.g., viscosity) of a fluid by comparing simulation results with experimental data, using JAX to efficiently compute the gradients of the objective function with respect to these properties.

Quick Start

Use the jax-pde skill to implement a PINN for solving the Burgers' equation.

Frequently Asked Questions about jax-pde

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I solve PDEs with physics-informed neural networks using JAX?

To solve partial differential equations with JAX, you can use physics-informed neural networks that enforce physical laws as constraints, or apply finite difference methods on grids for forward and inverse scientific computing problems.

What is differentiable physics simulation and how does automatic differentiation help?

Differentiable physics simulation uses JAX automatic differentiation to compute gradients directly through PDE solvers. This enables efficient sensitivity analysis and gradient-based optimization for inverse problems in scientific computing.

Can I use finite difference methods on grids for differentiable physics simulations?

Yes, you can apply and differentiate traditional finite difference methods for solving PDEs on grids. JAX enables gradient computation through these numerical solvers, bridging conventional methods with differentiable physics simulations.

How do I optimize material properties by comparing simulation results with experimental data?

You optimize material properties by defining an objective function that compares simulation results with experimental data. JAX automatically computes the gradients of this objective with respect to physical properties like viscosity, enabling efficient inverse problem solving.

Do I need JAX installed to run finite difference method solvers for PDEs?

Yes, you need JAX installed because the skill requires JAX for automatic differentiation and numerical computation on hardware accelerators to execute and differentiate finite difference method solvers.