I am simulating a 2D reactor in CFD-DEM with a gas-solid reaction. I began by simplifying the project as much as possible. However, when I initiated a simulation using the DMP option on our university cluster for a basic 2D reactor with one reaction and a small number of particles over 1000 seconds, it took approximately 15 days to complete the calculations.
Do you have any advice on how I can reduce the calculation time? Thank you in advance.
Please provide additional details about your simulation: number of cells, number of particles, time step, number of cores etc. You can also attach your project files if you think there is an issue with the setup.
I am currently simulating 500 fixed particles, but my objective is to increase the number of particles. I am working with threads per core=1 and CPUs per task=20, and the time step is set to 10^-2.
Additionally, I am currently simulating only one reaction with a simple rate of reaction. However, in reality, I should incorporate two more reactions with complex rate expressions.
Your setup doesn’t seem physical. You setup a constant gas density of 42.5 kg/m^3 at atmospheric pressure and a temperature of 900C, made up -f hydrogen and steam. You should use an ideal gas law. Please double check your fluid properties.
Please try the attached.
I switched to ideal gas law and increased the max inlet velocity factor that was driving the time step down. I am also using explicit coupling for DEM, and decreased the spring stiffness, decreased the DES time step factor and increased the neighbor search call so the DEM time step is larger (this is OK since you are freezing particle’s position). Note that the granular temperature is not the same as the thermodynamic temperature. I reset it to zero, although it doesn’t make any difference since you are freezing particle’s position. The attached simulation runs fine until time=1000s, when you turn on the reaction. My guess is the reaction rate is too large.