On Tue, Oct 27, 2009 at 10:10 AM, Daniel Wheeler
<[email protected]> wrote:
>
> Thanks for posting it!

You guys work so hard, I should at least try to contribute :)

- Tim
> On Mon, Oct 26, 2009 at 8:57 PM, weasky <[email protected]> wrote:
>>
>> Hi,
>> If you use Tecplot, plus your mesh is regular. you can easily export
>> the mesh out:
>>
>>
>> 249         f = open(filename,'w')
>> 250         f.write("""Variables="x","y" """)
>> 251         f.write("\n")
>> 252         f.write("""Zone T="nozzle",I=%d,J=%d,DATAPACKING=BLOCK
>> \n"""%(mesh1.nx+1,mesh1.ny+1))
>> 253         mesh1.getVertexCoords()[0].reshape(mesh1.ny+1,-1).tofile(f,' ')
>> 254         f.write("\n")
>> 255         mesh1.getVertexCoords()[1].reshape(mesh1.ny+1,-1).tofile(f,'
>> ')
>> 256         f.write("\n")
>>
>> cheers,
>> Tim
>>
>>
>> On Thu, Oct 22, 2009 at 1:01 PM, Ajay Rawat <[email protected]> wrote:
>>> Is there any way to see the meshes.
>>>
>>>
>>>
>>> On Wed, Oct 21, 2009 at 7:07 PM, Jonathan Guyer <[email protected]> wrote:
>>>>
>>>>
>>>> On Oct 21, 2009, at 8:06 AM, Ajay Rawat wrote:
>>>>
>>>>>        •     viewer=Viewer(vars=phi, datamin=0., datamax=1.)
>>>>>        •     viewer.plot()
>>>>>        •     viewer.plotMesh()                     # Not Showing the mesh
>>>>
>>>>> changed the line18 to Matplotlib2DGridViewer(vars=phi)
>>>>> still no mesh is seen
>>>>
>>>> It looks like only gist actually does anything with the plotMesh()
>>>> command.
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Ajay Rawat
>>> Kalpakkam, IGCAR
>>>
>>> -------------------------------------------------------------------------
>>> Save Himalayas....
>>> -------------------------------------------------------------------------
>>>
>>
>>
>>
>
>
>
> --
> Daniel Wheeler
>
>
>


Reply via email to