Obtaining assembled FEMatrices and then further changing them to be used as inputs

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (1)

Infinite_king
Infinite_king il 2 Ott 2023
Modificato: Infinite_king il 2 Ott 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,
  1. https://www.mathworks.com/help/pde/ug/assemblefematrices.htmlv
  2. https://www.mathworks.com/help/pde/ug/createpde.html
Hope this is helpful.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by