Evaluating Time Dependent PDE Results at Nodal Solutions
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Andrew Ferguson
le 25 Fév 2020
Réponse apportée : Andrew Ferguson
le 25 Fév 2020
I am solving a time-dependent PDE and I want to evaluate the solution at each of the nodal points. I can easily get this information just by using
result.NodalSolution(:,end)
or for whatever time I want to look at instead of the end time. I want to get the average value of the result at the nodal points, but I only want to do it for a certain subset of all the nodal points. This would be simple enough if the nodal points were ordered in a nice pattern, but unfortunately they look like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/273651/image.png)
Does anyone have an idea of how I might be able to determine which nodal points lie inside of the red line (this is a only a portion of the picture because it is zoomed in to give clarity) or some what to make them ordered?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Geometry and Mesh dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!