Extracting surface pressures from VWT to a text file

exx077
exx077 Altair Community Member
edited October 2020 in Community Q&A

Hello,

 

I would like to export / output the surface pressures from a VWT CFD to a text file to be utilised in HyperMesh for a topology optimisation using Optistruct.

 

I believe I will need to use AcuSolve's AcuConsole to this.

From within AcuConsole I am to use AcuOut.

 

I am having trouble doing so.

Can someone offer some guidance.

 

 

Thank you in advance.

 

Tagged:

Answers

  • exx077
    exx077 Altair Community Member
    edited March 2018

    Hello,

     

    To anyone that may come accross this post with the same issue.

     

    To resolve this, I have been using the following method:

    1. Create 2D HyperMesh (HM) shell

    2. Export solver deck - CFD - Nastran (Fluent standard format)

    3. Import into Virtual Wind Tunnel (VWT)

    4. Set up CFD simulation, but do not move model, only move the wind tunnel, otherwise the nodal coordinates between VWT and HM will not correlate. If you need to rotate/angle your model in a particular way to the flow (which travels in the positive x direction on the XY plane), then you should do this in HM before exporting your solver deck file

    5. Run CFD

    6. Open HyperMesh and import .log file

    7. Turn off all components other than the surfaces you wish to obtain to nodal pressures for

    8. Open the 'Contour' panel, change the 'Result Type' to 'Pressure'. Click Apply

    9. Click on the 'Results' drop down from the menu bar' - select 'Query'

    10. Ensure 'nodal coordinates' and 'Contour (pressure)' are selected on the panel on the left hand side. Shift+drag to select all the desired nodes in the graphics area

    11. Select export. Save the .csv file

    12. Open this in excell, delete the first two rows. Export as a .txt file

    13. Open the .txt file and ensure there are no commas seperating the values, if there are, then use the replace function and replace all commas with nothing (so they are deleted)

    14. Open HyperMesh, go to the the Pressure panel. Select entities - elements - drag and select all surface elements. Select linear interpolation - file -> .txt file - search radius ~ 0.005 (if your units is in m). Nodes on face - drag and select all surface nodes. Select create.

     

    Hope this helps

    Thanks

  • ydigit
    ydigit
    Altair Employee
    edited April 2018

    Thanks for writing the description here.