[Paraview] Curvilinear to (uniform) rectilinear grid?
Oleg Sergeev
seoman at yandex.ru
Tue Jun 25 16:46:02 EDT 2013
It works fine, thank you very much!
Looks like awk is one really powerful tool. I heard about it, but didn't actually use it before.
Thanks again,
Oleg.
25.06.2013, 23:53, "Karl König" <kkoenig11 at web.de>:
> Hi,
>
> Concerning the *.pvsm file:
> One needs to remove the absolute path to Oleg's home directory from the
> state file prior to loading it. E.g. by means of GNU sed:
>
> sed -i -e 's/\/home\/oleg\///' test.pvsm
>
> Concerning getting the data into ParaView:
> I'm wondering why you do not convert your CSV based data into a format
> ParaView can natively read rectilinear data from? It's fairly easy to
> convert your CSV data into LegacyVTK file format. Given that you're on
> Linux, you could apply the attached simple shell script to test.txt and
> obtain test.vtk, your rectilinear data in VTK legacy format:
>
> cd /home/oleg; sh convert.sh
>
> Hope that helps,
> Karl
>
> Oleg Sergeev wrote, On 25.06.2013 18:50:
>
>> I just checked again if I can open these files with PV4.01 - everything works fine. If it makes any difference, I use 64bit linux version.
>>
>> Oleg.
>>
>> 25.06.2013, 20:45, "Stephen Wornom" <stephen.wornom at inria.fr>:
>>> Oleg Sergeev wrote:
>>>> Hi,
>>>>
>>>> thanks for the answer! Here are the files.
>>>>
>>>> The most general of my questions can be stated as "How to obtain a nice isosurface from this?". The isosurface should correspond to a particular value of, say, Field 5.
>>>>
>>>> Regards,
>>>> Oleg.
>>>>
>>>> 22.06.2013, 17:06, "Magician" <f_magician at mac.com>:
>>>>> Hi Oleg,
>>>>>
>>>>> Maybe everyone couldn't understand your problem.
>>>>> Could you upload your (x y z f) data?
>>>>> And if you can, it's better to upload your state files (*.pvsm).
>>> when I load the state file test.pvsm using the PV4.01 binary I get this
>>>
>>> ERROR: In
>>> /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paraview/src/paraview/VTK/Common/ExecutionModel/vtkExecutive.cxx,
>>> line 754
>>>
>>> vtkPVCompositeDataPipeline (0x4ab5690): Algorithm
>>> vtkPTableToStructuredGrid(0x47f6200) returned failure for request:
>>> vtkInformation (0x4348690)
>>>
>>> Debug: Off
>>>
>>> Modified Time: 381187
>>>
>>> Reference Count: 1
>>>
>>> Registered Events: (none)
>>>
>>> Request: REQUEST_DATA
>>>
>>> FORWARD_DIRECTION: 0
>>>
>>> ALGORITHM_AFTER_FORWARD: 1
>>>
>>> FROM_OUTPUT_PORT: 0
>>> Stephen
>>>>> Magician
>>>>>
>>>>> On 2013/06/22, at 1:00, paraview-request at paraview.org wrote:
>>>>>> Message: 4
>>>>>> Date: Fri, 21 Jun 2013 18:23:35 +0400
>>>>>> From: Oleg Sergeev <seoman at yandex.ru>
>>>>>> Subject: Re: [Paraview] Curvilinear to (uniform) rectilinear grid?
>>>>>> To: "paraview at paraview.org" <paraview at paraview.org>
>>>>>> Message-ID: <144611371824615 at web7f.yandex.ru>
>>>>>> Content-Type: text/plain
>>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> is there any answer to my question?
>>>>>>
>>>>>> Regards,
>>>>>> Oleg.
>>>>>>
>>>>>> 19.06.2013, 17:16, "Oleg Sergeev" <seoman at yandex.ru>:
>>>>>>> Dear Paraview users,
>>>>>>>
>>>>>>> I have a gridded data in a text file with lines such as x y z f(x, y, z), where each of x, y and z is equally spaced. I'd like to plot isosurfaces f == const. But when I import the file, I can only apply Table To Structured Grid filter, and it reads the file as if it were arbitrary curvilinear grid. How can I transform this grid to the rectilinear one? And is there any way to interpolate data between points, as grid size is 12*11*14 only? I could, for example, create finer uniform rectilinear mesh and estimate f on this mesh points, then plot it, but don't know how to do it. Any advice is appreciated.
>>>>>>>
>>>>>>> Sorry if such a question appeared million times, google couldn't help.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Oleg Sergeev,
>>>>>>> VNIIA, Moscow.
More information about the ParaView
mailing list