hexagon logo

How can I obtain aggregate mass properties relative to a particular marker in batch mode with only Requests as outputs?

I have been trying to use the aggregate_mass function through the expression builder to get what I need, but aggregate_mass return values do not change when the mass properties are changed through design variables (with arrays and DVs).
  • I have tried parameterizing in Arrays as well as in Design Variables and both do not update when design variables alter mass properties.
  • I have tried making computed measures as well, and those do update when design variables alter mass properties, but upon loading an exported .cmd file, it gives the error that the component of mass properties necessary in the aggregate_mass function "is not a valid parameter". Screenshot attached. So that's also not an option for batch mode unless I can get it to work somehow. These measures work well within a single session of ADAMS View, but when loaded give an error and zero out the measure.
 
Is there a way to update these values when I run in batch mode? Currently the only way to update the values that I've seen is to go back into the parameterized expression, hit "Evaluate", and click "ok" back down out of the tree. Available resources also constrain me to using Requests (.res files) as the sole output from my batches.
 
Thank you for any help.

Attached Files (1)
Parents
  • Hi Mark,
     
    If I am understanding correctly, you are using the aggregate_mass() design-time function to compute the aggregate mass and perhaps inertia properties of a set of parts in your system. Then using another set of design variables you change the model configuration. But after every change in the model configuration, you see that the reported aggregate, for instance, does not change.
     
    I just tested this in Adams 2021.0.1, whereby I use two design variable named left_end_x and right_end_x to change the model configuration to directly affect the aggregate mass. Then when I check my aggMass design variable, I see that the design variable's value has been updated. I also use the value of this design variable in a sample measure (mass_times_g) and see that the measure reported value changes as a result.
     
    The model is attached for your review. I have also created a case for your in our system through which I will send you an email. If you have further detailed questions, you could respond to that email directly.
     
    Thank you,
    Maziar Rostamian,
    MSC Software

    Attached Files (1)
Reply
  • Hi Mark,
     
    If I am understanding correctly, you are using the aggregate_mass() design-time function to compute the aggregate mass and perhaps inertia properties of a set of parts in your system. Then using another set of design variables you change the model configuration. But after every change in the model configuration, you see that the reported aggregate, for instance, does not change.
     
    I just tested this in Adams 2021.0.1, whereby I use two design variable named left_end_x and right_end_x to change the model configuration to directly affect the aggregate mass. Then when I check my aggMass design variable, I see that the design variable's value has been updated. I also use the value of this design variable in a sample measure (mass_times_g) and see that the measure reported value changes as a result.
     
    The model is attached for your review. I have also created a case for your in our system through which I will send you an email. If you have further detailed questions, you could respond to that email directly.
     
    Thank you,
    Maziar Rostamian,
    MSC Software

    Attached Files (1)
Children
No Data