🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Using regions to apply pressure

User: "timonq"
Altair Community Member
Updated by timonq

Hello,

I would like to import CATIA CAD file to HM with publications. After import I have regions, but I cannot to use it for example to apply pressure on surface. Eventually I want to prepare tcl script to automatic apply BC on surfaces (after mesh). Is there any option to use regions? 

 

Best regards  

Find more posts tagged with

Sort by:
1 - 5 of 51
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    If you can not do this task in interactive mode, maybe no way to do with a script.

    Share your model?

     

     

    User: "timonq"
    Altair Community Member
    OP
    Updated by timonq

    Unfortunately I cannot share my model. But I have access to surfs id in regions:


    *setvalue regions id=20 STATUS=2 simpleids={surfs 87 138}

     

    So for now I need to only extract surf number to create *createmark

    User: "Adriano_Koga"
    Altair Employee
    Updated by Adriano_Koga

    Is this a shell or solid model?

    If it is a solid model, i would take a look at SimLab, as it can record a project, with the steps made, such as a script, and also it can have access to some CAD parameters. Take a look at SimLab Learning Center, if you're interested.

    User: "timonq"
    Altair Community Member
    OP
    Updated by timonq

    I tried to work with SimLab, but I have a lot of problems with reading Catia publications to groups (I used SL_PUB_ name before publications name). Sometimes it is working, sometimes it is not... That's why I tried to use HyperMesh (there is no problem with reading publications).

    Anyway, I found solution:

     

     *createmark surfaces 1 [hm_getvalue regions id=1 dataname=simpleids]

     

    but command select only first surf id, I don't know why it is skipping other two.

     

    After 

     hm_getvalue regions id=1 dataname=simpleids

    I have 

     309 321 338

     

    but when I tried to run whole command, only first sufr id was added :(/emoticons/default_sad.png' srcset='/emoticons/sad@2x.png 2x' title=':(' width='20' />  

     

     

    EDIT:

     

    I found solution. Need to change *createmark to hm_createmark

     

     hm_createmark surfaces 1 [hm_getvalue regions id=1 dataname=simpleids]

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Use hm_createmark or {*}

    *createmark surfs 1 {*}[hm_getvalue ....]

     

    Or eval

    eval *createmark surfs 1 [hm_getvalue ....]