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

Mapping plot3d data

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2010, 11:01
Default Mapping plot3d data
  #1
Senior Member
 
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 20
Fransje will become famous soon enough
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.
Fransje is offline   Reply With Quote

Old   June 16, 2010, 05:01
Smile plot3DmapField
  #2
Senior Member
 
Eelco van Vliet
Join Date: Mar 2009
Location: The Netherlands
Posts: 124
Rep Power: 19
eelcovv is on a distinguished road
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
eelcovv is offline   Reply With Quote

Old   July 13, 2010, 07:02
Default
  #3
Senior Member
 
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 20
Fransje will become famous soon enough
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.
Fransje is offline   Reply With Quote

Reply

Tags
mapping plot3d

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
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


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