A sphere in cartesian coordinate Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » A sphere in cartesian coordinate « Previous Next »

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

neeraj (neeraj)
New member
Username: neeraj

Post Number: 1
Registered: 08-2006
Posted on Wednesday, August 30, 2006 - 02:50 pm:   

I am a new user of FlexPDE. I need to specify boundary conditions for my 3D PDE along a surface of a sphere but in cartesian coordinates. Any suggestions ?
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 678
Registered: 06-2003
Posted on Wednesday, August 30, 2006 - 05:44 pm:   

If you model the problem in 3D, FlexPDE will default to cartesian coordinates, so I don't understand the question.

If you model it in 2D cylindrical coordinates, you can write transformation expressions to convert coordinates, so I still don't understand the question.
Top of pagePrevious messageNext messageBottom of page Link to this message

neeraj (neeraj)
New member
Username: neeraj

Post Number: 2
Registered: 08-2006
Posted on Wednesday, August 30, 2006 - 08:12 pm:   

Okie, my equation is in cartesian coordinates (the default option.) But, I do not know how to specify boundary conditions that are applicable for a sphere. In other words, I do not know how to "walk" along a spherical surface.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 679
Registered: 06-2003
Posted on Wednesday, August 30, 2006 - 11:51 pm:   

Boundary conditions are specified on surfaces.

On the top surface of a sphere, for example, you could write Natural(u)=3*x or Natural(u)=sqrt(x^2+y^2) to specify a coordinate-dependent surface flux. Similarly, you could write Value(u) conditions as functions of coordinate.

In either case, the "x" and "y" coordinates mean the coordinates of the point on the surface for which FlexPDE is computing the flux or value.

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