MATLAB Answers


Solving 2 PDEs across one domain.

Asked by Jack
on 8 Jul 2014
Latest activity Commented on by Jack
on 9 Jul 2014
I am trying to model heat input to a small spot in the centre of a 'flat plate' domain (laser pulse). I can set up the geometry so that I have a circle inside a large square, but how do I set up/code the PDE(s) such that the heat input is only within this small circle, yet the pde is solved over the entire domain?
The pde is essentially the same across the entire domain apart from an additional heat input to elements inside the circle.
Many thanks.
P.S. I intend to vary/run over various parameters, so would appreciate answers that enable me to do it from the code as well as the pde gui.

  1 Comment

on 9 Jul 2014
Bill's answer separating the different domains with a ! was useful.

Sign in to comment.

1 Answer

Answer by Bill Greene on 8 Jul 2014
 Accepted Answer

This documentation page shows how to specify an f-coefficient on a specific domain:


Sign in to comment.