CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Mapping plot3d data

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

LinkBack Thread Tools Display Modes
Old   June 11, 2010, 10:01
Default Mapping plot3d data
Senior Member
Join Date: Jun 2010
Posts: 107
Rep Power: 10
Fransje is on a distinguished road
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,

Fransje is offline   Reply With Quote

Old   June 16, 2010, 04:01
Smile plot3DmapField
Senior Member
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 123
Rep Power: 11
eelcovv is on a distinguished road
Hi Francois,

I recently posted something on this issue, as I was struggeling the same.

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.


eelcovv is offline   Reply With Quote

Old   July 13, 2010, 06:02
Senior Member
Join Date: Jun 2010
Posts: 107
Rep Power: 10
Fransje is on a distinguished road
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,

Fransje is offline   Reply With Quote


mapping plot3d

Thread Tools
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 On
Pingbacks are On
Refbacks are On

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 17:58
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19
how extract data from plot3d file yangqing FLUENT 0 January 27, 2002 11:20

All times are GMT -4. The time now is 06:52.