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.

Patch command for a super computing facility

    • a.y.al-wardi
      Subscriber

      I am trying to write a line of code to patch a geometry with a specific volume fraction of a gas (the script is then submitted to super computing facility to be run). I keep on getting errors with the patch command. 

      I have attached a snippet of the input script with the patch command; the name of zone to be patched matching that in the Fluent dialogue box. The log file (from the super computing facility) displays an "invalid command" error next to the patch command. 

      I would appreciate any thoughts and guidance on this.

       

       

    • Rob
      Forum Moderator

      For journals it's always best to try each command section at a time to see what's going on. Try

      /solve/patch "design_body1" () phase-2 vol-fraction 1.8e-5

      However, I'd exercise caution with that low a fraction of phase. 

       

      • a.y.al-wardi
        Subscriber

        Thank you, I have just tried this. The error I get is that vol-fraction is an invalid command. 

        I tried vol-fraction, volume-fraction, Volume-Fraction.

    • Rob
      Forum Moderator

      OK, if you run the command one part at a time on your local machine what is Fluent asking for at that point? I just adjusted your command rather than checking on a case here. 

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