Tecplot mesh to OpenFOAM!
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:
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?
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,
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 ...
|All times are GMT -4. The time now is 05:03.|