CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Extracting (U_x) and (U_y) velocities from a specified sub-domain

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2024, 11:13
Default Extracting (U_x) and (U_y) velocities from a specified sub-domain
  #1
New Member
 
Nafiz Ahmed Khan
Join Date: Nov 2023
Location: Canada
Posts: 27
Rep Power: 3
Nafiz375 is on a distinguished road
Hello everyone,

I’ve extracted my u and v component velocities for that specified zone (sub-domain) in the entire domain from the VTK files in Python. Now, I found something unusual: for the same x-grid point, four (4) y-grid points are shown in my extracted data, and their corresponding u and v velocities are also different. For example, (385.875, 406.98), this point appears four times, and their corresponding U_x and U_y velocities are also different. The attached figure from Excel is for reference.

Capture.PNG

Any comment on this?
Are the values of my U_x and U_y cell-centered values or cell-point values? If not, how can I extract the cell-celled values, not the point values?
Thanks in advance
Nafiz
Nafiz375 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:21.