|
[Sponsors] |
March 12, 2012, 05:46 |
GmahToFoam
|
#1 |
New Member
Jaydip
Join Date: Mar 2012
Posts: 3
Rep Power: 14 |
Hi all,
can anyone tell me detail procedure for converting .msh file to openFoam file. i have no idea how to convert msh file in to openFoam file. i have created .geo and .msh file but have no idea about how to convert and how to use that file. Thanks Jaydip |
|
March 12, 2012, 07:44 |
|
#2 |
New Member
Gregor Seljak
Join Date: Oct 2010
Posts: 21
Rep Power: 15 |
It's easy:
1.) Move to your case directory. That's where constant, system, 0 subdirectories are located. 2.) Run command gmshToFoam <path_to_your_*.msh_file>. Or you can just copy msh file to your case directory and run gmshToFoam filename.msh. 3.) At the end you need to edit the constant/polymesh/boundary file, where you have to set you patch types (e.g. wall, empty, ...) and change defaultFaces face type to empty. Later I can post detailed description for an example case. |
|
March 13, 2012, 02:14 |
|
#3 |
New Member
Jaydip
Join Date: Mar 2012
Posts: 3
Rep Power: 14 |
hi Thank you very much....now i am able to convert .msh file to openFoam.
Thanks Jaydip |
|
March 13, 2012, 04:15 |
paraview not working properly
|
#4 |
New Member
Jaydip
Join Date: Mar 2012
Posts: 3
Rep Power: 14 |
Hi all,
i have run the simple cavity problem with icofoam but one of my classmate has a problem with paraview.. when he enter the paraview in terminal window after run successful prerequisite command for cavity problem and when open the paraview interface he is not able to find that cavity.OpenFOAM file. can anyone tell me what's the problem? or he had made any mistakes in installation of paraview. he is using openfoam2.1.0 and paraview 3.12.0. Thanks Jaydip |
|
March 15, 2012, 04:36 |
|
#5 |
New Member
shyam prasad
Join Date: Mar 2009
Posts: 25
Rep Power: 17 |
just type paraFoam or issue the command touch finename.Foam
|
|
|
|