Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

unity3D import finite element mesh model problem

Discussion in 'AR/VR (XR) Discussion' started by sumuhhh, Dec 8, 2017.

  1. sumuhhh

    sumuhhh

    Joined:
    Dec 7, 2017
    Posts:
    4
    i want to use Unity see the Ansys result,Look at the results of stress Virtual Reality.
    what should i first to do?
     
  2. sumuhhh

    sumuhhh

    Joined:
    Dec 7, 2017
    Posts:
    4
    Unity3D can be used in conjunction with the ansys engine to view the cloud graph results
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,566
    Probably needs your own custom solution..
    if nothing else, if can export each frame as a separate mesh with vertex colors/texture, then playback those..

    Or save into your own format, and then modify mesh and colors per frame..

    this could work with flow sim results,
    https://www.assetstore.unity3d.com/en/#!/content/24340
     
  4. sumuhhh

    sumuhhh

    Joined:
    Dec 7, 2017
    Posts:
    4
    now,i want to study how to import triangles and tetrahedrons(Ansys) mesh,this probelm maybe a difficult for me.can you give me some article about this?thanks.and each model with at most attribute values with cloud chart display.
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,566
    What 3D formats you can export from Ansys? Do they include those analysis colors?

    if can export something useful,
    then you can use Meshlab or other tools to convert those files into unity 3D compatible files (like .dae, .obj..)

    if you want to build mesh manually from script, see:
    https://docs.unity3d.com/ScriptReference/Mesh.html
    https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Docs/Mesh/MeshExample.cs
     
  6. sumuhhh

    sumuhhh

    Joined:
    Dec 7, 2017
    Posts:
    4

    Thankyou.
    now i have learned the methods of the mesh import the Unity own to you,and then could you tell me how to defined format from Ansys?the format shall contain the solid of mesh's physical property,such as the obj to Unity. and what should i do to export this file(format),and using color map to show in Unity.I'm looking forward for your reply.
     
  7. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,566
    i dont think their own format is open sourced or freely available.. so try to find a way to export mesh data from it.
    googling around shows some options perhaps, https://www.simutechgroup.com/tips-...-the-deformed-geometry-shape-from-ansys-model

    or is there any export 3d option in the ansys editor/viewer?
     
  8. Roysea

    Roysea

    Joined:
    May 28, 2021
    Posts:
    1
    hi, I know this question is old but was wondering if you found a good tutorial on how to do this. Would appreciate any help.