ERROR 832: Segmentation rules have been violated

ynathan
ynathan Altair Community Member
edited November 2020 in Community Q&A

Hi,

When I run my model I come across the following error:  ERROR 832: Segmentation rules have been violated (two triangles touch without a common edge)

When I read the related topics most of the time it is stated that all the connected geometries must be unified. Although I unify all the geometry still I get this error. Is there a way to find these triangles so that I can fix the problem or is there something else to get rid of it?

 

Thank you

 

Unable to find an attachment - read this blog

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited June 2018

    Hello ynathan,

     

    The problem you are running into here is misalignment of some of the faces. See the image below.

     

    By running the following script, the model will be corrected. It simply changes the width of some of your rectangles to match the width of the other rectangles that form part of the feed structure.

     -- CADFEKO v2018.0.2-326038 (x64) app = cf.GetApplication() project = app.Project  -- Modified geometry: rectangle 'Rectangle1' Union1 = project.Geometry['Union1'] Union2_4 = Union1.Children['Union2_4'] Rectangle1 = Union2_4.Children['Rectangle1'] properties = Rectangle1:GetProperties() properties.Width = '0.0005169' Rectangle1:SetProperties(properties)  -- Modified geometry: rectangle 'Rectangle1' Union2_3 = Union1.Children['Union2_3'] Rectangle1_1 = Union2_3.Children['Rectangle1'] properties = Rectangle1_1:GetProperties() properties.Width = '0.0005169' Rectangle1_1:SetProperties(properties)  -- Modified geometry: rectangle 'Rectangle1' Union2_2 = Union1.Children['Union2_2'] Rectangle1_2 = Union2_2.Children['Rectangle1'] properties = Rectangle1_2:GetProperties() properties.Width = '0.0005169' Rectangle1_2:SetProperties(properties)  -- Modified geometry: rectangle 'Rectangle1' Union2_1 = Union1.Children['Union2_1'] Rectangle1_3 = Union2_1.Children['Rectangle1'] properties = Rectangle1_3:GetProperties() properties.Width = '0.0005169' Rectangle1_3:SetProperties(properties)

    Once you fix that problem and run the model, you will notice that losses are not supported for CMA analysis. Thus, you need to remove the losses from the 'RO4003' medium.

     

    I would also suggest that you refine the mesh close to the feed points using local mesh refinement (either on the faces or by using point refinement).