CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to convert .csv datapoints to volume?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2020, 02:25
Default How to convert .csv datapoints to volume?
  #1
Member
 
Sunag R A
Join Date: Jul 2019
Location: Bangalore, India
Posts: 82
Rep Power: 6
sunagra27 is on a distinguished road
Dear All,

I have a csv file which contains (x, y, z) co-ordinates along with temparature 'T' parameters.

1. I need this data to be converted to volume/mesh in OpenFoam.
2. Or, I need this data to be visualized in paraview. I imported csv file in paraview and used "TableToPoints" to visualize the points.
3. I tried Delaunay 2D and 3D for triangulation. But this filter did not match well.

So, is there any way I could use csv file in OpenFoam to create a mesh from the points presented in csv file?

Thanks and Regards,
Sunag R A.
sunagra27 is offline   Reply With Quote

Old   May 16, 2023, 04:01
Default
  #2
Member
 
sadra mahmoudi
Join Date: Feb 2021
Location: Austria
Posts: 39
Rep Power: 5
sadra2003 is on a distinguished road
Quote:
Originally Posted by sunagra27 View Post
Dear All,

I have a csv file which contains (x, y, z) co-ordinates along with temparature 'T' parameters.

1. I need this data to be converted to volume/mesh in OpenFoam.
2. Or, I need this data to be visualized in paraview. I imported csv file in paraview and used "TableToPoints" to visualize the points.
3. I tried Delaunay 2D and 3D for triangulation. But this filter did not match well.

So, is there any way I could use csv file in OpenFoam to create a mesh from the points presented in csv file?

Thanks and Regards,
Sunag R A.

Hi sunagra,

I have the same problem and I would be thankful if you help me.
I am doing some experimental research and I have the velocity vector in a domain in a csv file. I would like ti read this file in the paraview in order to postprocess it. As far as I know, after importing the file, I need to use "table to point" filter. I did it successfully. Now, I would like to plot velocity over a line, but it does not work. I think there are some missing seteps in between in order to be able to post process further. I would be thankful if you share your opinion with me.

Best regards
sadra2003 is offline   Reply With Quote

Reply

Tags
csv files, delaunay, mesh, paraview

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] edges not aligned with or perpendicular to non-empty directions ynos OpenFOAM Meshing & Mesh Conversion 6 March 26, 2020 15:02
How to use "translation" in solidBodyMotionFunction in OpenFOAM rupesh_w OpenFOAM Running, Solving & CFD 5 August 16, 2016 04:27
alphaEqn.H in twoPhaseEulerFoam cheng1988sjtu OpenFOAM Bugs 15 May 1, 2016 16:12
convert finite element code to finite volume code in MATLAB ? amin_danger2 Main CFD Forum 1 May 7, 2015 04:06
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 07:47


All times are GMT -4. The time now is 14:41.