Regarding Highpass vector field option

41 views
Skip to first unread message

Dhruv Wankawala

unread,
Mar 12, 2026, 8:56:36 AMMar 12
to PIVlab
Dear Dr. William,

I am currently using the Highpass vector field option in Plot → Spatial: Derive Parameters and setting an appropriate strength to visualize the filtered velocity field.  However, when I export the Tecplot file, the resulting .dat file appears to contain the original vector data rather than the highpass filtered vector field shown in the visualization. As a result, when I open the exported file in Tecplot, the vector distribution does not match the highpass filtered image displayed in PIVlab.

Could you kindly advise how to export the vector data corresponding to the highpass filtered field?

Regards,
Dhruv

William

unread,
Mar 12, 2026, 9:07:46 AMMar 12
to PIVlab
Exporting high-passed vectors is disabled by default. But you could modifiy this line in +plot\get_highpassed_vectors.m
if get(handles.highp_vectors, 'value')==1 & strncmp(get(handles.multip08, 'visible'), 'on',2) 
to
if get(handles.highp_vectors, 'value')==1 

... then it should export the highpassed data.

Dhruv Wankawala

unread,
Mar 12, 2026, 11:00:08 AMMar 12
to PIVlab
I am still not getting highpass filtered vector field while exporting Tecplot file. Do I need to change anything also in +export\file_save or in tecplot_all_callback or in tecplot_current_callback.

William

unread,
Mar 15, 2026, 5:27:51 AM (13 days ago) Mar 15
to PIVlab
Hi, I dont have tecplot, so I cant check. but additionally adding this to +export\file_save.m will probably fix it

search for the line 
subtract_v=gui.retr('subtr_v');
and add below:
[u, v] = get_highpassed_vectors(handles, u, v);

Dhruv Wankawala

unread,
Mar 15, 2026, 10:53:40 AM (13 days ago) Mar 15
to PIVlab
I tried with [u, v] = get_highpassed_vectors(handles, u, v); but it threw an error. So I rewrote this as [u, v] = plot.get_highpassed_vectors(handles, u, v); (see attached figure 1)
By doing so, I received only 3 vectors (see attached figure 2), which is obviously wrong.
Can you please make this check with anyone who has access to Tecplot? It would be a great help to me.
2.JPG
1.JPG
Reply all
Reply to author
Forward
0 new messages