Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: pde toolbox
Replies: 13   Last Post: Apr 23, 2013 4:29 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
srao Rao

Posts: 29
Registered: 7/16/10
Re: pde toolbox
Posted: Mar 11, 2013 3:12 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi Bill,

That was very helpful. Thank you very much.

Sai

"Bill Greene" wrote in message <khfgev$sgb$1@newscl01ah.mathworks.com>...
> Hi,
>
> "Sashankh Rao" wrote in message <khdu9o$j3c$1@newscl01ah.mathworks.com>...

> > Using the Matlab pde toolbox I obtain a solution to the Poisson equation for a given geometry using dirichlet boundary conditions. First, I want to determine the gradient at all the boundary nodes. Is this possible using the toolbox? Second, I want to use these gradient values as an input boundary condition for the same boundary to solve a different equation (same geometry). Is this possible to do using the toolbox? Thanks.
>
> Yes, this is definitely possible. I'll try to point you in the right direction.
>
> The function pdegrad can be used to calculate the gradient of the solution at the
> element centroids.
> http://www.mathworks.com/help/pde/ug/pdegrad.html?searchHighlight=pdegrad
> Then the function pdeprtni can be used to interpolate these centroid values back
> to the nodes.
> http://www.mathworks.com/help/pde/ug/pdeprtni.html
>
> Using these gradient values in the boundary conditions will require you to write your
> own boundary condition function, referred to as a "boundary file" in the PDE
> Toolbox documentation.
> http://www.mathworks.com/help/pde/ug/pdebound.html
>
> This documentation page has some examples of how to write such a function.
> http://www.mathworks.com/help/pde/ug/boundary-conditions-for-scalar-pde.html
>
> Bill




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.