Problems with calculating spray through the nozzle
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.
Answers
-
Hello! Can you include your code snippet in the post itself? Unfortunately the pastebin link doesn't work.
0 -
You should really be using the NIST model or an RGP file for this. See the beta manual for the latter.
0 -
@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/KNRDcJY20