Torsten <Torsten.Hennig@umsicht.fraunhofer.de> wrote in message <email@example.com>... > On 4 Jan., 13:22, "Sashankh Rao" <sashankh...@gmail.com> wrote: > > Torsten <Torsten.Hen...@umsicht.fraunhofer.de> wrote in message <c8f3f432-0339-4208-9ea7-13f72dcbe...@z25g2000vbs.googlegroups.com>... > > > On 4 Jan., 07:23, "Sashankh Rao" <sashankh...@gmail.com> wrote: > > > > I am using the pde toolbox to solve elliptic pdes for a temperature distribution. I need to fix the temperature at certain nodes and use them as boundary conditions. However, I am not able to do this using the toolbox. Is there any way of specifying the temperature at a given node using the command prompt perhaps? Thanks > > > > > What about making small circular holes in the geometry with a fixed > > > temperature at the > > > circular boundary for the positions where you want to fix the > > > temperature ? > > > This will waste some grid cells to mesh the circles adequately, but it > > > does what you want. > > > > > Best wishes > > > Torsten. > > > > Hi Torsten, > > > > Thanks for your suggestion. I actually have two domains separated by an interface. I solve for temperature in the first domain and use the interface values as boundary conditions to solve for temperature in the second domain. Hence I will have multiple nodes at which the temperature must be specified and need to automate the process. Further the temperature at each node is not the same on the interface. > > > > I agree with your idea of creating circular holes. That should work out. For this case I was wondering if there could be any other way of specifying the temperature? Thank you for your time. > > > > Sashankh > > As far as I know, the PDE toolbox can not handle interface problems. > Interface conditions are much different from external boundary > conditions > since they couple solution variables on both sides of the interface - > in your case most probably temperature and heat flux. > > Best wishes > Torsten.
Thanks for your help. I guess I will have to write the code myself.