Hi Daniel,

Thank you so much for your help. I'm trying to figure out what do these mean.

To put data from 3D mesh into a 2D mesh:

var2D.setValue(var3D((x, y, cutPlaneZValue * numpy.ones(len(x))), order=1))


1. Is "cutPlaneZValue" a speical function? Or, I need to define it by my self.
2. Why is len(x)? not len(z) or..?
3. What does it put into var2D? The summation of Z-axial positions? I got confusion with this.

To put data from 2D mesh into 3D mesh:

  var3D.setValue(var2D(var3D.getMesh().getCellCenters()[:2], order=1))

4. It seems this just expand var2D into 3D, like the same value along Z-axial. Is my understanding right?


Best Regards,
Kundar


Reply via email to