Issues with .adf files betweeen hyperstudy motionview optimization

Claudio Fasanaro
Claudio Fasanaro Altair Community Member
edited September 16 in Community Q&A

Hello all,

I'm experiencing issues with setting up an Hyperstudy optimization for a full vehicle manouvre built through Motionview.

The model itself is custom built, while the manouvre is a standard MotionView Event.

The manouvre is a normal constant radius turn, and runs perfectly if ran using MotionSolve:

image

However when the same model is plugged into Hyperstudy, it features the following error:

image

If I set up a full vehicle model only using the wizards belonging to the Vehicle Dynamics toolset within Motioview, Hyperstudy is able to read the .adf file an the optimization setup continues.

 

Has anyone experienced this before ? Does anyone have any ideas on how to fix this issue? 

Answers

  • AnanthK
    AnanthK
    Altair Employee
    edited February 2022

    Hi Claudio - Most likely, the reason is that the .adf file hasnt been referenced in the Model Resource section when the model was first setup. I recommend that you repeat the setup in the following way:

     

    1) Export a .mdl model archive from MotionView instead of the original .mdl (Top menu, File->Export->Model->Archive Model->Export). This will ensure that all externally referenced files are contained in the same folder, making it easy to do the next step. 

    2) Add all of the externally referenced files like .tir, .adf etc into the model resources, as shown: 

     

    image

     

    3) Perform a nominal run to check if this works, then proceed as normal. 

     

    Thanks,

    Ananth

  • Yugal
    Yugal Altair Community Member
    edited April 9

    Hi Ananth

    The error persisits even after referencing all the external files in "Modl Resources". The .adf belongs to a sepecific `Road Course Event` simulation. Is there any other .adf to reference?

    Any help at the earliest would be highly appreciated.

    Best Regards

    Yugal

     

  • Christopher_Fadanelli
    Christopher_Fadanelli
    Altair Employee
    edited April 9

    Hello Yugal,

     

    A workaround, you can utilize the adf as a parameterized model. Extract the desired parameters to use them as input variables.

    Execute the parameterized file to generate the output folder.

    Within the MotionView model, establish a dataset featuring a string input, then save the model.

    image

    In a text editor, modify the dataset string value to {Solver_Filename.path} + “ADFfilename.adf”

    image

    Revise the driver task file to match the input value from the dataset.

    image

    Save the file.

    Incorporate the MotionView model into the Study. Within the model resources, establish a connection with the adf file generated from the parameterized file.

    image

    image

     

    Best,

     

    Christopher Fadanelli

  • Christopher_Fadanelli
    Christopher_Fadanelli
    Altair Employee
    edited September 16

    Hello Yugal,

     

    A workaround, you can utilize the adf as a parameterized model. Extract the desired parameters to use them as input variables.

    Execute the parameterized file to generate the output folder.

    Within the MotionView model, establish a dataset featuring a string input, then save the model.

    image

    In a text editor, modify the dataset string value to {Solver_Filename.path} + “ADFfilename.adf”

    image

    Revise the driver task file to match the input value from the dataset.

    image

    Save the file.

    Incorporate the MotionView model into the Study. Within the model resources, establish a connection with the adf file generated from the parameterized file.

    image

    image

     

    Best,

     

    Christopher Fadanelli

    Issue regarding reading in the adf file is fixed in version 2024. 

    Best,

    Christopher Fadanelli