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

[Commercial meshers] fluent3DMeshToFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 12, 2010, 04:42
Default
  #1
New Member
 
Begoña
Join Date: Oct 2009
Posts: 28
Rep Power: 16
bego is on a distinguished road
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 block4
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
bego is offline   Reply With Quote

Old   April 12, 2010, 05:00
Default fluent3DMeshToFoam
  #2
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
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
naveen is offline   Reply With Quote

Old   April 12, 2010, 05:05
Default
  #3
New Member
 
Begoña
Join Date: Oct 2009
Posts: 28
Rep Power: 16
bego is on a distinguished road
Hi naveen,
thanks, I go to try it
bego is offline   Reply With Quote

Old   April 19, 2010, 04:04
Default
  #4
New Member
 
Begoña
Join Date: Oct 2009
Posts: 28
Rep Power: 16
bego is on a distinguished road
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
bego is offline   Reply With Quote

Old   April 19, 2010, 04:24
Default fluent3DMeshToFoam
  #5
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
hi bego,

Can you send me your mesh file. I can convert that into foam format.
naveen is offline   Reply With Quote

Old   April 19, 2010, 04:46
Default
  #6
New Member
 
Begoña
Join Date: Oct 2009
Posts: 28
Rep Power: 16
bego is on a distinguished road
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
bego is offline   Reply With Quote

Old   May 19, 2010, 13:02
Default
  #7
Member
 
Join Date: Nov 2009
Posts: 48
Rep Power: 16
farhagim is on a distinguished road
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:rintStack(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:
Originally Posted by naveen View Post
hi bego,

Can you send me your mesh file. I can convert that into foam format.
farhagim is offline   Reply With Quote

Old   November 30, 2010, 06:12
Default view the new mesh
  #8
Member
 
Join Date: Oct 2010
Location: Stuttgart
Posts: 35
Rep Power: 15
grandgo is on a distinguished road
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
grandgo is offline   Reply With Quote

Old   November 30, 2010, 23:03
Default fluent3DMeshToFoam
  #9
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
hi grandgo

Just go to the file where your case is located, and type paraFoam and switch off all the vol Field status and accept it.....


regards,

NAVEEN
naveen is offline   Reply With Quote

Old   December 1, 2010, 10:59
Default
  #10
Member
 
Join Date: Oct 2010
Location: Stuttgart
Posts: 35
Rep Power: 15
grandgo is on a distinguished road
thanks naveen!
grandgo is offline   Reply With Quote

Old   December 3, 2010, 11:06
Default
  #11
Member
 
Jason G.
Join Date: Sep 2009
Location: St. Louis, IL
Posts: 89
Rep Power: 16
JasonG is on a distinguished road
Quote:
Originally Posted by grandgo View Post
thanks naveen!
Once you have the file open in paraFoam, you can check the box "Include Sets" on the panel and it will allow you to view the sets that the checkMesh utility may write if you have skewed faces or nonOrthofaces.
JasonG is offline   Reply With Quote

Old   December 6, 2010, 07:10
Default
  #12
Member
 
Join Date: Oct 2010
Location: Stuttgart
Posts: 35
Rep Power: 15
grandgo is on a distinguished road
Quote:
Originally Posted by JasonG View Post
Once you have the file open in paraFoam, you can check the box "Include Sets" on the panel and it will allow you to view the sets that the checkMesh utility may write if you have skewed faces or nonOrthofaces.
thank you, too!

best regards
grandgo is offline   Reply With Quote

Old   April 13, 2011, 15:26
Default converting .msh fluentmeshtofoam
  #13
New Member
 
Marta
Join Date: Dec 2010
Posts: 3
Rep Power: 15
martals is on a distinguished road
Hi farghaim,

I am new in OpenFOAM and I´m trying to convert a .msh from FLUENT to OpenFOAM. I´m using OF 1.7.1. I got the same error message you posted in May 2010. Did you find any solution to this problem?

I paste you my message in OF

hemodynamics@marioc-PowerEdge-R300:~/OpenFOAM/hemodynamics-1.7.1/run/marta/poiseuille_mesh$ fluentMeshToFoam ascii.msh
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.7.x |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.7.x-3776603e4c6c
Exec : fluentMeshToFoam ascii.msh
Date : Apr 11 2011
Time : 22:45:41
Host : marioc-PowerEdge-R300
PID : 13356
Case : /home/hemodynamics/OpenFOAM/hemodynamics-1.7.1/run/marta/poiseuille_mesh
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

number of faces: 1643
Number of points: 203
Reading uniform faces
Reading points


FINISHED LEXING


#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"


#1 Foam::sigSegv::sigSegvHandler(int) in "/opt/openfoam171/lib/linux64GccDPOpt/libOpenFOAM.so"

#2 in "/lib/libc.so.6"
#3
in "/opt/openfoam171/applications/bin/linux64GccDPOpt/fluentMeshToFoam"
#4 __libc_start_main in "/lib/libc.so.6"
#5
in "/opt/openfoam171/applications/bin/linux64GccDPOpt/fluentMeshToFoam"
Violación de segmento
hemodynamics@marioc-PowerEdge-R300:~/OpenFOAM/hemodynamics-1.7.1/run/marta/poiseuille_mesh$

Quote:
Originally Posted by farhagim View Post
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:rintStack(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
martals is offline   Reply With Quote

Old   April 14, 2011, 03:18
Default
  #14
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
Did you also tried fluent3DMeshtoFoam ?
mvoss is offline   Reply With Quote

Old   April 14, 2011, 08:02
Default
  #15
New Member
 
Marta
Join Date: Dec 2010
Posts: 3
Rep Power: 15
martals is on a distinguished road
Thank you Matthias for answering my message.

My mesh is a 2D bifurcation, that is why I am using fluentMeshToFoam. Does fluent3DMeshToFoam work better than fluentMeshToFoam? Do you know what can be the source of my errors? I don´t understand what they mean or how to solve them!

Thanks,

Marta.
martals is offline   Reply With Quote

Old   May 29, 2013, 13:08
Default Remember to save mesh as ASCII!
  #16
New Member
 
Simon
Join Date: Dec 2012
Location: Colorado
Posts: 16
Rep Power: 13
Roark is on a distinguished road
I had the same error message as OP. The problem was that the mesh exported by Fluent was in binary format, not ASCII as is required by fluentMeshToFoam. To export as ASCII in ANSYS Meshing, do Tools > Options > Meshing > Export and you will see the option.
david112 likes this.
Roark is offline   Reply With Quote

Old   August 16, 2023, 09:04
Thumbs up
  #17
New Member
 
David Kinast
Join Date: Nov 2016
Posts: 15
Rep Power: 9
david112 is on a distinguished road
Quote:
Originally Posted by Roark View Post
I had the same error message as OP. The problem was that the mesh exported by Fluent was in binary format, not ASCII as is required by fluentMeshToFoam. To export as ASCII in ANSYS Meshing, do Tools > Options > Meshing > Export and you will see the option.

I had the same problem. Saving in ASCII-format fixed it!
david112 is offline   Reply With Quote

Old   April 16, 2018, 09:22
Default
  #18
New Member
 
Join Date: Mar 2018
Posts: 1
Rep Power: 0
Working_on_OpenFOAM is on a distinguished road
Quote:
Originally Posted by naveen View Post
hi bego,

Can you send me your mesh file. I can convert that into foam format.

Hi everybody,


I still have the same Problem in OpenFOAM4.0 - referring to below .

can u help me converting my mesh?
Working_on_OpenFOAM is offline   Reply With Quote

Old   October 7, 2019, 04:15
Default Embedded blocks in comment or unkown
  #19
Member
 
Rosario Arnau
Join Date: Feb 2017
Location: Spain
Posts: 57
Rep Power: 9
rarnaunot is on a distinguished road
Hi everyone,

In my case the message "Embedded blocks in comment or unkown" is returned so many times:

Code:
@Embedded blocks in comment or unknown:Ҧ
\@▒?Embedded blocks in comment or unknown:▒
@ܒ|Embedded blocks in comment or unknown:▒
xterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256colorxterm-256color
Does someone know why this message is returned? It has to mean something so that if I know what does message mean, I can fix it in case it is a mesh problem....

Thanks,
rarnaunot is offline   Reply With Quote

Old   January 8, 2020, 06:41
Default
  #20
Senior Member
 
Przemek
Join Date: Jun 2011
Posts: 249
Rep Power: 15
gaza is on a distinguished road
Hi
I got similar problem.
I opened msh file in ICEM, saved as fluent mesh there and now it works.
rarnaunot likes this.
__________________
best regards
pblasiak
gaza 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
periodic (cyclic) boundary - fluent3DMeshToFoam cyln OpenFOAM 1 October 17, 2017 02:59
[Commercial meshers] fluent3DMeshToFoam conversion problem CFDnewbie147 OpenFOAM Meshing & Mesh Conversion 14 March 12, 2014 05:16
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) cfdonline2mohsen OpenFOAM 3 October 21, 2013 09:28
[Commercial meshers] fluentMeshToFoam instead of fluent3DMeshToFoam sasanghomi OpenFOAM Meshing & Mesh Conversion 2 March 29, 2013 07:58
OpenFOAM command from inside MATLAB sega OpenFOAM Post-Processing 18 September 25, 2012 07:35


All times are GMT -4. The time now is 15:45.