gmshToFoam command
Hello,
I am new in OpenFOAM, meshing and CFD, and I am doing my first steps into programming. The thing is I need to transform the elements generated using Delaunay into gmsh to Voronoi elements. After a long research, I found that maybe gmshToFoam could help me to get a voronoi mesh. I have a few questions: 1- am I right thinking that gmshToFoam would transform my Delaunay triangle into my Voronoi elements? My model currently has more than 7 MM elements, of course I need to simplified it, but still its wanna be a big model. 2- are you aware of any better method to transform Delaunay into Voronoi? 3- Do you realized where my mistake could be and why can't find the file? Trust me the file location is fine (Home->OpenFoam->mv-2.3.0) I have been trying with this command but the following mistake appears: ubuntu@ubuntu:~$ gmshToFoam /Home/OpenFoam/mv-2.3.0/cube.msh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.3.0-f5222ca19ce6 Exec : gmshToFoam /Home/OpenFoam/mv-2.3.0/cube.msh Date : Apr 22 2014 Time : 16:10:52 Host : "ubuntu" PID : 13058 Case : /home/ubuntu nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM FATAL IO ERROR: cannot find file file: /home/ubuntu/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting I really appreciate any help you can give me with this. Thank you very much |
cannot find file 'controlDict'
The error is here:
Quote:
To give you a head start, here is an example, but Google yourself to suit your needs Code:
FoamFile |
All times are GMT -4. The time now is 18:55. |