Windows Flag
Microsoft®
Windowsxp

Copyright © 1985-2001

Microsoft Corporation

Microsoft®
My Computer
My Documents
Internet Explorer
Recycle Bin
New Folder
Pictures
Music
Videos
Computational Physics Notebook

Computational Physics Notebook

Numerical physics solvers, differential equations, and simulation algorithms by Asit Purohit.

Physics-Informed Neural Networks (PINNs)

PINNs incorporate physical laws (such as energy, momentum conservation, and differential operators) directly into the deep learning loss objective:

pinn_loss.pyPyTorch / Autograd
def physics_residual_loss(model, x, t, nu=0.01):
    u = model(x, t)
    # Automatic differentiation for physical derivatives
    u_t = torch.autograd.grad(u, t, create_graph=True)[0]
    u_x = torch.autograd.grad(u, x, create_graph=True)[0]
    u_xx = torch.autograd.grad(u_x, x, create_graph=True)[0]
    
    # 1D Burgers' Equation residual: u_t + u*u_x - nu*u_xx = 0
    residual = u_t + u * u_x - nu * u_xx
    return torch.mean(residual ** 2)

Open Source Repositories

physics-sim-webgpu

Real-time Verlet particle dynamics and cloth simulation in WebGL/WebGPU.

View Repository
nextjs16-retro-os

Dual-layer Server-Side Rendered retro desktop environment with Schema.org JSON-LD.

View Repository
Asit Purohit
Asit PurohitAdministrator
E-mailcontact@asitpurohit.in
My Recent Documents
►

Asit Purohit | Physics Educator & Founder of MetaMotion

Official website of Asit Purohit — Physics educator, NIT Rourkela alumnus, and founder of MetaMotion.

Alumnus of National Institute of Technology (NIT) Rourkela

Founder of MetaMotion (https://metamotion.in)