Retrieving the array from the solution in a coupled system
Asked by
Yaakoub El Khamra
Greetings
Andy Terrel has been helping me with CBC and pointed out something interesting when I work with a system of coupled equations in CBC.
If my PDESys looks like this:
PDESystem([['Pw', 'Sw']], problem, solver_parameters)
retrieving the solution this way:
problem.
returns the array for Pw and Sw (i.e. the whole system, not just Pw). This makes computing min/max values trickly. Is there a stable/
Also is there a better way to plot? Right now I use something like this:
plot(problem.
Many thanks in advance
Regards
Yaakoub
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- CBC.PDESys Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Yaakoub El Khamra
- Solved:
- Last query:
- Last reply:
To post a message you must log in.