Problems with calculating spray through the nozzle

Alina
Alina Member Posts: 4
Name Dropper First Comment
**

Hello all! I have a problem calculating the spray through a nozzle of supercritical carbon dioxide into the expansion chamber during rapid expansion of a supercritical solution (RESS).
I set the following parameters:
General - Density-Based; steady;
Model - k-omega (SST);
Boundary Conditions - pressure-inlet (gauge total pressure - 180 atm, supersonic/initial gauge pressure - 180 atm, turbulent intensity - 5%, turbulent viscosity ratio - 10%);
pressure-outlet (gauge pressure - 1 atm)
Method - Implicit
Hybrid Initialization.
However, if I set the built-in Fluent real-gas-model as the material, then after several iterations the program crashes with exception "Ansys.Fluent.Cortex.CortexNotAvailableException" without finishing the calculation. I tried to set the properties of carbon dioxide using the UDF(https://pastecode.io/s/2qgrbnpr), but then I got incorrect values ​​for pressure,
velocity and temperature.

Can you please help me with setting the correct parameters so that I can calculate the speed, pressure, temperature, density?
Thanks in advance!

I am attaching the errors that the program displays and UDF.

Tagged:

Answers

  • James Derrick
    James Derrick Administrator, Employee Posts: 357
    Ancient Membership 100 Comments 100 Likes 25 Answers
    admin

    Hello! Can you include your code snippet in the post itself? Unfortunately the pastebin link doesn't work.

  • dnwillia
    dnwillia Member, Employee Posts: 4
    Second Anniversary First Comment Photogenic Ansys Employee
    ✭✭✭

    You should really be using the NIST model or an RGP file for this. See the beta manual for the latter.

  • Alina
    Alina Member Posts: 4
    Name Dropper First Comment
    **

    @James Derrick said:
    Hello! Can you include your code snippet in the post itself? Unfortunately the pastebin link doesn't work.

    Thank you for reply!
    I can't include whole code in post because it's too long.
    I published it on the pastebin, this link should work.
    https://pastebin.com/KNRDcJY2

  • Alina
    Alina Member Posts: 4
    Name Dropper First Comment
    **

    @dnwillia said:
    You should really be using the NIST model or an RGP file for this. See the beta manual for the latter.

    Thank you for reply!

    There is a problem with this because if I use the NIST model the program crashes without finishing the calculation.