|
[Sponsors] |
[General] Importing CSV using Table to Structured Grid Filter |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 14, 2020, 03:59 |
Importing CSV using Table to Structured Grid Filter
|
#1 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
Hi Everyone..
Actually i'm unable to import csv file using table to structured grid filter. i know how to adjust whole extent, but in my case my points are not exactly the cube. So i don't know how it will work. my points in x are constant i.e 19 points in x direction my points in y & z are not constant they varies at some location, i.e at some locations in y direction i've 6 or 7 or 8 points, similarly in z direction i've 16 or 18 points. i want to know is there any way that i can be able to use this filter for my further work. any help would be appreciated. Regards. 250_main.txt |
|
August 14, 2020, 16:37 |
|
#2 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
I was able to import the csv file into Paraview correctly. Can you clarify what the problem is?
|
|
August 14, 2020, 16:47 |
|
#3 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Actually I think I understand your quesiton now. If there are unequal numbers of values for each row then its not a structured grid, so it won't work. Try the Table to Points filter instead.
|
|
August 14, 2020, 16:54 |
|
#4 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
the whole extent needs to be adjusted according to my array size in each direction. and this option is for perfect cube. but in my case my points in x direction are fine they are constant i.e 19 points in x direction, but in y and z direction my no. of points varies,
lets suppose at x = 1, i have 6 points in y direction similarly at x =2, but at x= 3 i have 7 or 8 points in y direction. same is the case in z direction. what should i do here, how i will specify my whole extent? i get an error message if provide less points or more points. i mean suppose i put 6 points in y direction than an error message pops up saying i should have less rows in my csv file or if i put 7 points in y , error message says i should have more rows than i have in my csv file. hope that i conveyed my point. for further you can view my file in last message. |
|
August 14, 2020, 16:57 |
|
#5 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Structured grids must have the same number of points in each direction, so this filter won't work for your dataset.
|
|
August 14, 2020, 16:59 |
|
#6 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
is there any other way?
i actually want to extract my results. |
|
August 14, 2020, 17:02 |
|
#7 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Try Table to Points instead?
|
|
August 14, 2020, 17:06 |
|
#8 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
i actually want to cut slices of my geometry at different location, to visualize the behaviour. i need surface, is it possible in table to points filter?
|
|
August 15, 2020, 13:04 |
|
#9 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
It should be possible if you create a uniformly spaced dataset with arbitrary data that you could then use Resample with Dataset to resample the point data onto a structured grid. I've not tried it, but conceptually I think it would work.
|
|
August 15, 2020, 13:08 |
|
#10 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
Sorry , I didn’t get that at all..
|
|
August 17, 2020, 10:47 |
|
#11 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13 |
You can just use Delaunay3D to create a grid after using table to points filter and then you can do slicing.
|
|
August 17, 2020, 10:51 |
|
#12 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
Then i will be able to visualize surfaces?
And where i can find this option? |
|
August 17, 2020, 11:02 |
|
#13 |
Senior Member
Mikko
Join Date: Jul 2014
Location: The Hague, The Netherlands
Posts: 243
Rep Power: 13 |
Here is the pipeline and an example visualization of your data.
|
|
August 17, 2020, 11:03 |
|
#14 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
Thanks alot
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Large Eddy Simulation | Nijanthan | FLUENT | 14 | May 3, 2021 16:32 |
Block Structured Grid | aurel | Fidelity CFD | 0 | October 21, 2005 10:17 |
Combustion Convergence problems | Art Stretton | Phoenics | 5 | April 2, 2002 06:59 |
Grid Independent Solution | Chuck Leakeas | Main CFD Forum | 2 | May 26, 2000 12:18 |
Grid generator for structured grids | Tore Myhrvold | Main CFD Forum | 5 | January 21, 1999 09:09 |