hexagon logo

contact force request

Hi,
 
Is there a way to create a request for the contact force between bodies, or any other way to print to a file them automatically through a simulation?
 
Thanks in Adavance,
 
Josef
Parents
  • You can use the following to write the results of your analysis to a file:
     
    analysis collate_contacts &
        analysis={analysis.name} &
        contact=.{model.name}.{contactName}
     
    numeric_results write &
        result_set_component_name = .{model.name}.{analysis.name}.{contactName}.{char}.{component} &
        Sort_by=By_time &
        file_name = 'temp.csv'
     
    where:
    char should be set to 'TRACK_{i}.I_Normal_Force' where i is your track number.
    component can be set to 'X', 'Y', or 'Z'.
     
     
Reply
  • You can use the following to write the results of your analysis to a file:
     
    analysis collate_contacts &
        analysis={analysis.name} &
        contact=.{model.name}.{contactName}
     
    numeric_results write &
        result_set_component_name = .{model.name}.{analysis.name}.{contactName}.{char}.{component} &
        Sort_by=By_time &
        file_name = 'temp.csv'
     
    where:
    char should be set to 'TRACK_{i}.I_Normal_Force' where i is your track number.
    component can be set to 'X', 'Y', or 'Z'.
     
     
Children
No Data