We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

How to do a basic contour?

    • dhua
      Subscriber

      Hi, I'm a complete beginner at ANSYS but need to conduct simulations as my role in my high school club, F1 in schools where we make and compete model race cars. My teacher required me to do simulations on a test thing, but I don't know how to do the contour he described. My contour that I could get working looks like: 



      And I can also make it look like this with the contour around the enclosure:



      However, my teacher wants me to make the basic contour that looks like this:



      I have no idea how to do this. I can only contour the enclosure, or the model inside the enclosure. How do I get that sort of thing my teacher is talking about? Is it a result of my bad meshing? (For the meshing stage I only clicked generate mesh, and I think I should've done more as people talk about how a good mesh is really important)


       


      Thank you all so much for your help!


       


      Edit: While I already made a post, would you all mind helping me with some tips on how to make my results better looking? (ie: Whats the best number of Contours, How do I get that scale from -40-100) Thanks again.

    • raul.raghav
      Subscriber

      Attached is a YouTube tutorial which shows you how to create the contour you wanted. So basically you create a plane and show contour on that plane. You can jump to the 14 min mark in the following video to see the CFD-Post related work.


      https://www.youtube.com/watch?v=9NG3Qc5f68U


       

    • raul.raghav
      Subscriber

      The number of contours depends on how fine you want your contours to be and its more of a user preference (you can play with the number). To define the contour to be in a certain range, for eg. from -40 [Pa] to 100 [Pa], refer to the attached screenshot.




    • Keyur Kanade
      Ansys Employee

      perfect Rahul!

    • dhua
      Subscriber

      Thank you all so much! I'll try that out soon

    • dhua
      Subscriber

      Hi, I got stuck again. I learned how to use an isosurface or a plane and do it sort of, but I did it with the model hovering in the center of the enclosure. My teacher wants the car to be on the ground, so I made the enclosure y distance from the car very low, like .0001. However, now when I do the isosurface streamlines, vectors and contours, I get weird things. See below:


      Streamline: Weird paths, all blue?



      Vector: Nothing even loads?



      Contour: One solid color, doesn't seem correct too



       


      Heres the results from the floating one if you guys are interested





       


      I think that most of the problems are due to my weird enclosure thing. Also, if theres anything else that looks like im doing wrong, I would greatly appreciate some advice!


       (I may have also done something wrong, but I don't know what. I'd be glad to provide more screenshots/info if needed)


      Thanks

    • raul.raghav
      Subscriber

      Something seems to have gone wrong in the setup. If you notice the velocity range of the floating one, it goes from 0 to 27 [m s^-1]. While the ground model has a velocity range of 0 to 3,50,000 [m s^-1].

    • Amine Ben Hadj Ali
      Ansys Employee

      Wrong setup that is why wrong global range.

    • dhua
      Subscriber

      Oh, I made the velocity from the inlet 25 in the old one but 20 in the new one. But that shouldn't matter too much right? Is the problem not due to the enclosure thing? How would I fix it

    • raul.raghav
      Subscriber

      dhua, the velocity inlet is definitely not an issue. Your ground model velocity has a max value of 3.5E+5 [m s^-1], which shows that something went wrong somewhere. Are you sure the geometry is in the correct units?


      Alternatively, if you could attach your workbench project file so I could take a quick look at it? Please see the discussion here to create the workbench (.wbpz) archive file.

    • dhua
      Subscriber

      Okay, I got it. Thank you so much for the support by the way, it is so helpful and it is making learning what I'm doing wrong so much less frustrating.


       


      I don't think (maybe i am) I'm doing the geometry wrong, as I did the same for the floating one except for its enclosure. Heres the google drive workbench link:


       


      https://drive.google.com/open?id=1tP_rklIpIKKoLg4zFso7-Ilp2TJ


       Oops(not project file)

    • raul.raghav
      Subscriber

      Can you provide access to the uploaded file?

    • dhua
      Subscriber

      Yeah of course, I just gave access. Thanks for helping

    • raul.raghav
      Subscriber

      The uploaded file consists only the workbench project (.wbpj) file. Could you attach the workbench archive file (.wbpz), which will make sure all your files are made available for review? Please see the discussion here to create the workbench (.wbpz) archive file.

    • dhua
      Subscriber

      Sorry, I don't get how to share a .wbpz file. I don't really get the instructions the discussion you linked provides for making the file. I found that I can go to file/archive, but then when i click my file: "car on ground_files", and try to archive it, it gives me the error message: "The archive file path must be outside current project files directory: car on ground_files". 

    • dhua
      Subscriber

      I don't even know if this link would work, but heres a video of me trying to archive the files:


      https://drive.google.com/open?id=1-a5llCfXBK31_5S6vuViB3AGYdRI7dPO

    • Amine Ben Hadj Ali
      Ansys Employee

      Just to gently remind that everyone can access your project file if you have any confidential things.

    • dhua
      Subscriber

      Ah thanks, fixed. How could I also export a wbpz file so that rahul could help me?

    • raul.raghav
      Subscriber

      Based on the video file of you trying to archive the files:


      Step 4: Rename it to some other name, say car_sim


      This will create car_sim.wbpz. You can then share the file.

    • dhua
      Subscriber

      Ah! It works! I never thought something so simple as renaming it wouldve been the solution. Thanks: heres the link, hope i did it right this time

    • raul.raghav
      Subscriber

       dhua, can you archive with reference to the attached screenshot:




    • dhua
      Subscriber

      I think i did do that, but just in case I didn't heres it again:


       


      link

    • dhua
      Subscriber

      Hi, did you get it?

    • raul.raghav
      Subscriber

      dhua, for some reason it shows the following error. How big your workbench project file? Can you zip the file and upload?




    • dhua
      Subscriber

      Hi, Rahul,


      Id like to thank you for all this help. It is so kind of you to support me so much with my problems and it has helped with my learning so much. I still have no idea what I did wrong, but I uninstalled and reinstalled ANSYS, used space claim instead of design modeler to make the enclosure and boom.... the whole thing ran smoothly with the car on the ground. Still, thanks.


       


      My biggest concern now is how to move out of the ANSYS academic license. I cannot import my club member's Fusion 360 designs into ANSYS because it exceeds the allowable geometry limits for the academic license. How much would a buisness license cost? I applied for the free license in exchange for a sponsership by my club, but they have not responded.

    • raul.raghav
      Subscriber
      dhua, I’m glad that it worked out well for you.

      And regarding the license information, I really won’t be able to answer anything on that. You can create a new post in the forum and someone more knowledgeable on the topic would be able to respond to your queries regarding the licensing.
Viewing 25 reply threads
  • The topic ‘How to do a basic contour?’ is closed to new replies.