We’re updating our badges platform. Badge issuance is temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
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. 

      • a.y.al-wardi
        Subscriber

        I followed the suggestion of running the command one part a time and was able to determine the correct name of the variable and write out the full command, which ended up working well. 

        /solve/patch phase-2 3 ( ) mp 1.8e-5

        where phase 2 is referring to the ozone, 3 to the zone id, mp to specify the vol frac of ozone as 1.8e-5. 

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