Obtaining assembled FEMatrices and then further changing them to be used as inputs
2 views (last 30 days)
Show older comments
The MKAF matrices (and the BC matrices) can be obtained by using using the assembleFEMatrices command. Let's say, I obtain the matrices, and now want to change the F matrix (e.g. - change the 20th element in that vector to a different value than what was initially assembled) and use this new F matrix as an input to my pdesolver. Is this possible?
Answers (1)
Infinite_king
on 2 Oct 2023
Edited: Infinite_king
on 2 Oct 2023
Hi,
I understand that you want to change the values of M,K,A and F finite element matrices obtained by using ‘assembleFEMatrices’ function and then use these new arrays as inputs to PDE solver.
You can change the values of finite element matrices but you can’t directly use them as inputs to the PDE solver. You have to create the new model again to solve the new PDE system.
For more information, please refer to the following resources,
- https://www.mathworks.com/help/pde/ug/assemblefematrices.htmlv
- https://www.mathworks.com/help/pde/ug/createpde.html
Hope this is helpful.
0 Comments
See Also
Categories
Find more on Geometry and Mesh in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!