CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] FluentMeshtoFoam error (https://www.cfd-online.com/Forums/openfoam-meshing/61699-fluentmeshtofoam-error.html)

sukratu March 5, 2008 04:39

FluentMeshtoFoam error
 
Looks like the lexing is okay as it says. Whats happening later? I have copied the message I get below

/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluentMeshToFoam . schannel ../Ser_D_1mm_Rc-2_366720_Pave.msh
Date : Mar 05 2008
Time : 14:42:58
Host : sukratu.cms.unipune.ernet.in
PID : 4878
Root : /home/sukratu/OpenFOAM/sukratu-1.4.1/run/mycase1/icoFoam
Case : schannel
Nprocs : 1
Create time

Dimension of grid: 3
Number of points: 375719
Reading points
number of faces: 1108888
Reading mixed faces
Reading mixed faces
8(5f9 bf0 4 3Reading mixed faces
Reading mixed faces
Reading mixed faces
Number of cells: 366720
Other readCellGroupData: 2 1 59880 1 4
Reading uniform cells
Read zone1:2 name:fluid patchTypeID:fluid
Reading zone data
Read zone1:3 name:perioidc_shadow patchTypeID:shadow
Reading zone data
Read zone1:4 name:perioidc patchTypeID:periodic
Reading zone data
Read zone1:5 name:interior patchTypeID:interior
Reading zone data
Read zone1:6 name:wall patchTypeID:wall
Reading zone data
Read zone1:8 name:default-interior patchTypeID:interior
Reading zone data


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells
Building patch-less mesh...--> FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 577
Found 17456 undefined faces in mesh; adding to default patch.
done.

Building boundary and internal patches.
Creating patch 0 for zone: 3 start: 1 end: 1528 type: shadow name: perioidc_shadow


--> FOAM FATAL ERROR : fluent patch type shadow not recognised.#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/sukratu/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/sukratu/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so"
#2 main in "/home/sukratu/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/fluentMesh ToFoam"
#3 __libc_start_main in "/lib/libc.so.6"
#4 __gxx_personality_v0 in "/home/sukratu/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/fluentMesh ToFoam"


From function fluentToFoam::main(int argc, char *argv[])
in file fluentMeshToFoam.L at line 1330.

FOAM aborting

Aborted

fra76 March 5, 2008 07:18

You have shadow surfaces in yo
 
You have shadow surfaces in your Fluent mesh (i.e., internal faces set as wall). Try fluent3DMeshToFoam. It should handle them!

Francesco

sukratu March 6, 2008 23:52

Nope. Looks like the 3D solver
 
Nope. Looks like the 3D solver is facing trouble too

Here is what I did and the message it gave.


[sukratu@sukratu icoFoam]$ fluent3DMeshToFoam . schannel ../Ser_D_1mm_Rc-2_366720_Pave.msh
/*---------------------------------------------------------------------------*\
| ========= | |
| \ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \ / O peration | Version: 1.4.1 |
| \ / A nd | Web: http://www.openfoam.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/

Exec : fluent3DMeshToFoam . schannel ../Ser_D_1mm_Rc-2_366720_Pave.msh
Date : Mar 07 2008
Time : 10:07:58
Host : sukratu.cms.unipune.ernet.in
PID : 3549
Root : /home/sukratu/OpenFOAM/sukratu-1.4.1/run/mycase1/icoFoam
Case : schannel
Nprocs : 1
Create time



--> FOAM FATAL ERROR : Do not understand characters:

From function fluentMeshToFoam::lexer
in file fluentMeshToFoam.L at line 703.

FOAM exiting

mattijs March 7, 2008 04:14

You probably have DOS linefeed
 
You probably have DOS linefeeds instead of Unix linefeeds. Try running something like dos2unix to convert the file.

sukratu March 7, 2008 22:54

Looks like there were dos line
 
Looks like there were dos linefeeds because dos2unix did process the files. However, the
error persists when I use Fluent3DMeshtoFoam
(as well as FluentMeshtoFoam which I tried just in case that went through for some reason).


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