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/)
-   -   [Salome] HELP! IdeasToUnvFoam giving error from SALOME mesh (https://www.cfd-online.com/Forums/openfoam-meshing/184545-help-ideastounvfoam-giving-error-salome-mesh.html)

HRobertHS March 5, 2017 04:37

HELP! IdeasToUnvFoam giving error from SALOME mesh
 
1 Attachment(s)
Hi everyone,

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

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 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..

Jack80 March 7, 2017 06:57

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

evrenykn March 28, 2021 17:37

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.

user_HH January 21, 2022 12:01

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

Edoardo1993 May 12, 2023 06:30

I have the same error, any help?

linnemann May 12, 2023 13:08

1 Attachment(s)
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.


All times are GMT -4. The time now is 05:16.