-
-
December 12, 2019 at 12:44 pm
F123rooq
SubscriberCan you please walk me through setting up my 2D geometry for supercritical co2. I have a box, with 2 pipes sticking out of it. The two pipes will have ScCO2 coming to the box which has air in it, and mixing.
I had typed in a code that I found online into ansys, and it gave me the option to use the NIST, so I selected co2.fld file, then it said that calculations will be performed for the vapour phase. I have selected multiphase, and then Volume of Fluid. I have read someone did a similar study, and they used VOF to simulate the stream of jet that I want too.
I have chosen my inlets, my outlets
I have two phases, one is air, and other real gas co2 from the refprop etc. The problem is that my box, and the two pipes have 2 phases in the cell zone conditions. But I only need phase 1 (air) in the box, and phase 1 and 2 in the pipes together, because they open to the atmosphere, so air would already be mixed in the pipes I presume, I don't expect it to be 100% ScCO2 in the pipes. But if having one phase (ScCO2) in the pipes makes the setup easier, then I am happy with that for the time being.
-
December 12, 2019 at 1:04 pm
DrAmine
Ansys EmployeeWhy using multi-phase model if you do have two gases? Use Species model and define a multicomponent mixture of air and Co2.
-
December 12, 2019 at 3:09 pm
F123rooq
SubscriberSpecies model is not highlighted, it won't let me select it
-
December 12, 2019 at 4:19 pm
DrAmine
Ansys EmployeeStart from scratch enable energy equation than enable specie model. Afterwards you enable multicomponent nist as in the docu. -
December 13, 2019 at 12:15 pm
F123rooq
SubscriberThe mixture material does not have co2 and air, so I closed species, enabled the nist mode real gas co2 etc. and the species disappeared. I wanted to put the mixture material as co2 and air
-
December 13, 2019 at 4:16 pm
DrAmine
Ansys EmployeeThen define a nist multispecie material -
December 16, 2019 at 9:28 am
F123rooq
SubscriberIf there is not equation of state for Supercritical CO2, how are people simulating Supercritical CO2 in ANSYS. I have an error message No mixture data are available for one or more binary pairs in the specified mixture. The mixture is outside the range of the model and calculations will not be made
-
December 16, 2019 at 9:39 am
F123rooq
SubscriberChanging method of "Density" to "real-gas-mixing-law" -- data required.
Changing method of "Cp (Specific Heat)" to "real-gas-mixing-law" -- data required.
Changing method of "Thermal Conductivity" to "real-gas-mixing-law" -- data required.
Changing method of "Viscosity" to "real-gas-mixing-law" -- data required.
Changing method of "Mass Diffusivity" to "multicomponent" -- data required.
-
December 16, 2019 at 2:29 pm
DrAmine
Ansys EmployeeMaterial properties are your Input and your responsibility. People are doing super-critical CO2 runs with cubic EOS and NIST.
So now what is your issue: perhaps it has some constraints when dealing with a mixture of two components. What is the pressure range / temperature range you are look into? I guess it is getting some problems with the Air component?
-
December 16, 2019 at 2:45 pm
F123rooq
Subscriberwell, supercritcal co2 pressure is around 74 bar and upwards, and temperature is 33 C and upwards. For the inlet pressure I have put 80 bar, and velocity as 10m/s. The outlet conditions are atmospheric pressure and velocity is zero, because I want the flow into a big tank coming from a tiny pipe, so my outlet is the other end of the tank, which I don't care what it leaves as, so I put zero.
In terms of the error is says that there is no interaction parameter for the CO2 and air.
Thank You
Regards,
-
December 16, 2019 at 3:07 pm
DrAmine
Ansys EmployeeTry with three components: Co2, Oxygen and Nitrogen.
-
December 17, 2019 at 2:46 pm
F123rooq
SubscriberI entered the three components, and the error went. However, in my cell zone conditions, air was there, so I selected the air for the tank, and co2 for the pipes. Then I had the problem of floating point exception. Which I searched up and it said that it was dividing by zero somewhere. I tried to play about with the mesh, smaller, bigger, triangles, quads, both etc, and in the end I think the error was still there, but it allowed me to proceed with the run, so I initialised and run the calculations.
In the tank that the co2 is coming into, to mix with the air, so I have the tank domain as air, or should it be a mixture in the cell zone conditions.
-
December 17, 2019 at 2:50 pm
F123rooq
SubscriberIn the residuals in the iterations, it does not have air, it just has continuity, x velocity, y velocity, energy, k, epsilon, co2, oxygen. Is that correct? It should have air right?
Thank You
-
December 17, 2019 at 4:04 pm
F123rooq
SubscriberI have got an error message:
Error: WorkBench Error: Could not register files of type:Real-gas-mixture
Error Object: #f
Registering Real-gas-mixture, ("hmx.bnc")
Error: WorkBench Error: Could not register files of type:registeredTypes
Error Object: #f
Writing data to (my folder location)
x-coord
y-coord
pressure
x-velocity
y-velocity
temperature
k
epsilon
Done.
Calculation complete.
Also, my calculations did not converge in 300 iterations.
-
December 17, 2019 at 4:09 pm
DrAmine
Ansys EmployeeNot sure how to respond...
Air residual is not plotted because air is ballast component so it us not solved via transport equation.
Regarding workbench error: I would for testing always use standalone Fluent outside the workbench.
Now regarding the materials: what are the ranges and how does the model look like. I do not expect convergence so quick when real gas is used. -
December 17, 2019 at 4:16 pm
-
December 17, 2019 at 4:17 pm
F123rooq
SubscriberThat is the model, my inlet velocity is 10m/s. Inlet pressure is 80bar. Outlet pressure 101325 pa.
-
December 17, 2019 at 4:21 pm
F123rooq
SubscriberElement size 0.0001m. All triangles method
-
December 17, 2019 at 4:22 pm
DrAmine
Ansys EmployeeIf steady state should not matter how to start: it is only an initial guess. -
December 17, 2019 at 4:24 pm
F123rooq
SubscriberYeah its steady not transient time
-
December 17, 2019 at 4:25 pm
F123rooq
SubscriberWhats the minimum iterations would you say for real gas
-
December 17, 2019 at 4:28 pm
F123rooq
SubscriberI tried to load the pathlines, and the model took a long time so I shut it, now started it again, I have to run the simulations again, but there were no movements in the pipe and the the exit of the pipes, was all blue, and near the outlet of the tank, there was read, yellow, green. Sorry couldn't give the numbers, just the colours, but blue low, red high. I will give the numbers once I run again
-
December 17, 2019 at 4:34 pm
DrAmine
Ansys EmployeeNumber of iterations case dependent better to create monitors and scruitinze the trend. -
December 17, 2019 at 4:34 pm
DrAmine
Ansys EmployeeRegarding the pathlines: I don't understand. -
December 17, 2019 at 4:38 pm
F123rooq
Subscriberin the solution I tried to get contour of pathlines of the domain, and it crashed,
As far as supercritical co2 simulations is concerned, is this all you have to do to simulate scCO2.
Thank You
-
December 17, 2019 at 4:53 pm
F123rooq
SubscriberI have floating point exception error
-
December 17, 2019 at 4:58 pm
F123rooq
SubscriberBut I changed it to transient time and initialised from all zones. and it allowed me.
-
December 17, 2019 at 5:04 pm
DrAmine
Ansys EmployeeStick to polite, proper and detailed discussion. -
December 17, 2019 at 5:15 pm
F123rooq
SubscriberAlright, apologies if my words were offensive. I did not mean to be offensive.
Regarding the detailed discussion, I have only been doing ANSYS CFD for like 1 month or maybe a little longer, EVERYDAY. But, I am still extremely new, so for me to hold detailed discussions would be a miracle. Every time you have said something complex, I have gone to research on it and that has lead me to further things. I am learning with every of your message. I have come across Homogeneous Equilibrium Method. I don't think its what I am doing, but was nice to read.
But apologies for using impolite words.
Kind Regards,
-
December 17, 2019 at 6:11 pm
-
December 18, 2019 at 5:09 pm
DrAmine
Ansys EmployeeAs beginner you need to do tutorials. This is mandatory as you want to deal with something complex like real gas.
The velocity contour is dominated by high velocity in the inflow pipes that us why us dominated by blue in almost all region. Probably you need to run longer. -
December 19, 2019 at 3:24 pm
F123rooq
Subscriber -
December 19, 2019 at 5:18 pm
DrAmine
Ansys EmployeeI recommend to start first with ideal gas EOS and check boundary conditions. Also when showing contour plots clip the velocity values to see the plenum region. -
December 19, 2019 at 5:37 pm
F123rooq
SubscriberHi Amine,
Yeah I am going to scrap this supercritical co2. I am going to do liquid co2. Can I ask one question please. You know in ansys, there is CO2 and there is CO2-, the one with the minus is liquid isn't it. I want to do just a very basic simulation of liquid co2 and air in the tank. Is that something that can be easily done, compared to scCO2.
Thank you for your help so far.
Kind Regards,
-
December 19, 2019 at 6:03 pm
DrAmine
Ansys EmployeeAll want to do is feasible with Fluent. Just start with some basics add complexities step by step so that you have success stories.
Generally default materials names will tell if its liquid. You can define your materials with your input. -
December 19, 2019 at 9:27 pm
F123rooq
SubscriberYep that's correct. I need to start somewhere basic and almost break my problem down into small bits, and try to solve those small bits and then put it together, and yeah I do need to have some success stories, because I am getting extremely frustrated with the software. Maybe if I understand the problems and errors, I will be less frustrated.
Thank you for your help with everything, I have definitely learnt how to set up supercritical fluids, be it, the solution came out with errors, but at least I know where to start now.
Kind Regards,
-
December 20, 2019 at 9:53 am
DrAmine
Ansys EmployeeWelcome!
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
-
5162
-
3233
-
2437
-
1308
-
954
© 2023 Copyright ANSYS, Inc. All rights reserved.