fluent3DMeshToFoam
Hello,
I am new working with OpenFOAM, and I want convert a fluent mesh into openfoam mesh, but I find this mistake: Header: "TGrid 3D 5.0.6" Dimension of grid: 3 Number of points: 335136 --> FOAM Warning : Found unknown block of type: "11" on line 7 Number of faces: 2132021 Number of cells: 925081 --> FOAM Warning : Found unknown block of type: "3010" on line 10 Do not understand characters: on line 11 From function fluentMeshToFoam::lexer in file fluent3DMeshToFoam.L at line 747. FOAM exiting Can somebody help me? Thanks |
Hello,
Why don't you just use fluentMeshToFoam, For me this works just fine. Hope this helps, Sumit |
Hello forsumit,
I try this with fluentMeshToFoam, but I find this mistake: Create time Reading header: "TGrid 3D 5.0.6" Found unknown block:(4 Embedded blocks in comment or unknown: ( Found end of section in unknown:) Found end of section in unknown:) Dimension of grid: 3 Number of points: 335136 1 (0 1 33c 0number of faces: 2132021 Number of cells: 925081 Found unknown block:(3010 Embedded blocks in comment or unknown: ( Found end of section in unknown:) Embedded blocks in comment or unknown: ( �Found end of section in unknown:�� ... The terminal is not responding. The mesh is made in Tgrid how a .msh file, I not know if that affects. I want to use pisoFoam and I create a directory case, with their respective subdirectories 0, constant and system. At 0 directory I paste the files from the tutorials pisofoam (epsilon, k, nut, nuTilda, p,R,U), at constant directory I created a directory called polymesh, and I copy system files pisoFoam (controlDict, fvSchemes, fvSolution). First I want see the mesh and convert it to openFoam, then I will change the parameters for my case. I don't know if I have to do something before to convert the mesh as a boundary file. Thanks! |
fluent3DMeshToFoam
hi bego,
Can you tell me the format you r getting after exporting in TGrig. fluentMeshToFoam works only for .msh files and .cas files format. If you are getting .msh format you can easily convert fluentMeshToFoam. |
hi naveen,
The Tgrid file is .msh. I have fluent file, but this not have extension, this is in ASCII format, I have to put the extension.msh? FluentTomesh putting in the terminal, after giving the error waits, I can not add a new order. |
fluent3DMeshToFoam
hi bego,
Which version of OpenFOAM you are using.If you r using 1.5 go to tat folder and type fluentMeshToFoam extension.msh. |
Hi naveen, the version is 1.6
|
Can you post the mesh here? Or perhaps a simpler test-mesh that behaves the same?
|
fluent3DMeshToFoam
hi bego,
If u r using 1.6 go to that folder where you have kept the mesh file and type in the terminal fluentMeshToFoam extension.msh. |
Hi naveen
I make this, I copy the Tgrid file into the polymesh directory, because in other directory I had a mistake, and I have now this other mistake: fluentMeshToFoam: file "extension.msh" not found From function fluentToFoam::main(int argc, char *argv[]) in file fluentMeshToFoam.L at line 895. FOAM exiting Do you think that I have every directories that I need to run fluentMeshToFoam? Why the fluent mesh file not have an extension if I write it in ASCII? |
Hi naveen,
If I put fluent file (without extension) in polymesh directory, I have the next error: Create time : file "extension.msh" not found From function fluent3DMeshToFoam in file fluent3DMeshToFoam.L at line 810. FOAM exiting |
fluent3DMeshToFoam
hi bego,
Dont copy the TGrid file into the polymesh folder FOLLOW THESE STEPS: 1) create a new case where ever u want, it should contain 3 folders like 0, constant and system folders. 2) place the TGrid mesh file into that directory (not in polymesh) . 3) now that directory should contain 4 folders like 0,constant, system and your mesh file. 4) now go to that directory where u hav created the through terminal and type fluentMeshToFoam extension.msh (extension means name of ur mesh file). Still you are facing problem in conversion, send me your mesh file to my email id (naveenmtech07@gmail.com) . I wil convert that into OpenFOAM format and get back to u with full content. |
Hi naveen,
I try this, but I have the same mistake, I can't send you the mesh, because my tutor don't like send it. fluent3DMeshToFoam has this mistake: From function fluentMeshToFoam::lexer in file fluent3DMeshToFoam.L at line 747. But fluentMeshToFoam has the next mistake: Reading header: "TGrid 3D 5.0.6" Found unknown block:(4 Embedded blocks in comment or unknown: ( Found end of section in unknown:) Found end of section in unknown:) Dimension of grid: 3 Number of points: 335136 1 (0 1 33c 0number of faces: 2132021 Number of cells: 925081 Found unknown block: (3010 Embedded blocks in comment or unknown: ( Found end of section in unknown: ) Embedded blocks in comment or unknown: ( ?Found end of section in unknown: ?? ?Found end of section in unknown: ?? ???????Embedded blocks in comment or unknown: ? ??Embedded blocks in comment or unknown: Embedded blocks in comment or unknown: ( \?????Embedded blocks in comment or unknown: ? ???Found end of section in unknown: ) Embedded blocks in comment or unknown: ???Found end of section in unknown: ) Embedded blocks in comment or unknown: ????Embedded blocks in comment or unknown: Embedded blocks in comment or unknown: ( \??????Embedded blocks in comment or unknown: Embedded blocks in comment or unknown: ( \??Embedded blocks in comment or unknown: Embedded blocks in comment or unknown:( \??Embedded blocks in comment or unknown: ? ??Embedded blocks in comment or unknown: ? ??Embedded blocks in comment or unknown: ? ?????????????Found end of section in unknown: " ?@?????Found end of section in unknown: " ?@????@????@?Embedded blocks in comment or unknown: ? ,@???@??Found end of section in unknown: " ?@??@?}Found end of section in unknown:$ ? @????@???@???@?Embedded blocks in comment or unknown: ? ,@?}Found end of section in unknown: $ ? @?Embedded blocks in comment or unknown: ? ,@?Embedded blocks in comment or unknown: ? ,@ ?? ; ??? ; ??? ; ??Embedded blocks in comment or unknown: Embedded blocks in comment or unknown: ( ??Embedded blocks in comment or unknown: Embedded blocks in comment or unknown: ( ???? ; ... The mistake continuous and the terminal don't allow me to introduce more sentences |
fluent3DMeshToFoam
hi bego,
In the text format what you have got in Tgrid, at the first line change Tgrid into fluent and follow the instructions what i mentioned previously. naveen |
Hi naveen,
thanks, I go to try it |
hello,
I have other problem with fluent file case. When I put in the terminal fluent3DMeshToFoam FILE.cas I have the next mistake: Create time Dimension of grid: 3 Number of cells: 942529 Number of faces: 2186935 Number of points: 347809 --> FOAM Warning : Found unknown block of type: "2012" on line 2960 --> FOAM Warning : Found unknown block of type: "2012" on line 2963 --> FOAM Warning : Found unknown block of type: "2012" on line 2966 --> FOAM Warning : Found unknown block of type: "2058" on line 2969 Do not understand characters: on line 2970 From function fluentMeshToFoam::lexer in file fluent3DMeshToFoam.L at line 747. FOAM exiting With fluentMeshToFoam I have a more big mistake, Can someone help me? Thanks |
fluent3DMeshToFoam
hi bego,
Can you send me your mesh file. I can convert that into foam format. |
Thanks naveen, but my teacher project don't want that other people has the mesh. She knows another teacher who knows OpenFOAM in Zaragoza, first we try to get out there.
Thank you very much for everything |
Hi Neveen,
I have a problem in converting the fluent3dmesh to OF1.6. I Copied the Msh file into my case directory and type fluentMeshToFoam extension.msh, but i got this error. can you help me? *---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 1.6 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 1.6-53b7f692aa41 Exec : fluentMeshToFoam 8by15by1.75-.05mm.msh Date : May 19 2010 Time : 12:51:56 Host : mehran-desktop PID : 2889 Case : /home/mehran/OpenFOAM/mehran-1.6/run/test nProcs : 1 SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Dimension of grid: 3 Number of points: 1744596 Reading points number of faces: 5104100 Reading mixed faces Reading mixed faces Reading mixed faces Reading mixed faces Reading mixed faces FINISHED LEXING #0 Foam::error::printStack(Foam::Ostream&) in "/home/mehran/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigSegv::sigSegvHandler(int) in "/home/mehran/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: #3 main in "/home/mehran/OpenFOAM/OpenFOAM-1.6/applications/bin/linuxGccDPOpt/fluentMeshToFoam" #4 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #5 _start at /usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/i386/elf/start.S:122 Segmentation fault Thanks, Mehran Quote:
|
view the new mesh
hello!
one stupid question (newbie): i've just converted my .msh file into an ASCII format file for OpenFoam with the command "fluent3DMeshToFoam". everything fine. but now i would like to view this converted mesh via paraFoam and i don't know what to do. i have no blockMeshDict file so i cannot use blockMesh.... could someone please help me? thanks |
All times are GMT -4. The time now is 02:39. |