Obtain the area and perimeter of geometry in Hypermesh

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Please, how can I obtain the area and perimeter of a 2D model in Hypermesh? Thank you.

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    hi,

    I think u can use Tools>Mass Calc.

    There by selecting elements you will get area.

    perimeter

    geom>Length

    by selecting lines you will get.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    @mahes

     

    Thank you so much. 

     

    Please, how can I obtain the minimum area bounding box for a geometry in hypermesh?

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited August 2017

    3d page : tetramesh : refinement box

    <?xml version="1.0" encoding="UTF-8"?>Bounding Box.JPG

  • tinh
    tinh Altair Community Member
    edited August 2017

    @mahes

     

    Thank you so much. 

     

    Please, how can I obtain the minimum area bounding box for a geometry in hypermesh?

     

    Hi,

    Try: 

    *createmark surfs 1 'Select geometry'

    puts [hm_getboundingbox surfs 1 0 0 0]

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    @tinh

     

    Thank you.

     

    I am using hypermesh GUI. I do not know how to do tcl scripting. Please, what is the equivalent procedure for those codes in hypermesh GUI? 

  • tinh
    tinh Altair Community Member
    edited August 2017

    Sorry Samuel,

    it should be:

    *createmarkpanel surfs 1 'Select geometry'

    puts [hm_getboundingbox surfs 1 0 0 0]

     

    you will be prompted to select your surfs, and it will output (at command window) bounding box

    I don't know other way to get it by hm GUI

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    @tinh

     

    Thank you. Where should I input these commands? 

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    @tinh

    @Prakash Pagadala

     

    Please, find my attached geometry. 

    I want to implement topography optimization.

    Minimum area bounding box around my model = m

    perimeter of the model = p

    compliance = c

    f = m + p

    Objective = minimize f

    constraint: lower bound = 0.2*c, upper bound = 0.8*c

     

    How can I implement this? Note that perimeter and minimum area bounding box are not included among the design responses in hypermesh. 

     

    Thank you.

     

     

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    Hi Samuel,

     

    isn't the unit of P and M are different?

     

    This makes F complicated parameter...?

     

    I need to check if there a way to provide geometric responses in OptiStruct

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2017

    @Prakash Pagadala

     

    Yes, the units are different. But that's what I need to achieve. 

     

    Thank you. 

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.