sewing two meshes[solved]

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
dimitri14
Posts: 33
Joined: Tue Jan 03, 2023 10:25 am

sewing two meshes[solved]

Post 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
Attachments
masolide.7z
(5.45 MiB) Downloaded 31 times
Maillage_2.7z
(720.8 KiB) Downloaded 36 times
Last edited by dimitri14 on Thu Apr 13, 2023 9:40 pm, edited 1 time in total.
Yvan Fournier
Posts: 4069
Joined: Mon Feb 20, 2012 3:25 pm

Re: sewing two meshes

Post 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
dimitri14
Posts: 33
Joined: Tue Jan 03, 2023 10:25 am

Re: sewing two meshes

Post 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
Yvan Fournier
Posts: 4069
Joined: Mon Feb 20, 2012 3:25 pm

Re: sewing two meshes

Post by Yvan Fournier »

Hello,

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

Regards,

Yvan
dimitri14
Posts: 33
Joined: Tue Jan 03, 2023 10:25 am

Re: sewing two meshes

Post 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)
Yvan Fournier
Posts: 4069
Joined: Mon Feb 20, 2012 3:25 pm

Re: sewing two meshes

Post by Yvan Fournier »

Hello,

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

Regards,

Yvan
dimitri14
Posts: 33
Joined: Tue Jan 03, 2023 10:25 am

Re: sewing two meshes

Post 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
Yvan Fournier
Posts: 4069
Joined: Mon Feb 20, 2012 3:25 pm

Re: sewing two meshes

Post 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
dimitri14
Posts: 33
Joined: Tue Jan 03, 2023 10:25 am

Re: sewing two meshes

Post 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
Attachments
Maillage_1.7z
(5.49 MiB) Downloaded 31 times
masolide.7z
(5.42 MiB) Downloaded 34 times
Yvan Fournier
Posts: 4069
Joined: Mon Feb 20, 2012 3:25 pm

Re: sewing two meshes

Post 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
Post Reply