hexagon logo

Is there a way to vary the mnf file for a flex body within cases generated by Insight? It doesn't seem to take a design variable within View.

Is there a way to vary the mnf file for a flex body within cases generated by Insight? It doesn't seem to take a design variable within View.
Parents
  • Hi @Sarah Callan​ !
    To vary the mnf file you have to
    1) create a design variable (string) containing the mnf filenames you wish to study like so:
    var set var=.mymnfs string="c:/mnf1.mnf","c:/mnf2.mnf"
    2) create another design variable (real) which you will vary in insight, think of it as the index of which file in .mymnfs you want to use.
    var set var=.mymodel.mymnf_index real=1
    3) create a simulation script (adam view commands) in which you do you simulations. But before the simulation commands you enter
    part modify flexible_body name_and_position flex_body_name=.mymodel.myflexbody modal_neutral_file_name =(eval(.mymnfs[.mymodel.mymnf_index]))
     
    Then export the model to insight and choose the variable mymnf_index as an factor to vary.
    Hope this help
    Regards
    Thomas
     
     
Reply
  • Hi @Sarah Callan​ !
    To vary the mnf file you have to
    1) create a design variable (string) containing the mnf filenames you wish to study like so:
    var set var=.mymnfs string="c:/mnf1.mnf","c:/mnf2.mnf"
    2) create another design variable (real) which you will vary in insight, think of it as the index of which file in .mymnfs you want to use.
    var set var=.mymodel.mymnf_index real=1
    3) create a simulation script (adam view commands) in which you do you simulations. But before the simulation commands you enter
    part modify flexible_body name_and_position flex_body_name=.mymodel.myflexbody modal_neutral_file_name =(eval(.mymnfs[.mymodel.mymnf_index]))
     
    Then export the model to insight and choose the variable mymnf_index as an factor to vary.
    Hope this help
    Regards
    Thomas
     
     
Children
No Data