CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] .msh fiel to OpenFoam mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 1, 2022, 08:48
Default .msh fiel to OpenFoam mesh
  #1
New Member
 
Daniel Jara Heredia
Join Date: Jul 2020
Posts: 9
Rep Power: 5
DJARA is on a distinguished road
Dear all,

I have a .msh file and I would like to convert it into a vtk file in oder to provide it to gmsh. A collegue told me that he did it once by importing the .msh file into OpenFoam and then exporting it as vtk file.
Since I have never used OpenFoam I am somehow lost. I have installed OpenFoam into the WSL in windows (ubuntu version).
I have put on a folder the mesh that I what to convert and run the command Fluent3DMeshToFoam but obviously it has failed, since I have not added a system and constant subfolders. So, my question is the following how should I do the the controlDict, fvSchemes and fvSolution and the constant directories in order to run such command?

And once I am able to run the command that I desired to run, how I should run FoamToVTK?

Thanks

Best regards
Dani
DJARA is offline   Reply With Quote

Reply


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
[snappyHexMesh] SnappyHexMesh/splitMeshRegion : region1 in zone "-1" GuiMagyar OpenFOAM Meshing & Mesh Conversion 3 August 4, 2023 12:38
Getting Started with OpenFOAM wyldckat OpenFOAM 25 August 14, 2022 13:55
[snappyHexMesh] non uniform mesh near the stl object vava10 OpenFOAM Meshing & Mesh Conversion 0 January 31, 2021 14:41
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 00:08.