CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... (http://www.cfd-online.com/Forums/openfoam-meshing-other/)
-   -   Trimmed cell and embedded refinement mesh conversion issues (http://www.cfd-online.com/Forums/openfoam-meshing-other/61753-trimmed-cell-embedded-refinement-mesh-conversion-issues.html)

michele July 13, 2005 07:26

Hello, I am trying to conve
 
Hello,
I am trying to convert a proAM mesh. The checks performed under prostar are satisfied, except for the following warnings that the "GEOM" command gave me:


BEGINNING GEOMETRY WRITE TO FILE star.geom
NEIGHBOR AND BOUNDARY LISTS - WRITTEN
**WARNING - NO CELL FOUND FOR BOUNDARY 3150 IN REGION 10
BOUNDARY SET CLEARED
**WARNING - NO CELL FOUND FOR BOUNDARY 3640 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 5024 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 6141 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 6235 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 7250 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 7531 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 7860 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 7897 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 8557 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 8601 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9036 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9283 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9542 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9566 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9583 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9589 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9591 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9914 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9928 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 9966 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 10145 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 10154 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 10158 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 10520 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 23336 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 23448 IN REGION 10
**WARNING - NO CELL FOUND FOR BOUNDARY 23587 IN REGION 10

**WARNING - 28 BOUNDARIES NOT FOUND ON ANY CELL IN THE MODEL.
THE BOUNDARY SET NOW CONTAINS ONLY THESE BOUNDARIES.

**NOTE - POSSIBLE REASONS FOR UNAPPLIED BOUNDARIES:
1) BOUNDARY VERTICES DO NOT MATCH THE VERTICES OF ANY CELL FACE
2) BOUNDARY HAS ONLY ONE OR TWO UNIQUE VERTICES
3) MULTIPLE BOUNDARIES ON A SINGLE CELL FACE
4) BOUNDARIES ON FACE 7 OR 8 OF A TRIMMED CELL *AND* ON THEIR ATTACHED FACES


In your experience are these important issues, and how they can be resolved?
When I import the mesh with the "starToFoam" utility I get a lot of error messages (about wrong couples direction mismatch and missing faces), and the conversion stops due to "segmentation fault". Herebelow it is reported the snipped output.


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

Exec : starToFoam /home/michele/OpenFOAM/michele-1.1/run/simulations/rasInterFoam LSD star
Date : Jul 13 2005
Time : 11:11:58
Host : malkut
PID : 7726
Root : /home/michele/OpenFOAM/michele-1.1/run/simulations/rasInterFoam
Case : LSD
Nprocs : 1
Create time

Number of points = 168684

Number of cells = 137799

Star region 10 with type WALL is now Foam patch 0

Setting size of boundary to 1

Foam patch 0 is of type wall with name WALL10

Default patch type set to empty

Reading couples
Number of couples = 54868

finished reading couples
Doing couple 0. STAR couple ID: 1
Resizing points list
Couple direction mismatch in the couple match 4. STAR couple ID: 3
The angle between face normals is 20.1964 deg.
master cell: 109361 STAR number: 109362 type: hex face: 1
slave cell : 137702 STAR number: 137703 type: tet face: 2
Couple direction mismatch in the couple match 5. STAR couple ID: 3
The angle between face normals is 20.5409 deg.
master cell: 109361 STAR number: 109362 type: hex face: 1
slave cell : 137703 STAR number: 137704 type: hexagonalPrism face: 6
Couple direction mismatch in the couple match 14. STAR couple ID: 7
The angle between face normals is 21.1974 deg.
master cell: 78565 STAR number: 78566 type: sammTrim1 face: 5
slave cell : 137699 STAR number: 137700 type: tet face: 0
Couple direction mismatch in the couple match 30. STAR couple ID: 15
The angle between face normals is 36.68 deg.
master cell: 80678 STAR number: 80679 type: hex face: 2
slave cell : 137705 STAR number: 137706 type: pyr face: 3
Couple direction mismatch in the couple match 32. STAR couple ID: 16
The angle between face normals is 46.9125 deg.
master cell: 80680 STAR number: 80681 type: sammTrim2 face: 3
slave cell : 137702 STAR number: 137703 type: tet face: 0
Couple direction mismatch in the couple match 33. STAR couple ID: 16
The angle between face normals is 70.0402 deg.
master cell: 80680 STAR number: 80681 type: sammTrim2 face: 3
slave cell : 137703 STAR number: 137704 type: hexagonalPrism face: 3
Doing couple 2743. STAR couple ID: 709
Doing couple 5486. STAR couple ID: 1394
Doing couple 8229. STAR couple ID: 2080
Doing couple 10972. STAR couple ID: 2766
Doing couple 13715. STAR couple ID: 3452
Doing couple 16458. STAR couple ID: 4169
Doing couple 19201. STAR couple ID: 4912
Couple direction mismatch in the couple match 19657. STAR couple ID: 5034
The angle between face normals is 89.9247 deg.
master cell: 87551 STAR number: 87552 type: hexagonalPrism face: 3
slave cell : 136784 STAR number: 136785 type: hex face: 5
Couple direction mismatch in the couple match 19658. STAR couple ID: 5034
The angle between face normals is 89.949 deg.
master cell: 87551 STAR number: 87552 type: hexagonalPrism face: 3
slave cell : 136785 STAR number: 136786 type: hex face: 5
Couple direction mismatch in the couple match 19660. STAR couple ID: 5034
The angle between face normals is 89.8449 deg.
master cell: 87551 STAR number: 87552 type: hexagonalPrism face: 3
slave cell : 136787 STAR number: 136788 type: hex face: 5
Doing couple 21944. STAR couple ID: 5636
Doing couple 24687. STAR couple ID: 6338
Doing couple 27430. STAR couple ID: 7056
Doing couple 30173. STAR couple ID: 7756
Doing couple 32916. STAR couple ID: 8458
Doing couple 35659. STAR couple ID: 9144
Doing couple 38402. STAR couple ID: 9852
Doing couple 41145. STAR couple ID: 10542
Doing couple 43888. STAR couple ID: 11227
Doing couple 46631. STAR couple ID: 11913
Doing couple 49374. STAR couple ID: 12611
Doing couple 52117. STAR couple ID: 13304
Couple direction mismatch in the couple match 54842. STAR couple ID: 14009
The angle between face normals is 31.8275 deg.
master cell: 137687 STAR number: 137688 type: sammTrim1 face: 6
slave cell : 137784 STAR number: 137785 type: prism face: 2
Couple direction mismatch in the couple match 54843. STAR couple ID: 14009
The angle between face normals is 29.1827 deg.
master cell: 137687 STAR number: 137688 type: sammTrim1 face: 6
slave cell : 137785 STAR number: 137786 type: sammTrim1 face: 0
Couple direction mismatch in the couple match 54846. STAR couple ID: 14011
The angle between face normals is 31.2848 deg.
master cell: 137751 STAR number: 137752 type: sammTrim1 face: 1
slave cell : 101754 STAR number: 101755 type: wedge face: 1
Couple direction mismatch in the couple match 54850. STAR couple ID: 14012
The angle between face normals is 29.7261 deg.
master cell: 137751 STAR number: 137752 type: sammTrim1 face: 6
slave cell : 101754 STAR number: 101755 type: wedge face: 1
Couple direction mismatch in the couple match 54851. STAR couple ID: 14012
The angle between face normals is 46.9404 deg.
master cell: 137751 STAR number: 137752 type: sammTrim1 face: 6
slave cell : 101757 STAR number: 101758 type: hex face: 4
Doing couple 54860. STAR couple ID: 14016
Couple direction mismatch in the couple match 54864. STAR couple ID: 14017
The angle between face normals is 25.5599 deg.
master cell: 137778 STAR number: 137779 type: sammTrim1 face: 1
slave cell : 102362 STAR number: 102363 type: hex face: 1
Couple direction mismatch in the couple match 54867. STAR couple ID: 14018
The angle between face normals is 29.1183 deg.
master cell: 137778 STAR number: 137779 type: sammTrim1 face: 6
slave cell : 102363 STAR number: 102364 type: hex face: 1
Finished doing couples

Creating merge sets
Finished creating merge sets. Number of merge sets: 12.
Total number of points: 168713
Number of used points: 168699
Renumbering all faces
Renumbering all cell shapes
Renumbering STAR point lookup
Purging cell shape 72463
Purging cell shape 72488
Purging cell shape 72510
Purging cell shape 72514
Purging cell shape 72515
Purging cell shape 72519

...
... many others ...
...

Purging cell shape 129949
Purging cell shape 130710
Purging cell shape 136764
Collecting boundary faces
Finished collecting boundary faces
Writing mesh
Creating a polyMesh
Maximum possible number of faces in mesh: 864671

Number of internal faces: 419697
starMesh::createPolyBoundary() : missing face found in cell 87551.
Type: unknown. STAR cell number: 87552. Face: 4(110757 105476 110756 110758)
PROSTAR Command: vset,news,vlis,110758,105477,110757,110759 $ bset,add,vset,all
starMesh::createPolyBoundary() : missing face found in cell 122532.
Type: hex. STAR cell number: 122533. Face: 4(105476 110756 110968 110965)
PROSTAR Command: vset,news,vlis,105477,110757,110969,110966 $ bset,add,vset,all
starMesh::createPolyBoundary() : missing face found in cell 137703.
Type: unknown. STAR cell number: 137704. Face: 3(45836 101229 101236)
PROSTAR Command: vset,news,vlis,45837,101230,101237 $ bset,add,vset,all
starMesh::createPolyBoundary() : missing face found in cell 137705.
Type: unknown. STAR cell number: 137706. Face: 4(168502 164084 101241 101236)
PROSTAR Command: vset,news,vlis,168503,164085,101242,101237 $ bset,add,vset,all
Number of unmatched faces: 4
Number of boundary faces: 25273
Total number of faces: 444970


Any suggestions?
Yours sincerely,
Michele.

mattijs July 13, 2005 07:44

My suggestion is: Get a ver
 
My suggestion is:

Get a very recent version of ProAM and use the NGEOM command to output a ccm+ type file.

Make sure there are absolutely no errors inside ProAM.

Use the ccm24ToFoam utility to convert the .ccm file into OpenFOAM format. (if it does not convert I have a slightly improved version of ccm24ToFoam which I can post if nessecary)

michele July 15, 2005 05:15

Thanks Mattijs for your sugges
 
Thanks Mattijs for your suggestion.
Regards,
Michele.


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