I'm trying to calculate the curvature of a circle in 2D.  

Firstly I set up a distance variable "var" to represent the circular shape.   
To calculate the curvature, I took the gradient of "var" and then the 
divergence as shown below:
                                       (var.getFaceGrad()).getDivergence() 

My trouble is :

My expectation is to obtain a matrix of curvature and 

Attachment: latex-image-1.pdf
Description: Adobe PDF document

 at the boundary of circle (where var=0). However,  the obtained result from my 
program showed 

Attachment: latex-image-1.pdf
Description: Adobe PDF document

 at the boundary.

Maybe the method I used focused on the local curvature instead of a global 
curvature. 


How can I my original goal? Is there any other method to calculate the 
curvature in fipy?

Thanks,

Yunbo


_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to