Spherical Problem and R coordinate in... Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » Spherical Problem and R coordinate in FlexPDE « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Anonymous (anonymous)
New member
Username: anonymous

Post Number: 2
Registered: 12-2003
Posted on Wednesday, December 24, 2003 - 12:29 pm:   

I have implemented a spherical pellet in FlexPDE
by mapping R on XY plane. The pellet has been modeled for the first quarter.
Lets use Landa instead of R here:

Landa^2=x^2+y^2
dLanda(U)=(dx(U)+dy(U))*sqrt(x^2+y^2)/(x+y)

The code has beed attached

Problems:
1- The result is far from the exact solution.
2- Using FlexPDE R coordinate for calculating exact solution shows another result which is not consistent with values calculed by Landa.


application/octet-streamReaction and Diffusion in Spherical Pellet
Spherical Pellet-2.pde (1.7 k)
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 82
Registered: 06-2003
Posted on Wednesday, December 24, 2003 - 06:30 pm:   

The results don't match because you have algebraic errors in your derivation and typographical errors in your descriptor.

But the easy way to do this is to declare cylindrical geometry, grid a quarter circle, and use the div(grad()) operator.

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration