The Taylor-Green implementation is pretty specific and I would first evaluate what type of dynamical system you are trying to learn. You can easily define time as another input variable to any PINNs example. E.g. wave equation.
Regardless please see the documentation for this problem for some details. Responses to questions are below:
Why we made 2 domains?
One for the initial state and the other for the current time window. This is because the initial state has a different (analytical function) constraint than the time-window constraints (N-S PDE and others).
Couldn’t find the expression for “u_prev_step_diff” and all but in the below script they are defined.
These are generated under the hood when using a moving time window architecture. Basically this model wrapper will store two models (one of the current time window and the previous) and return the difference in predictions between the two models. So this constraint is imposing continuity between time windows.
hi @ngeneva,
Thank you for the reply. I went through the scripts on “MovingFrame” there I found how the “_prev_step” & “_prev_step_diff” are been defined.