hexagon logo

SPMM testrig and chassis templates with a Flex-body are generating an error.

I've replaced the ges_chassis body with a flex-body and run the assembly on the SPMM testrig. This generates an error.
 
Reading in property files...
Reading of property files completed.
Setting up vehicle assembly for SPMM...
ERROR:  ---------------------------------------------------------------------
ERROR:  Error detected on line number 316, character 139 of the macro '.ACAR.macros.mac_ana_ful_spm_sub'.
ERROR:   "adams_id" is neither a field in nor a child of ""
ERROR:     (eval("control/routine=acarSDM::con952,function=user(952,"//.F98_spmm_01.testrig.cis_body_subsystem[2].cm.<<adams_id>>//",3,4,5)"))
ERROR:  The command was not executed.
ERROR:  +2&>           (eval("control/routine=acarSDM::con952,function=user(952,"//.F98_spmm_01.testrig.cis_body_subsystem[2].cm.adams_id//",3,4,5)")), &
ERROR:  ---------------------------------------------------------------------
 
This error appears to be common to all chassis templates in acar_shared and acar_concept databases when run on the SPMM testrig with the ges_chassis part replaced with a Flex-body except for _flex_chassis.tpl.
 
Has anyone generated a procedure or script to apply the entities in _flex_chassis.tpl to a standard chassis template like _rigid_chassis_bof.tpl ?
 
Any suggests would be appreciated.
 
 
 
 
 
 
 
 
  • Hello John,
     
    If you make communicator test between
     
    .__MDI_SPMM_TESTRIG                                                             any
    ._flex_chassis                                                                                      any
     
    you will get
     
    !--------------------------- Matched communicators: ---------------------------!
     
    Communicator Matching Name: body_subsystem
    Input Communicator Name: cis_body_subsystem
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: cos_body_stake
    Output from: _flex_chassis
     
    Communicator Matching Name: bedplate_front_loc
    Input Communicator Name: ci[lr]_bedplate_front_loc
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: co[lr]_bedplate_front_loc
    Output from: _flex_chassis
     
    Communicator Matching Name: bedplate_rear_loc
    Input Communicator Name: ci[lr]_bedplate_rear_loc
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: co[lr]_bedplate_rear_loc
    Output from: _flex_chassis
     
    Communicator Matching Name: chassis_path_reference
    Input Communicator Name: cis_chassis_reference
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: cos_chassis_path_reference
    Output from: _flex_chassis
     
    Communicator Matching Name: flexible_body
    Input Communicator Name: cis_flexible_body
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: cos_body
    Output from: _flex_chassis
     
    between
     
    .__MDI_SPMM_TESTRIG                                                             any
    ._rigid_chassis_lt                                                                                any
     
    Communicator Matching Name: body_subsystem
    Input Communicator Name: cis_body_subsystem
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: cos_body_subsystem
    Output from: _rigid_chassis_lt
     
    Communicator Matching Name: bedplate_front_loc
    Input Communicator Name: ci[lr]_bedplate_front_loc
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: co[lr]_bedplate_front_loc
    Output from: _rigid_chassis_lt
    Communicator Matching Name: bedplate_rear_loc
    Input Communicator Name: ci[lr]_bedplate_rear_loc
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: co[lr]_bedplate_rear_loc
    Output from: _rigid_chassis_lt
     
    Communicator Matching Name: chassis_path_reference
    Input Communicator Name: cis_chassis_reference
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: cos_chassis_path_reference
    Output from: _rigid_chassis_lt
     
    Both of these templates are working with SPMM testrig
     
    There is just one difference
     
    Communicator Matching Name: flexible_body
    Input Communicator Name: cis_flexible_body
    Located in: __MDI_SPMM_TESTRIG
    Output Communicator Name: cos_body
    Output from: _flex_chassis
     
    So i modified rigid_chassis_lt, replaced rigid chassis with flexible one (i used mnf from concept database), move flex part to location -1275.0, 0.0, -220.0
     
    what is needed after modification, you have to modify cos_body communicator and add there matching name: flexible_body
     
    Capture
    Capture
    in attachment you have my template from Adams 2018 based on rigid_chassis_lt
     
    Jozef

    Attached Files (1)
  • Also i have noticed few strange this (maybe bug), maybe just my lack of knowledge. For flexible body in template builder i was using right click in tree on rigid part/ make flexible, then import mnf.
     
    What i do not understand: flexible part is still ges not fbs as it should be:
     
    Capture
    Also if i right click on this part and use modify. Then Adams uses this window:
     
    Capture
    not this one as usually:
     
    Capture
    If i use build/parts/flexible body/modify
     
    then after selecting flexible body which i want to modify, there is warning about:
     
    Capture
    and then Adams Car always crash
     
    Is it a bug or i am doing something wrong?
  • I got a chassis template that runs properly with a rigid chassis (see F98_spmm_rigid_chassis_01_spmm.msg). One hickup is the aero geforce has to be manually deactivated. That's a secondary issue as to why the aero gforce is not being deactivated by the submission macro:mac_ana_ful_spm_sub.
     
    The trouble is when I import an MNF for the ges_chassis body, and submit an SPMM analysis
     
    The trouble happens after the static equilibrium solution completes and the Quasi-Static starts and fails to converge.
     
    I've tested replacing the ges_chassis with the flexbody on the SDI testrig without a problem. Straight line, cornering, and full course simulations run fine.
     
    The issue is probably some joint or entity being activated/deactivated between the SVC suspension setup analysis and the Quasi static analysis. What ever is happening there is the problem.
     
    Any ideas would be appreciated.

    Attached Files (1)
  • Jozef
     
    I've been switching the rigid-body to a flex-body by "modify general part" dialog box. There is a bottom for "Rigid to Flex". That brings up the "Swap a rigid for a Flexbody" dialog box. The "ges_chassis" body gets renamed to "ges_chassis_flex". A warning does come up that comminicator information is not saved in the subsystem. Afterwards the import "modify general part" dialog box looks the same except the "flexbody body modify" icon is now available. I've not had a problem opening and closing the "flexbody body modify" dialog box.
  • And I'm doing the Rigid to Flex in Standard interface (not in template builder).
  • i will check aero forces, what i was ​trying to say that after replacing rigid to flexible in rigid_chassis template the vehicle was able to run maneveurs, only spmm was not possible. after modification of communicator, spmm was also ok. My modification where pure in template level.
    Do you have knowledge why spmm needs one more communicator in case of flexible chassis and rigid chassis not?
  • The submission macro searches for "flexible_body" to change a hidden parameter value from 0 to 1. That turns on and off a group of entities that changes how the SPMM testrig connects to the ges_chassis body. There must be some other thing happening as well that is causing my problem. I was able to get the model to partically run quasi-statics by turning the solver stablity factor up to "1" usually this is 1E-4. What I could see is the steering system moving as if the motion to lock the steering was not connected.