Hyperstudy extracting response after simulation is complete

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi All,

 

I have been using Nastran as my solver for Hyperstudy and it works well till the execution of my simulation. But HyperStudy has to wait for some time till the simulation is complete before it starts extracting the responses. I know that I need to write some script which checks whether there are no errors in the simulation and then extract the data. Has anyone come across this and can you let me know how we can script this?

Answers

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited March 2018

    It would be nice if you can share more information on your requirement.

    Are you able to execute nominal run? If no ,then you have to register solver script for Nastran solver.You can refer solver script in below post and video in wistia link.



     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2018

    Hi Rahul,

     

    Thanks for your reply. Let me explain in detail about the problem.

     

    Yes, I am able to run Nastran solver from Hyperstudy and extract responses when I do it manually by clicking. But my main problem is, Hyperstudy immediately looks for the output file (In my case, I am using ASCII extract) as soon as it has triggered the simulation. I want Hyperstudy to wait until the Nastran run is complete and then look for extracting the response.

     

    I have gone through your example for the optistruct solver. I am basically looking for a similar example for Nastran solver.

     

    Thanks in advance

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited March 2018

    Still not clear.In the above post you say ,it works fine by manual clicking for extracting output response.

    Are you running HyperStudy in batch mode? Which OptiStruct example you referred?We do have some tutorials for Non HyperWorks  software.PFA screenshot for same.

    <?xml version="1.0" encoding="UTF-8"?>Non HyperWorks Software Hst Tutorial.JPG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2018

    Hi Rahul,

     

    Sorry that I ddint give a clear info. 

     

    1) What I mean by 'Hyperworks works fine by manual clicking' is, In the nominal run, I am able to generate the deck files when I just select 'write input files' and click Evaluate tasks. It is able to run the Nastran simulation when I unselect all the other check boxes and select only the 'Execute Analysis' and click 'Evaluate Tasks' and so is the case with 'Extract output response' when I do it after the Nastran simulation is done.

     

    Thanks for the Tutorials for Non Hyperworks software. But I am not finding any tutorial for Nastran. Do you have any tutorial for integrating with Nastran solver?

  • Rahul Rajan_21763
    Rahul Rajan_21763 New Altair Community Member
    edited March 2018

    Sorry for asking too many question, as I was not clear on the steps which you followed.

    By default, write ,execute and extract will be on under evaluate step in HyperStudy. So if the model is small it should write execute and extract on the fly.

    If you want to extract specific output responses using ASCII,then in the define output response step you can add response and call ascii file using data sources tab.PFA screenshot for sample file.

    Nastran specific tutorials are not available but steps/flow would be same.Refer online tutorials for same.

    <?xml version="1.0" encoding="UTF-8"?>add output response.JPG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited March 2020

    Hi I am running a simple study with LS-DYNA via HyperStudy, however I get the following warning when I run the DOE, and it makes a green tick but doesnt actually run any studies, although it says success.

     

    Warning: Skipping evaluation of model ( Parameterized_k ( Parameterized_k ) ).

     No Responses or retained Data Sources depend on this model.

     

    I am not sure why it says my responses dont depend on the mode, I made sure to select the correct path:

    \HyperStudy\Test\approaches\doe_1-def\run__00001\Parameterized_k\matsum

     

    The setup runs fine, and evaluates a nominal run succesfully and reads the output file. This problem is only when I run a DOE.

     

    Any help would be much appreciated.

     

    Thanks,