|
[Sponsors] |
June 11, 2010, 11:01 |
Mapping plot3d data
|
#1 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Dear all,
I would like to map channel flow data from a 33 x 33 x 33 mesh in plot3d format on an OpenFOAM mesh, as initial condition. I have the geometry file and the .q file belonging to it. Now, the grid can be easily converted to OpenFOAM format using the plot3dToFoam utility, but I wouldn't know where to start to generate a OpenFOAM U file from the plot3d .q file.. So I was wondering if somebody might have experience with this type of conversion, and could help me out on a viable strategy / solution? Looking forward to your reply, Francois. |
|
June 16, 2010, 05:01 |
plot3DmapField
|
#2 |
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19 |
Hi Francois,
I recently posted something on this issue, as I was struggeling the same. http://www.cfd-online.com/Forums/ope...-xyz-data.html So I wrote a small utility to convert a csv file to a plot3d file (although the format is not complete plot3D: is is just a structured x y z vx vy vz column file, with the dimensions nx ny nz in the first line. Just look at the code. Then I read this file using another little utility plot3DmapField which I based on plot3dToFoam. May be you want to modify the code your needs. Cheers, Eelco |
|
July 13, 2010, 07:02 |
|
#3 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Dear Eelco,
Although I'm a little month late, I would still like to thank you for your reply! I managed to "circumvent" the issue I had up until now, but this might give me the opportunity to tackle it head-on. Thanks a lot! Kind regards, Francois. |
|
Tags |
mapping plot3d |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
plot3d data for unsteady flow | CFD Student | Main CFD Forum | 2 | March 21, 2007 15:04 |
Plot3d data how to plot as Var = f(x) with Tecplot | Dora | Tecplot | 0 | September 11, 2006 18:58 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
how extract data from plot3d file | yangqing | FLUENT | 0 | January 27, 2002 11:20 |