Fluids

Fluids

How can I get animation or save pictures on cluster for transient simulation

    • mercury1997
      Subscriber
      I want to generate animation or pictures from the cluster, and this cluster does have graphics. So how could I do this?nMany thanksnXiaohan n
    • DrAmine
      Ansys Employee
      Have you searched in the online help for Solution Animation,?n
    • DrAmine
      Ansys Employee
      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/flu_ug/flu_ug_sec_graphics_animate.htmln
    • Rob
      Ansys Employee
      Or Execute Commands. n
    • mercury1997
      Subscriber
      No I haven't, do you have a link with how to solve this kind of problem?n
    • mercury1997
      Subscriber

      Or Execute Commands.https://forum.ansys.com/discussion/comment/104505#Comment_104505

      Actually, I wrote some code in the jou. file, but I just can't get the picture. And I don't know the reason. nn
    • Rob
      Ansys Employee
      If you're setting the case up then running it I'd set the execute commands etc before running. Other than a few missing / at the beginning of commands that looks OK. When you run on the cluster are you running interactive or in batch? n
    • DrAmine
      Ansys Employee
      if you are running in batch: which command are you using to launch the fluent run? Moreover from your journal it seems that you are still using legacy contour plots: which version are you u using?n
    • mercury1997
      Subscriber

      If you're setting the case up then running it I'd set the execute commands etc before running. Other than a few missing / at the beginning of commands that looks OK. When you run on the cluster are you running interactive or in batch?https://forum.ansys.com/discussion/comment/104520#Comment_104520

      I'm using in batchn
    • mercury1997
      Subscriber

      if you are running in batch: which command are you using to launch the fluent run? Moreover from your journal it seems that you are still using legacy contour plots: which version are you u using?https://forum.ansys.com/discussion/comment/104526#Comment_104526

      Here is my run fluent file, this version is ansys 2020r1, I guess the reason could be this run_flueny file doesn't use graphics in cluster? nn
    • DrAmine
      Ansys Employee
      To save pictures you need to run with the flags -gu -driver null (as mentioned in the documentation).n
    • mercury1997
      Subscriber

      To save pictures you need to run with the flags -gu -driver null (as mentioned in the documentation).https://forum.ansys.com/discussion/comment/104532#Comment_104532

      I'm still confused, could you explain further? should I put this command in the run_fluent file? Where should I put? and which documentation? I have seen your shared link, I have looked it before, but it useless.n
    • ai0013
      Subscriber
      Hi Array As Dr. Amine indicated, you need to launch fluent with -gu (to run without the GUI only, and not just -g since this turns off both graphics & GUI )nn
    • mercury1997
      Subscriber

      Hi https://us.v-cdn.net/6032193/uploads/ZWD5FUZXZ61I/image.pnghttps://forum.ansys.com/discussion/comment/104553#Comment_104553

      Thank you for your reply and example. I will try your advice in my jou. filenMay I ask in the 'run_fluent' file, should we also add some command to let the cluster know this simulation need ues GPU nodes? like the command in the figure (although this is not for GPU nodes)nn
    • ai0013
      Subscriber
      Well, I have no experience with gpus, but I guess you should use the flag -gpgpu=. If you mean number of processors, then you are doing it correctly, the flag is -t96 in your case, which is well replaced by -t$nprocsn
    • DrAmine
      Ansys Employee
      please check the documentation: it does answer all of your questions: https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v211/en/flu_ug/flu_ug_sec_startup_option.html. All flags are mentioned there.n
    • mercury1997
      Subscriber
      Thank you very much for your replyn
Viewing 16 reply threads
  • You must be logged in to reply to this topic.