The governing PDE for 1D diffusion is given by ,
This PDE is valid for,
The initial condition for this PDE is,
The boundary conditions for this PDE are,
where,
The numerical solution for this problem is obtained using py-pde for following set of system parameters,
$D = 0.1$ $l = 1$ $t_{range} = 2\pi$
The specified functions are as follows,
$s(x, t) = 0$ $i(x) = 0$ $a(t) = 0$ $b(t) = sin(t)$
We define the fully physics based loss function as follows for training our neural network,
where,
As it can be noted, we have presented the loss as simple sum of losses coming from IC, BC and PDE. The implementation can be found in the PINNs unweighted loss folder.
- Constant weights for loss components
- hyperparameter tuning
- self adaptive weights
- Curriculum learning
- Seq2Seq learning