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] SolidWorks to ANSYS to OpenFoam mesh conversion failed (https://www.cfd-online.com/Forums/openfoam-meshing/193826-solidworks-ansys-openfoam-mesh-conversion-failed.html)

nuclear_swapnil October 4, 2017 06:53

SolidWorks to ANSYS to OpenFoam mesh conversion failed
 
Hey Foamers!!!!!

I have been stuck at mesh conversion problem since long... Kindly help me to understand the problem.

I am trying to simulate a stirred tank reactor in OpenFOAM using MRFProperties.

I have modeled the geometry in solidworks and imported to ansys mesh tool where I have done the meshing. However, when I try to convert the .msh file to foam file using fluentMeshToFoam <filename>.msh, I get the following error.

Embedded blocks in comment or unknown: (
Embedded blocks in comment or unknown:(
Found end of section in unknown:)


number of faces: 135368
Number of cells: 61069
Reading points
Reading points
Reading mixed faces
Reading uniform faces
Reading uniform faces
Reading mixed faces
Other readCellGroupData: 2 1 ee8d 1 0
Reading mixed cells
Read zone1:1 name:interior-geom_solid1 patchTypeID:interior
Reading zone data
Read zone1:2 name:geom_solid1 patchTypeID:fluid
Reading zone data
Read zone1:5 name:rotor patchTypeID:wall
Reading zone data
Read zone1:6 name:wall patchTypeID:wall
Reading zone data
Read zone1:7 name:wall1 patchTypeID:wall
Reading zone data


FINISHED LEXING


dimension of grid: 3
Creating shapes for 3-D cells
Building patch-less mesh...--> FOAM Warning :
From function Foam::polyMesh::polyMesh(const Foam::IOobject&, const Foam::Xfer<Foam::Field<Foam::Vector<double> > >&, const cellShapeList&, const faceListList&, const wordList&, const wordList&, const Foam::word&, const Foam::word&, const wordList&, bool)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 595
Found 5620 undefined faces in mesh; adding to default patch.
done.

Building boundary and internal patches.
Creating patch 0 for zone: 1 start: 1 end: 129748 type: interior name: interior-geom_solid1
Creating patch 1 for zone: 5 start: 129749 end: 132606 type: wall name: rotor
Creating patch 2 for zone: 6 start: 132607 end: 133916 type: wall name: wall
Creating patch 3 for zone: 7 start: 133917 end: 135368 type: wall name: wall1
Patch interior-geom_solid1 is internal to the mesh and is not being added to the boundary.
Adding new patch rotor of type wall as patch 0
Adding new patch wall of type wall as patch 1
Adding new patch wall1 of type wall as patch 2

Writing mesh... to "constant/polyMesh" done.

End



I know the error is due to generated Patch "interior-geom_solid1" which I have not generated. Herewith I have attached .msh file. kindly help me to understand the problem. Exactly where I am doing mistake (in ANSYS or solidworks)

student666 October 11, 2017 00:38

If you're runningun a 3D case,
The proper command is fluent3dMeshToFoam


All times are GMT -4. The time now is 07:36.