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

[Salome] HELP! IdeasToUnvFoam giving error from SALOME mesh

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By linnemann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2017, 05:37
Default HELP! IdeasToUnvFoam giving error from SALOME mesh
  #1
New Member
 
Robert Huang
Join Date: Jan 2017
Posts: 11
Rep Power: 9
HRobertHS is on a distinguished road
Hi everyone,

Every time I run IdeasToUnvFoam on my mesh unv file, I get the error:

From function Foam:olyMesh:olyMesh(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 592
Found 640 undefined faces in mesh; adding to default patch.

Please help, I am trying to do a test case for a project.
Had to delete one of the mesh files for space on upload..
Attached Files
File Type: gz test.tar.gz (161.6 KB, 8 views)
HRobertHS is offline   Reply With Quote

Old   March 7, 2017, 07:57
Default
  #2
New Member
 
Join Date: Jan 2017
Posts: 11
Rep Power: 9
Jack80 is on a distinguished road
You have not created any group of faces in Salome to generate your boundary conditions later in OpenFoam. When you convert your mesh, it detects that you have faces that are not assigned to any boundary, and it creates a boundary named "default" with those faces (as you can see in /constant/polyMesh/boundary).

I don't know what you are trying to simulate, but you need to create your boundaries in Salome (through Create Group). Once this is done, the error will disappear.

Besides, you need to do this in order to assign your boundary conditions in folder 0.


Best regards
Jack80 is offline   Reply With Quote

Old   March 28, 2021, 18:37
Default
  #3
New Member
 
Evren Yilmaz Yakin
Join Date: Feb 2016
Location: Ankara, Turkey
Posts: 27
Rep Power: 10
evrenykn is on a distinguished road
Hi,

I have the same problem with same error as below

Code:
Sorting boundary faces according to group (patch)
0: inlet_air is patch
1: inlet_fuel is patch
2: outlet is patch
3: wall is faceZone

Constructing mesh with non-default patches of size:
    inlet_air   715
    inlet_fuel  889
    outlet      242

--> FOAM Warning :
    From function Foam::polyMesh::polyMesh(const Foam::IOobject&, Foam::pointField&&, 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 40694 undefined faces in mesh; adding to default patch.
Adding cell and face zones
 Face Zone wall         10250
ideasUnvToFoam: ideasUnvToFoam.C:1287: int main(int, char**): Assertion `nouveau > -1' failed.
Aborted (core dumped)
When I use triangular mesh, everything is OK. But when I want to use quad mesh, I take that error.
__________________
Best Regards,

Evren
evrenykn is offline   Reply With Quote

Old   January 21, 2022, 13:01
Default
  #4
New Member
 
HH
Join Date: Apr 2019
Posts: 17
Rep Power: 7
user_HH is on a distinguished road
Hi,

I came across the same error when using quad mesh in salome.
I have not tried any other types as i need a structured mesh in a predefined way.
I have defined all the boundaries in salome.

Did you solve this error?
If so, can you share what you did?

Any help is appreciated.

Thanks,
HH
user_HH is offline   Reply With Quote

Old   May 12, 2023, 07:30
Default
  #5
New Member
 
Edoardo
Join Date: Apr 2023
Location: Italy
Posts: 27
Rep Power: 3
Edoardo1993 is on a distinguished road
I have the same error, any help?
Edoardo1993 is offline   Reply With Quote

Old   May 12, 2023, 14:08
Default
  #6
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Try this.
Newer versions of Salome will/can create some extra groups under the mesh. You need to delete the volume and edge meshes before exporting to UNV.
Attached Images
File Type: png Salome.png (31.0 KB, 37 views)
GerhardHolzinger and Ali_Sh like this.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann 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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 08:34
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 10:38
[Other] Error while tring to convert mesh generated in salome to openfoam Arjun Jayakumar OpenFOAM Meshing & Mesh Conversion 0 October 10, 2014 09:46
[Salome] Error while tring to convert mesh generated in salome to openfoam Arjun Jayakumar OpenFOAM Meshing & Mesh Conversion 0 October 10, 2014 09:23
Salome mesh with NETGEN 1D-2D-3D for OF kriz OpenFOAM 4 June 14, 2010 07:17


All times are GMT -4. The time now is 03:02.