ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 13 May 2018 03:42:57 -0500div, grad and curl once againhttp://ask.sagemath.org/question/40792/div-grad-and-curl-once-again/ HI, and sorry to badger people who are all working to give us a terrific maths tool for no cost, but there's a big need for div, grad and curl in many applications, such as electromagnetics, quantum theory, fluid flow, etc.
Specifically, my wish list would be, if s is a scalar field, and v a vector one,
grad (s) in cartesians, polars, cylindricals and sphericals
div (v) over the same coordinate systems
curl (v) over the same coordinate systems
and
grad(grad(s)) over these four systems, the spherical one being quite tricky anyway
Is there any cance of some kind person implementing (and documenting) these?
quantum_leopardFri, 26 Jan 2018 15:24:04 -0600http://ask.sagemath.org/question/40792/Curl in 2D Manifoldshttp://ask.sagemath.org/question/42322/curl-in-2d-manifolds/I'm using SageMath 8.2 on a Windows 10 Native with Jupyter Notebook.
I noticed curl is not defined in a 2D manifold, why is that?
E = Manifold(2, 'E', structure='Riemannian')
cartesian.<x,y> = E.chart()
E.metric()[:] = identity_matrix(2)
v = E.vector_field(name='v')
v[:] = [-x, y^2]
cv = v.curl()
cv.display()
ValueError: the curl is not defined in dimension lower than 3
Reference: [The Divergence and Curl of a Vector Field In Two Dimensions ](http://mathonline.wikidot.com/the-divergence-and-curl-of-a-vector-field-in-two-dimensions)
danielvolinskiSun, 13 May 2018 03:42:57 -0500http://ask.sagemath.org/question/42322/Gradient, Divergence, Curl and vector productshttp://ask.sagemath.org/question/10104/gradient-divergence-curl-and-vector-products/Are there implementations of vector product and the nabla operator yet? I can't find anything.KiMon, 21 Oct 2013 05:40:22 -0500http://ask.sagemath.org/question/10104/