JFVM.jl icon indicating copy to clipboard operation
JFVM.jl copied to clipboard

Support for 3D spherical coordinate

Open simulkade opened this issue 10 years ago • 3 comments
trafficstars

Some functions must be written for 3D spherical coordinate (r, \theta, \phi)

simulkade avatar Jan 19 '15 16:01 simulkade

Could one just multiply the equation through by the Jacobian of whatever coordinates you're using (in this case, r^2*sin(theta) ) and include the appropriate factors inside the derivatives?

gjwilkie avatar Oct 11 '18 15:10 gjwilkie

Hi George,

Most probably not. My guess is something can go wrong with the way I handle the cell and face positions. You can give it a try of course. Do you have an example?

On Thu, Oct 11, 2018 at 5:20 PM George Wilkie [email protected] wrote:

Could one just multiply the equation through by the Jacobian of whatever coordinates you're using (in this case, r^2*sin(theta) ) and include the appropriate factors inside the derivatives?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/simulkade/JFVM.jl/issues/2#issuecomment-428994631, or mute the thread https://github.com/notifications/unsubscribe-auth/ABy1xjDooVCXewFBv_qBoSjTGA8zku_Zks5uj2HMgaJpZM4DUN1G .

simulkade avatar Oct 12 '18 06:10 simulkade

BTW, I have implemented the 1D spherical in FVTool. You can find an example here

simulkade avatar Oct 12 '18 06:10 simulkade