PDE Model Boundary Conditions

3 views (last 30 days)
Patrick Frey
Patrick Frey on 29 Feb 2024
Commented: Patrick Frey on 1 Mar 2024
Hi Everyone,
I have a question regarding the Matlab PDE Model Boundary Conditions.
Currently, I am working with a 2D mesh with heatflux on one egdes. This egdes has 9 nodes. When I looked at state.u I recognized that this is a 1x12 array. But why?

Answers (1)

Torsten
Torsten on 29 Feb 2024
Edited: Torsten on 29 Feb 2024
If you output state.x and state.y in the function, you can see to which evaluation points state.u belongs.
  5 Comments
Torsten
Torsten on 1 Mar 2024
If you use a heatflux condition, the temperatures at the boundary are not known in advance. I'm not sure how the PDE Toolbox approximates the temperatures in the node points. Maybe with some helper points to approximate dT/dn in the node points ?
But if you need this information reliably, you should contact MATLAB support.
Patrick Frey
Patrick Frey on 1 Mar 2024
Thank you very much for your help

Sign in to comment.

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!