[FLASH-USERS] Problem using VisIt

Youngjun LEE m13lu2 at gmail.com
Mon Feb 9 01:34:10 EST 2015


Hi.
I solved that issue with directly edit the extract_ray.py script. Po-Yu
Chang(pchang at lle.rochester.edu) had helped me to solve that issue.

In extract_ray.py script, edit two lines just like this

[line# 20]  wl = t.getWhereList("name == n")   =>   wl =
t.getWhereList("name ==
'nstep
' ")
[line# 29]  wl = t.getWhereList("name == n")   =>   wl =
t.getWhereList("name == 'time
' ")

Please check there are several "spaces" after the string(nstep, time). This
is because the length of the string in the hdf5 file is 80.

Best,

On Wed, Feb 4, 2015 at 11:42 PM, Norbert Flocke <flocke at flash.uchicago.edu>
wrote:

> Hello Miguel,
>
> Is the ed_useLaserIO parameter in your flash.par file set to .true.?
> If it is .false., then the ray tracing package does not write out the
> rays, which seems what is happening.
>
> Norbert
>
>
>
> On Tue, 3 Feb 2015, Miguel Vasconcelos wrote:
>
>
>> Hello everyone,
>>
>> I'm a new user of FLASH and I'm having trouble viewing the Full-physics
>> Laser Driven Simulation in VisIt.
>> The User Support says that is necessary to convert the output to the
>> format .vtk using the extract_rays.py script so that Visit will be able to
>> understand the data. But when I try to do that the following error occurs:
>>
>>
>> Traceback (most recent call last):
>> File "./extract_rays.py", line 159, in <module>
>> write_vtk(fn)
>> File "./extract_rays.py", line 32, in write_vtk
>> wl = t.getWhereList("name == n")
>> File "/usr/lib/python2.7/dist-packages/tables/_past.py", line 35, in
>> oldfunc
>> return obj(*args, **kwargs)
>> File "/usr/lib/python2.7/dist-packages/tables/table.py", line 1634, in
>> get_where_list
>> self._where(condition, condvars, start, stop, step)]
>> File "/usr/lib/python2.7/dist-packages/tables/table.py", line 1527, in
>> _where
>> condvars = self._required_expr_vars(condition, condvars, depth=3)
>> File "/usr/lib/python2.7/dist-packages/tables/table.py", line 1259, in
>> _required_expr_vars
>> raise NameError("name ``%s`` is not defined" % var)
>> NameError: name ``n`` is not defined
>> Closing remaining open files:../..//object/lasslab_
>> hdf5_plt_cnt_0000...done
>>
>>
>> If anybody knows how to solve this issue, please let me know.
>>
>>
>> Miguel Vasconcelos
>>
>>


-- 

*LEE Youngjun*

*Plasma Theory and Nonlinear Dynamics Lab.*

*Department of Physics*

*Chung-Ang University, Seoul, Korea*
*Mobile: +82-10-3230-9213*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20150209/9ddab628/attachment-0001.htm>


More information about the flash-users mailing list