The tutorial of neuralPDE to solve the ODE system just has a simple function, and the optimizer just supports out-of-place form only. How could implement the ODE system with 2 or more functions? For example.
du[1] = cos(u[1] - u[2])
du[2] = sin(u[2] - u[1])
Furthermore, does NeuralPDE can solve the ODE system which transfer from DAEs system?
DimensionMismatch: Dimensions of the initial u0 and chain should match.
Please help me with this error.
For the PDESystem, in all tutorials I saw that it requires the boundary conditions. How could I use it without boundary conditions? Because the system do not have the boundary.
should be chain = Flux.Chain(Dense(1, 10, sigmoid), Dense(10, 2)) since the number of independent variables is always 1 for an ODE. That should get a better error message.
For DAE, the boundary condition is the initial condition.
Would you please provide me with some documents to create DAE on the PDE system?
Because I have one independent variable (a problem in 1 dimension) and 45 dependent variables, and I do not think the only way is to type all the variables but I can not find any instruction for that.
For example, I have 9 variables x and y variables y, I think the default method to implement is: