How to set state.u state.t in PDE Toolbox's function assmbleFEMatrixes for a generic 2D problem?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Giacomo Marco La Montagna
am 15 Nov. 2023
Kommentiert: Giacomo Marco La Montagna
am 16 Nov. 2023
I am facing a 2D diffusion equation of a two-components vectorial field u=(u1,u2) with finite elements method. I need to extract the finite element matrixes by calling the function FEM = assembleFEMatrices(___,state) but to do it I need to set state.u and state.t. In all examples I saw that you can use a previus solution but in my case I can't use it because the solver does not converge ( this is why I am extracting these matrixes, my idea is to apply a custom solver to the ode system provided by FEM) so how can I set this two parameters?
%extracting FEM matrixes
state.u = ?
state.t = ?
FEM = assembleFEMatrices(model,state)
0 Kommentare
Antworten (1)
Ravi Kumar
am 15 Nov. 2023
https://www.mathworks.com/help/pde/ug/assemblefematrices.html#mw_c59ea87b-8f13-478a-b33d-351795b1572f
2 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!