Welcome! Log In Create A New Profile


Gradient of a scalar field

Posted by cowboycowboy  
Gradient of a scalar field
June 27, 2018 06:02PM
Is there an function/class that computes the gradient of a scalar field and the divergence of a vector field. For example, if a extract the density from the MultiBlockLattice3D using computeRho() and store it in MultiScalarField3D, is there an option where I can obtain the gradient of the density field?
Similarly, given a velocity field via a MultiTensorField3D, is there an in-built option to compute the divergence of the velocity.

Sorry, you do not have permission to post/reply in this forum.