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

[Salome] ideasUnvToFoam Fatal Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 29, 2020, 07:46
Default ideasUnvToFoam Fatal Error
  #1
New Member
 
Maciej Marczak
Join Date: Sep 2020
Posts: 5
Rep Power: 5
MMarczak is on a distinguished road
Hi Everyone


It's my first post on this forum, so if I'll make some mistakes in describing problem, please correct me and show me the way


I think, I am more little more than beginer in OpenFoam, but I am still searching for the best geometry and meshing softwere. Since 2 weeks I am working with SALOME, and find it realy userfriendly, but I am struggling with "ideasUnvToFoam" command.


Now I am trying to prepere airfoil simulation, as it is shown in this tutorial: https://www.youtube.com/watch?v=dNNn...el=AliIkhsanul


When I type "ideasUnvToFoam" command the following info appears:


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0
Exec : ideasUnvToFoam NACA0012.unv
Date : Sep 29 2020
Time : 13:01:53
Host : "mmarczak-GV62-7RC"
PID : 10456
Case : /home/mmarczak/airFoil2D_1
nProcs : 1
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing 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 170640 points.

Processing tag:2412
Starting reading cells at line 341303.
First occurrence of element type 11 for cell 1 at line 341304
First occurrence of element type 41 for cell 264505 at line 1134816
First occurrence of element type 44 for cell 264507 at line 1134820
First occurrence of element type 112 for cell 574837 at line 1755480
First occurrence of element type 115 for cell 574839 at line 1755484
Read 175014 cells and 310332 boundary faces.

Processing tag:2467
Starting reading patches at line 2105510.
For group 18 named Airfoil trying to read 138 patch face indices.
For group 20 named Farfield trying to read 630 patch face indices.
For group 23 named Face2 trying to read 21192 patch face indices.

Found 47702 reversed boundary faces out of 310332
Of 310332 so-called boundary faces 75161 belong to two cells and are therefore internal
Sorting boundary faces according to group (patch)
0: Airfoil is patch
1: Farfield is faceZone
2: Face2 is faceZone

Constructing mesh with non-default patches of size:
Airfoil 138



--> FOAM FATAL ERROR:
Trying to specify a boundary face 4(0 42660 42811 2) on the face on cell 31639 which is either an internal face or already belongs to some other patch. This is face 0 of patch 0 named Airfoil.

From function void Foam:olyMesh::setTopology(const cellShapeList&, const faceListList&, const wordList&, Foam::labelList&, Foam::labelList&, Foam::label&, Foam::label&, Foam::cellList&)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 324.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam:olyMesh::setTopology(Foam::List<Foam::cellS hape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::List<int>&, Foam::List<int>&, int&, int&, Foam::List<Foam::cell>&) at ??:?
#3 Foam:olyMesh:olyMesh(Foam::IOobject const&, Foam::Xfer<Foam::Field<Foam::Vector<double> > > const&, Foam::List<Foam::cellShape> const&, Foam::List<Foam::List<Foam::face> > const&, Foam::List<Foam::word> const&, Foam::List<Foam::word> const&, Foam::word const&, Foam::word const&, Foam::List<Foam::word> const&, bool) at ??:?
#4 ? in "/usr/bin/ideasUnvToFoam"
#5 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#6 ? in "/usr/bin/ideasUnvToFoam"
Aborted (core dumped)



I've tried to somehow handled, but without any succes in this matter.
I observed that, when i delated gruop of faces from my mesh module, mesh converting goes well, but as we know I need patches to run simulation.


I'll be very thankfull for helping me with that problem. I've spent 2 days trying to handle with that making new gemotries, mashes or playing with groups mode.


Best Regards

Maciej Marczak
MMarczak is offline   Reply With Quote

Old   September 29, 2020, 09:02
Default
  #2
Member
 
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 7
petros is on a distinguished road
Hi,

ideasUnvToFoam works pretty fine as far as I know.

Quote:
Originally Posted by MMarczak View Post

--> FOAM FATAL ERROR:
Trying to specify a boundary face 4(0 42660 42811 2) on the face on cell 31639 which is either an internal face or already belongs to some other patch. This is face 0 of patch 0 named Airfoil.
The error manifests itself. Face 0 belongs already to another patch, namely Airfoil.

In general, when you mesh with Salome try to make groups of only boundary faces. The rest of them, which are left undefined, will be considered automatically as internal and will be merged by the utility.

Edit: Please try to use the code tags when you want to insert a code snippet. This will make the post more readable and understandable.

Best,
Petros

Last edited by petros; September 29, 2020 at 14:26.
petros is offline   Reply With Quote

Old   September 29, 2020, 14:25
Default
  #3
New Member
 
Maciej Marczak
Join Date: Sep 2020
Posts: 5
Rep Power: 5
MMarczak is on a distinguished road
Thank You so much.



I've done as You said and everythink went well.
I created patches only for boundary faces and it works!


Thanks once time
MMarczak 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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
Errors in UDF shashank312 Fluent UDF and Scheme Programming 6 May 30, 2013 20:30
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


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