simultaneous time dependant problems in fenics
Asked by
Souvik Roy
Dear Sir,
I am solving a time dependant optimization problem. It consists of solving 2 parabolic equations:- one forward in time in variable y and another backward in time in variable p. The p equation uses y and so after solving equation y by discretizing y_t by Crank Nicholson scheme and then using spatial finite elements, I need to store the data of y at all instants of time in an array structure so that I can use data backwards for the p equation as it is backward in time. How do I store in an array and then use it for the backward time equation? Thanking you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anders Logg
- Solved:
- Last query:
- Last reply:
This question was reopened
- by Souvik Roy
To post a message you must log in.