|
[Sponsors] |
[Salome] unexpected geometry : topology of source and target faces seems different salome |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 28, 2017, 04:25 |
unexpected geometry : topology of source and target faces seems different salome
|
#1 |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12 |
Dear,
I am trying to mesh a complex geometry in Salome 7.8.0. But I have always met a problem Code:
unexpected geometry : topology of source and target faces seems different The python script for generating the mesh has been attached. Any suggestions would be appreciated. Thank you in advance. Best Regards, Bill Last edited by 6863523; March 16, 2017 at 11:31. |
|
March 1, 2017, 13:37 |
Solved
|
#2 |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12 |
Thank you for your attentions.
Problem has been solved. The link below may help the new learners of Salome. http://docs.salome-platform.org/late...algo_page.html |
|
March 3, 2017, 06:48 |
projection error to create the cyclic boundaries
|
#3 |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12 |
Dear,
The mesh is OK. However, when I tried to use the createPatch function, there is always an error like this: Code:
--> FOAM FATAL ERROR: For patch left there are 720 face centres, for the neighbour patch right there are 864 From function void Foam::cyclicPolyPatch::calcTransforms(const primitivePatch&, const pointField&, const vectorField&, const pointField&, const vectorField& in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 156. FOAM exiting Any suggestions would be appreciated. Thank you in advance. Best Regards, Bill |
|
March 3, 2017, 11:04 |
the error occurs when transform the mesh into OpenFOAM
|
#4 |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12 |
Dear,
I have checked again. The error actually occurs when I tried to transfer the mesh into OpenFOAM, using the ideasUnvToFoam function. Code:
Sorting boundary faces according to group (patch) 0: LEFT is patch 1: RIGHT is patch 2: BOTTOM is patch 3: TOP is patch 4: FRONTANDBACK is patch 5: SOLID is patch Constructing mesh with non-default patches of size: LEFT 720 RIGHT 864 BOTTOM 729 TOP 728 FRONTANDBACK 2988514 SOLID 55600 End Code:
--> FOAM FATAL ERROR: For patch left there are 720 face centres, for the neighbour patch right there are 864 From function cyclicPolyPatch::calcTransforms() in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 161. FOAM exiting Obviously, the error was caused by the unequal number of faces on the opposite boundaries (front and back, left and right, bottom and top), which should be of the same number. However, when I tried to use the projection algorithm to generate mesh, there is always an error as in #1. Any suggestions would be appreciated. Thank you in advance. Best Regards, Bill |
|
March 4, 2017, 12:52 |
|
#5 | |
Member
Yousef
Join Date: Feb 2015
Posts: 40
Rep Power: 11 |
Quote:
Thanks for reaching out to me. Unfortunately I am not familiar with Salome grid generation. However, here is what I think about your problem: 1- If you are sure that you have identical patches in your grid, then there is something wrong in exporting the grid and converting it to the opemfoam 2 - You always can use CyclicAMI for non-identical patches (but in case that you cannot make patches identical) As I said, I don't have any experience with this grid generation but it is less probable that openfoam conversion is causing the problem. So I think it is better to double check you grid in Salome and make sure that those patches are identical. Regards, Yousef |
||
March 4, 2017, 13:35 |
|
#6 | |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12 |
Quote:
Thank you very much for your reply. Actually,I agree with you, I believe there is something wrong with the generation of mesh in Salome, as I have succeeded in one structure, however, when I changed the structure, there is this problem. Any way, thanks for your attention. Best Regards, Bill |
||
March 5, 2017, 10:07 |
|
#7 |
Senior Member
|
Dear Bill,
I suggest retrying the mesh conversion using the - in my opinion much better - python script written directly for that purpose. You will find it by looking for salomeToOpenFOAM.py quite easily, I think... |
|
March 6, 2017, 02:39 |
|
#8 | |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12 |
Quote:
I have tried the script before. I believe it is caused by the mesh, if the mesh can be generated properly, there will not be such problem. Thank you in advance. Best Regards, Bill |
||
March 9, 2017, 05:24 |
how to get a finer mesh
|
#9 |
Senior Member
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 12 |
Dear,
I rechecked the geometry and made some modifications to ensure that the opposite boudaries are exactly the same, and there is no such error. The mesh generation seems good. The number of faces on the opposite boundaries is the same. However, when I check mesh in OpenFOAM, it tells me there are "severely non-orthogonal faces and skewed faces" and mesh check failed. However, when I check the skewed faces in Salome, the element seems normal, as in the attachment. I wonder if any one knows how to avoid such severely non-orthogonal faces in salome. Thank you in advance. Best Regards, Bill Last edited by 6863523; March 16, 2017 at 12:20. Reason: updated infos |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library | aylalisa | OpenFOAM Installation | 23 | June 15, 2015 15:49 |