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

[Salome] ideasUnvToFoam problem with internal groups

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2013, 12:48
Default ideasUnvToFoam problem with internal groups
  #1
New Member
 
Sergio
Join Date: May 2013
Posts: 1
Rep Power: 0
s.marcocalero is on a distinguished road
Hello all,
I'm a beginner with OpenFoam and I'm trying to import a mesh created in Salome to OpenFoam using the format .unv and ideasUnvToFoam. I want to run a rotating mesh simulation so I need some internal groups to create the "AMI", I've made the groups in Salome (see attached screenshot) and everything is ok.

When I export this mesh to .unv format, everything works right. I've imported this .unv file int another program (and back into salome) and the groups are ok.

But when I use ideasUnvToFoam it shows
Code:
sergio@ubuntu:~/Salome_Studies/test$ ideasUnvToFoam Test.unv 
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  2.1.1                                 |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
Build  : 2.1.1-221db2718bbb
Exec   : ideasUnvToFoam Test.unv
Date   : May 31 2013
Time   : 11:26:45
Host   : "ubuntu"
PID    : 4953
Case   : /home/sergio/Salome_Studies/test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Processing tag:164
Starting reading units at line 3.
l:1
units:"  SI: Meter (newton)"
unitType:2
Unit factors:
    Length scale       : 1
    Force scale        : 1
    Temperature scale  : 1
    Temperature offset : 273.15


Processing tag:2420
Skipping tag 2420 on line 9
Skipping section at line 9.

Processing tag:2411
Starting reading points at line 20.
Read 184 points.

Processing tag:2412
Starting reading cells at line 391.
First occurrence of element type 11 for cell 1 at line 392
First occurrence of element type 41 for cell 45 at line 656
First occurrence of element type 44 for cell 326 at line 936
First occurrence of element type 112 for cell 185 at line 1304
Read 140 cells and 324 boundary faces.

Processing tag:2467
Starting reading patches at line 1586.
For group 1 named inner_circle trying to read 11 patch face indices.
For group 2 named outer_circle trying to read 21 patch face indices.
For group 3 named middle_circle trying to read 12 patch face indices.
For group 4 named top trying to read 140 patch face indices.
For group 5 named bottom trying to read 140 patch face indices.

Sorting boundary faces according to group (patch)
0: inner_circle is patch
1: outer_circle is patch
2: middle_circle is cellZone
3: top is patch
4: bottom is patch

Constructing mesh with non-default patches of size:
    inner_circle	11
    outer_circle	21
    top	140
    bottom	140

Adding cell and face zones
 Cell Zone middle_circle 	12

End
So it makes a cell zone with the inner groups (it should do a face zone I think, but I could convert it later). But this is not the only problem, because when I run paraView and show this cell zone I found that it is not formed by the appropriate elements (see attached screenshot).

I think that there may be a problem with ideasUnvToFoam but I don't know C so I cannot understand the code to try to repair it.

Please, if someone knows what I'm doing wrong or where the problem may be, a little help would be great.

Sergio.

PS: I know that the mesh is not as fine as it must be, but this is just a test with a simple mesh to avoid uploading huge files.
I have tried it with a real mesh (400k elements) with the same problem, the internal group is not well converted.

The attached zip file is the .unv mesh file

Edit: I am using salome 7.2 and OpenFoam 2.1
Attached Images
File Type: jpg ParaView.jpg (40.5 KB, 21 views)
File Type: jpg Salome.jpg (38.3 KB, 17 views)
Attached Files
File Type: zip Test.zip (9.3 KB, 3 views)
s.marcocalero is offline   Reply With Quote

Reply

Tags
conversion, ideasunvtofoam, internal groups, unv


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
simple problem with internal faces Boundary condition mrshb4 OpenFOAM Pre-Processing 25 April 21, 2022 02:11
Problem with: 'Divergence detected in AMG for Coupled: protective actions enabled!' dengdeng FLUENT 1 September 22, 2018 11:27
Problem diverges when exhaust valve opens swerner0711 AVL FIRE 0 September 21, 2018 08:14
Problem with pressure delta in internal walls Mnasso FLUENT 1 March 9, 2018 18:39
[ANSYS Meshing] Inflation problem: Internal pipe flow with Turbulator Inserts Zaphod'sSecondHead ANSYS Meshing & Geometry 0 December 9, 2012 06:42


All times are GMT -4. The time now is 13:17.