Topics relate to Granta Design and more

2D and 3D Microstructure

    • Michele De Giosa

      Hello everyone,

      i have a question, but I would prefer to give a brief summary of what I plan to do.

      I created a 3D geometry with Multiscale.Sim (a tool in Ansys) and with SpaceClaim i extracted 2D model! I want to insert in 2D e 3D model these things:

      - grains
      - boundary grains
      - dislocations
      - precipitates

      For these things i have some scripts, from another job, written in Python. 

      So my question is: Can i put these scripts within structure for having that i want to obtain for my simulation?
      The simulation describes the diffusion of hydrogen within a microstructure containing what I listed above.
      I have this problem at the geometric level that I do not know how to solve, because for the diffusion simulation I have no problems (using Fluent and Transient/Steady State Thermal).

      Thank for help

      2D Model

      3D Model

      3D Model - Polycristalline Metal

    • Aniket
      Ansys Employee

      Hey Michele,

      Can you please explain what do you mean by "Can I put these scripts within the structure for having that I want to obtain for my simulation?"


      How to access Ansys help links

      Guidelines for Posting on Ansys Learning Forum

    • Michele De Giosa

      Hi Aniket, 

      I'll explain in a better way what I want to achieve.

      So, for simulating a diffusion in an heterogeneous structure, i need a crystal structure. 
      If I consider a super-alloy, the structure has peculiarities within it such as:
      - grains
      - boundary grains
      - vacancies
      - dislocations 

      For having these things, i have to create them somehow. So, in internet i found some pics that rapresent this type of structure (see below).

      Now, my questions are:

      1. i created polycrystalline structure, in first messagge, with MultiScale.Sim.. I have some scripts that generate these things (list above). Can i insert these scripts in SpaceClaim for modifying the structure for having that i want to obtain or is it not possible to modify the structures obtained with MultiScale.Sim? (geometric issue)

      2. If I do not want to use MultiScale, can I directly approach this problem with SpaceClaim and the use of scripts in Python? If yes, could you send me something that would show me how to implement Python in Ansys?

      In summary, my problem is only related to the creation of 2D and 3D geometry.

      Thanks for your time. 
      Best regards,


Viewing 2 reply threads
  • You must be logged in to reply to this topic.