Page 1 of 2

sewing two meshes[solved]

Posted: Sun Mar 26, 2023 4:18 pm
by dimitri14
Hello, to finish a coupling study i'd liked to sew, two groups of two differents meshes :
surfext from masolide mesh and groupe1 from Maillage_2
Both of them have the same number of faces 7200 quadrangles, but i can't manage to sew them:
i always get the message : the number of elements are differents.
I wonder if the meshes haven't really the same number of elements or if my selection method is not efficient:
Indeed when, i'm trying to select elements of each mesh i display only the group dedicaced and select the element with the mouse. May be it's not the right method
If someone can help to find an issue to this probleme it will be great
thanks

Re: sewing two meshes

Posted: Mon Mar 27, 2023 6:34 pm
by Yvan Fournier
Hello,

Since you mention "sewing", I assume you are trying to do this under Salome. I have never been able to get this operation to work under Salome, so if you need to do this, you need to ask on the salome forum.

But you probably do not need to do this: simply use mesh joining instead on the code_saturne side (in the preprocessing options).

Best regards,

Yvan

Re: sewing two meshes

Posted: Wed Mar 29, 2023 6:58 pm
by dimitri14
Thank you Yvan for your answer and advice. I have made a coumpound of my two prevoiusly meshes an joined group faces
But after boundary faces are no more working
I'm working on it and i surely have other questions

Re: sewing two meshes

Posted: Thu Mar 30, 2023 8:01 am
by Yvan Fournier
Hello,

What do you mean by "boundary faces not working" ?

Regards,

Yvan

Re: sewing two meshes

Posted: Thu Mar 30, 2023 4:34 pm
by dimitri14
Hello Yvan
when i'm launching the study i obtain the error message :

First face with boundary condition definition error
(out of 22050)
has boundary condition type 0, center (-0.000785039, -0.0299794, 0.00983333)

Re: sewing two meshes

Posted: Thu Mar 30, 2023 10:36 pm
by Yvan Fournier
Hello,

Did you visualize the error location as recommended in the error message ?

Regards,

Yvan

Re: sewing two meshes

Posted: Fri Mar 31, 2023 2:28 pm
by dimitri14
I find it difficult to understand the error message and treat it. I have opened the error case in paraview but i don't know how to fix the error
joining.png
regards
dimitri

Re: sewing two meshes

Posted: Fri Mar 31, 2023 6:40 pm
by Yvan Fournier
Hello,

You need to use the "extract blocks" filter to see which faces have Ok boundary conditions and which ones have errors.

Of course, if you simply use the "Mesh preprocessing mode of code_saturne to check boundary group locations (also requiring "extract blocks" if you are using EnSight format, you can probably see where you have an issue before that.

Best regards,

Yvan

Re: sewing two meshes

Posted: Sat Apr 01, 2023 8:21 am
by dimitri14
Thanks yvan for tour quick feed back : the errors relates to the two faces that i like to join : Groupe_1 and surfext :
bcfaceserrors.png
I'll try to understand why such default and have rebuilt the meshes but it still not working
May be groupe_1 and surfext are too far from each others (indeed i don't have use right diameter concerning the cylinder hole, it should be equal to the most important node deplacement of " masolide" structure) but assuming that for instance,, i'm just trying to test the process i don't understand the case errors

Regards
dimitri

Re: sewing two meshes

Posted: Sun Apr 02, 2023 9:39 pm
by Yvan Fournier
Hello,

You probably have a mesh joining issue, which might be solved by setting different parameters (if your meshes are not too far apart).

Please read the forum usage recommendations to know what additional information to post to get help with this sort of issue without requiring 4 exchanges each time.

Best regards,

Yvan