Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

[ANSYS Meshing] problem with capturing curvautre in 2D?

    • e.bakhtyary
      Subscriber

      Hi,

      I'm doing an optimization problem over a 2D airfoil. Ansys Meshing cannot capture curvature over the blade (especially at the trailing edge) when the geometry is imported from SpaceClaim. I've also tried to convert the airfoil curve to a beam but the problem persists. I've attached the images in the following:

      Before converting the airfoil to a beam:

      After converting:

       

      Note that when the geometry is imported from DesignModeler with the same settings, there is no problem at all. However, I've no idea about DM scripting, and scripting in SpaceClaim is more friendly. 

      The generated mesh from DM's geometry:

       

      Why is applying edge sizing in 2D problematic? is there any way?

      Any help would be greatly appreciated.

    • Rob
      Forum Moderator

      What edge sizing did you set? Size functions?

      • e.bakhtyary
        Subscriber

        No, I didn't use any size function. I added a sizing and then clicked on the airfoil curve. Then, I set the settings. I also defined the minimum size for the curvature as 0.0001 for both global mesh settings and the edge sizing curvature setting (also, defeature size = 1e-5):

         

        Global mesh setup:

         

        Thanks for your help in advance.

    • Rob
      Forum Moderator

      Drop the surface curvature angle to something lower than 18 degrees, otherwise you may be creating a conflict in the settings. I use edge sizing very rarely, most meshes are built with size functions only. 

      • e.bakhtyary
        Subscriber

        Thanks for your help. 

        I've just done that (curvature normal angle = 0.5 deg for both settings), and nothing changes. I don't know what SpaceClaim does to the geometry, that DM doesn't, which creates this problem!

        By size functions, do you mean adaptive sizing? Since, I cannot find any function settings in the mesh configuration tab.

    • Rob
      Forum Moderator

      Curvature size function. Why would you convert an airfoil to a beam? Can you double check you have a curve there and it's not been faceted to very short straight line. 

    • e.bakhtyary
      Subscriber

      Bcz the SpaceClaim omits the airfoil curve when sending the geometry to meshing bloc, but DM keep the line "parts", so I thought if I can keep the airoil as a line body (which is possible through converting it into a beam) , it may result in a similar mesh to that from DM (image presented at the above).

      How can I apply size func for a curvature setup?

      Tnx a lot.

    • Rob
      Forum Moderator

      Hmm, I'll check that with the Discovery team - what happens in Discovery Geometry?  

      I think you turn on adaptive size functions, I've not used Workbench Meshing recently so am a little rusty. There are tutorials in the Meshing Help section which should cover that too. 

    • e.bakhtyary
      Subscriber

      Thanks for your help. No, I didn't turn on adaptive meshing. One can use either adaptive sizing or capture curvature setup. Using both in tandem is not possible in meshing as far as I know. BTW, I don't need adaptive sizing, I just want to apply inflation and a proper sizing to the airfoil, and keep the other settings as default...that's it.

      All the best.

    • Rob
      Forum Moderator

      Which version are you using, and where did the curves come from (ie created in the tool or imported)? 

    • e.bakhtyary
      Subscriber

      Version: 2024 R1

      The airfoil curve is imported in both SpaceClaim and DesignModeler, but DM keeps the curve as a "Line Body" part, and SpaceClaim doesn't keep it, so in Ansys Meshing only a single surface exists in the geometry tree. Even though I tried to keep the airfoil curve as a beam to make the geometry similar to that of DM, it didn't make any difference. I've uploaded their images in the question body.

      Tnx for your help.

    • Rob
      Forum Moderator

      A beam means something for Mechanical so don't use that. DM has a line body, but again that shouldn't do anything in Meshing, and shouldn't connect to the surface: Meshing for CFD works on the surface only. 

       

      • e.bakhtyary
        Subscriber

        Ok, thanks for your reply. I will not create a beam again, but any ideas what should I do now for capturing the curvature? As you can see, Meshing couldn't create a decent mesh around the trailing edge for the geometry coming from SpaceClaim...

        Tnx a lot

    • Rob
      Forum Moderator

      Try Discovery in 25R1. What format did you export from the CAD tool? 

    • e.bakhtyary
      Subscriber

      Will do. The computational domain is a C-type grid around the airfoil, which was firstly created in ICEM and then imported in SpaceClaim in the *.igs format. The airfoil curve is imported using a *.txt file (polyline = true, and there is no gap in the airfoil curve).

      Thanks for your time.

    • Rob
      Forum Moderator

      Right..... You've likely fallen foul of CAD reader effects. DM is parasolid based, SpaceClaim was ACIS. 

    • e.bakhtyary
      Subscriber

      Oh, thanks for the details and your useful information. 

      I will try switching into Discovery.

      Best

Viewing 13 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]