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.
Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Error: CAR: invalid argument [1]: wrong type [not a pair]

    • Dana Kang
      Subscriber

      Hi, I'm currently designing a simple flow design using porous media (metal foam), and it shows me the error below when I set the cell zone condition for the metal foam :

       

      Error: CAR: invalid argument [1]: wrong type [not a pair]

      Error Object: ()

       

      Above are the settings I used for the metal foam porous zone, and it displays the error when I click 'Apply'.

      Any help would be appreciated. Thank you in advance!

    • Rob
      Forum Moderator

      It usually means there's a blank field somewhere, ie something is missing from the set-up. Check the remainder of the panel, but there is a slight chance you've turned something on/off earlier in the set-up and corrupted a value call in the GUI. See if turning some of the options on/off clears the issue. 

      The changed settings report, Input Summary > List Changes can help if you look for empty fields. 

    • Dana Kang
      Subscriber

      Hi Rob,

      Thank you for your reply. I checked the modified settings summary and it shows a note that ‘Reinjected particles do not change their injection association’ and a random value.

      Could this be what’s causing the error? If so, would there be any possible ways to solve this?

      Thank you in advance.

       

       

       

    • Rob
      Forum Moderator

      Don't think so, but it's something to switch off before trying the porous zone again. 

      Double check what your interface zones are for: did you check the nonconformal set up?

      • Dana Kang
        Subscriber

        Hi Rob, where could I check the non-conformal setup?

    • Rob
      Forum Moderator

      That looks like you don't have any. That may be correct for the non-equilibrium model, but if you read up on https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/flu_ug/flu_ug_sec_grid_nonconform.html  especially 6.6.4.1 you can switch to the manual mode and double check. 

      • Dana Kang
        Subscriber

         

        I tried checking the mesh interfaces but it looks like I don’t have any. Would this be an issue?

        Or is there anything else I could try to solve the problem?

         

    • Rob
      Forum Moderator

      According to that list there are no interface zones either. Have you read a new mesh into Fluent in Workbench, or by re-reading the grid? I'm wondering if something has got scrambled or corrupted in the set up. 

      • Dana Kang
        Subscriber

        I tried redoing it in a new project in workbench but the issue is persistent : (

        I set the case, battery, lid bodies as solids, and metal foam, inlet_body, outlet_body, fluid bodies as fluids in Ansys.

        The error doesn’t show when I run Fluent after suppressing the ‘fluid’ body.

         

         

         

         

    • Rob
      Forum Moderator

      I'm not permitted to download anything. 

      The foam volume will be created in Fluent when you turn on the non-equilibrium model, so you should just be importing fluid, fluid-porous and casing as zones (2 fluid & 1 solid). The porous "solid" is set by Fluent, and you shouldn't need to interact with that. 

Viewing 6 reply threads
  • The topic ‘Error: CAR: invalid argument [1]: wrong type [not a pair]’ is closed to new replies.