That looks easy enough. We really need to get on this and write a
simple viewer for mayavi2.
On Thu, May 7, 2009 at 9:34 AM, david wende david.we...@gmail.com wrote:
I managed to export solution variable (phi) from 3D mesh as follows:
z=phi.getValue()
On May 6, 2009, at 11:03 AM, david wende wrote:
How could I export (write to file) the Cellvariable result
as vtk data.
The code in mayaviViewer.py is as close as you're going to get to any
direct vtk export from FiPy right now.
We'd welcome a vtk exporter if you improve on what we have
On Thu, May 7, 2009 at 9:20 AM, Jonathan Guyer gu...@nist.gov wrote:
On May 6, 2009, at 11:03 AM, david wende wrote:
How could I export (write to file) the Cellvariable result
as vtk data.
The code in mayaviViewer.py is as close as you're going to get to any direct
vtk export from FiPy
I managed to export solution variable (phi) from 3D mesh as follows:
z=phi.getValue()
pd=pyvtk.PointData(pyvtk.Scalars(z))
grid=pyvtk.StructuredPoints((10,10,10))
data=pyvtk.VtkData(grid,pd)
data.tofile(filename)
And mayavi2 seems to read the filename
I think I have got mayavi2 working as standalone application.
How could I export (write to file) the Cellvariable result
as vtk data.
I am able to generate my own fictitious data and export/display,
but I am missing the connection between the CellVariable object
and vtk data format.
Thanks for
Thanks Jonothan - this works.
On Fri, May 1, 2009 at 4:42 PM, Jonathan Guyer gu...@nist.gov wrote:
On May 1, 2009, at 9:01 AM, david wende wrote:
In meantime, how do I select a subset of faces from 3D mesh?
[1] m3D = Grid3D(nx=nx, ny=ny, nz=nz)
[2] x, y, z = m3D.getCellCenters()
[3]
Hi Daniel,
I am making some small progress, will send update in about a week.
In meantime, how do I select a subset of faces from 3D mesh?
[1] m3D = Grid3D(nx=nx, ny=ny, nz=nz)
[2] x, y, z = m3D.getCellCenters()
[3] facesRight = m3D.getFacesRight()
[4] facesLeft = (m3D.getFacesLeft() (x 2)
On May 1, 2009, at 9:01 AM, david wende wrote:
In meantime, how do I select a subset of faces from 3D mesh?
[1] m3D = Grid3D(nx=nx, ny=ny, nz=nz)
[2] x, y, z = m3D.getCellCenters()
[3] facesRight = m3D.getFacesRight()
[4] facesLeft = (m3D.getFacesLeft() (x 2) )
Line 3 is OK.
Line 4 I
On Wed, Apr 29, 2009 at 8:34 AM, david wende david.we...@gmail.com wrote:
Hi
Excuse my list oriented nature.
1 Thanks for what seems to be great software.
Thanks for your interest.
2. This is my first forray into F.E. analysis.
Good luck! This is an FV code, but the distinction is rather
Hi Dan, thanks for answer
I installed opendx but could not find slice function.
David
On Wed, Apr 29, 2009 at 4:02 PM, Daniel Lewis lewi...@rpi.edu wrote:
On Apr 29, 2009, at 8:34 AM, david wende wrote:
6. So - could I do a 3D simulation and then slice a cross section and send
that to a
On Thu, Apr 30, 2009 at 3:18 PM, david wende david.we...@gmail.com wrote:
Mayavi 2 works, it's just we don't have an interface to it right now.
However, you can extract the required data arrays and pass them to
mayavi2 like any other numpy arrays, which is the main reason we have
wrapper
Hi
Excuse my list oriented nature.
1. Thanks for what seems to be great software.
2. This is my first forray into F.E. analysis.
3. Need to simulate pulsed laser directed into thin silicon wafer
and the resulting time varying heat gradient.
4. mayavi 2 doesn't work (known problem)
5. mayavi 1.5
12 matches
Mail list logo