|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
chariton christou
Join Date: Feb 2014
Posts: 26
Rep Power: 12 ![]() |
Dear all,
I am new in OpenFOAM so i am sorry if i dont know too much about it. I had a file in .dat extension and i would like to mesh it. They file is a binary and i would like to produce a mesh from it. I have tried reading OpenFoam users guide book but it didnt help me a lot. (Any other suggestions will be more than welcomed). I know that i should change first of all the ControlDict and i supose that i should change the ascii to binary. But i dont know anything else |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16 ![]() |
Please provide more infos. What program has been used to create the *.dat file?
Cutter |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
chariton christou
Join Date: Feb 2014
Posts: 26
Rep Power: 12 ![]() |
Hi
I dont know how it has been produced since they gave it to me as just a file and its really big. (1.1GB) |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16 ![]() |
Hi,
What program are you using to display the geometry? Got no magic crystal ball... Cutter |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
chariton christou
Join Date: Feb 2014
Posts: 26
Rep Power: 12 ![]() |
hi
As i stated above i am new to openfoam. I suppose that i have to produce the mesh and then i want to have a look in ParaView (4.1.0). Please find below a simple of my .dat file. " 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 " |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings to all!
@charitonas: As cutter already indicated, the ".dat" file extension is a generic file extension. The file extension itself does give any indication of the software used to generate it. That being said, on most Linux Distributions, it's possible to use the command file to attempt at figuring out the contents of the file. For example, if the file is named "thename.dat", then run: Code:
file thename.dat
![]() Good luck! Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
chariton christou
Join Date: Feb 2014
Posts: 26
Rep Power: 12 ![]() |
dear wildcat,
thank you very much for your reply. Indeed, it help me a lot. I will try to ask them but from what i know it was the geometry of an object. I haven't got any reply for them but just a note. They gave a zip folder with two files in it. The first one was .raw and the other .dat Is there any way to produce mesh from the .raw file or no? Thank again for the help |
|
![]() |
![]() |
![]() |
![]() |
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Hurray for generic file extensions...
![]() Try importing in Blender, using the "io_mesh_raw" plugin: http://wiki.blender.org/index.php/Ex...rt/Raw_Mesh_IO Don't know how to use Blender? Check this website: http://wiki.blender.org/ |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
chariton christou
Join Date: Feb 2014
Posts: 26
Rep Power: 12 ![]() |
Dear wyldcat,
thank you very much for all this help. I will try to find out the information and come back in the next 2-3 days.Thanks again |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Fahime Firoozpour
Join Date: Jan 2018
Posts: 10
Rep Power: 8 ![]() |
hello Charitonas
did you find the solution? I have the same problem. I want to simulate fluid flow in porous media. I have .dat file not .stl or .obj, I couldn't find any converter to .dat to .stl. Thanks in Advance ![]() |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 11:32 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 01:41 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 11:44 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |