|
[Sponsors] |
[Commercial meshers] Tecplot mesh to OpenFOAM! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 8, 2013, 19:16 |
Tecplot mesh to OpenFOAM!
|
#1 |
Member
JP
Join Date: May 2013
Location: United Kingdom
Posts: 31
Rep Power: 12 |
Hello all!
I have a question concerned with conversion from a tecplot mesh (.plt) to OpenFOAM format. On this thread there is some discussion regarding a similar problem: http://www.cfd-online.com/Forums/ope...rmat-help.html If I got this correctly, I need to save the .plt file as a .dat file and then do some commands within OpenFOAM.However my question comes in the blockMeshDict step. Please bare in mind that I am totally new to OpenFOAM so all of this is completely new to me. Using the same tutorial described in the above thread,what should I do with the following? Code:
boundary ( cone { type patch; faces ( (1 5 4 0) ); } outlet { type patch; faces ( (2 6 5 1) ); } freestream { type patch; faces ( (3 7 6 2) ); } centreLeft { type symmetryPlane; faces ( (0 4 7 3) ); } wedge1 { type patch; faces ( (0 3 2 1) ); } wedge2 { type patch; faces ( (4 5 6 7) ); } ); My geometry is a multi-element wing in a square domain so potentially I have three different walls (slat+flap+main element), frontAndBack faces (empty) and inlet and outlet. Can anyone guide me through this?? Thank you very much for the help, James |
|
August 10, 2013, 00:51 |
|
#2 |
New Member
Albert Pinto
Join Date: May 2013
Posts: 16
Rep Power: 12 |
James,
Have you considered doing the following: a) since you have a structured mesh, write a simple code to translate the tecplot .plt file into a plot3D format file. Do note that if your Tecplot mesh is a 2D mesh, you've got to add a k-index and a z-coordinate, i.e. x(i,j,k), y(i,j,k), z(i,j,k), to your converted plot3D mesh and extrude it by one unit in the z-direction (this way you'll have 2 points in the z-direction). b) use plot3dToFoam to convert the plot3d file (from step a)) into OpenFoam format. Since, the plot3D format has no boundary information, use autoPatch (this was a suggestion that Bruno had made to one of my earlier posts) to create patches (depending on the geometry, you'll need to choose a suitable feature angle to help autoPatch decide where it should create a patch). Now take a look at the mesh and boundary conditions with paraFoam. You may need to play with the feature angle to get the correct patches. Once the patches are correct, you can set the boundary conditions on those patches in the polyMesh/boundary file. Hope this helps ... Albert |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology | wyldckat | OpenFOAM | 17 | November 10, 2017 15:54 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 07:18 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 03:52 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |