June 19, 2019 at 2:23 amWeiqiang LiuSubscriber
I am doing a new project. it's air flows through porous soot cake and reacts with soot. The local soot concentration is treated as an UDS in fluent. The reaction is very simple as follows:
specific heat of carbon is constant and for other gas species, specific heat is temperature-dependent. I need to write UDF to define source term of enthalpy which arises because of carbon oxidation.
I have two ways to calculate reaction enthalpy.
Firstly: I would use C_H(c,t) to access enthalpy in the cell. Because enthalpy in a cell is mass-weighted, I can calculate enthalpy for oxygen and carbon dioxide. For carbon, the enthalpy is just Cp multiplied by ?T. Ultimately, heat release of the reaction is just enthalpy of the product minus enthalpy of reactants.
Secondly: Because I know specific heat of every species in the system. I can calculate enthalpy of formation by the following equation:
?H(0)+∫Cp(t)*dt. I don't need to use C_H(c,t) macro. I just need to use C_T macro to access temperature in the cell.
I wonder which method is correct or both of them are ok?
I need to confirm this and then go further.
PS: I received very kind help on this community and finished two projects.
Thanks very much!
June 19, 2019 at 4:32 amDrAmineAnsys EmployeeIf you look in the way Fluent models reaction kinetics then it uses the second formulation. Just have a look into the energy equation in theory guide.
C_H is total enthalpy by the way.
June 19, 2019 at 1:38 pmWeiqiang LiuSubscriber
Do you mean I should use definite integration in UDF to calculate heat release of reaction. Because I know the function of specific heat which varies with temperature. Yes, I'll check theory guide of ansys.
Thanks very much!
June 19, 2019 at 1:47 pmDrAmineAnsys Employee
You can make it simple and use species reaction.
June 19, 2019 at 2:46 pmWeiqiang LiuSubscriber
But it's not soot model in fluent. It's like fixed bed simulation and local carbon concentration is an UDS.
June 21, 2019 at 5:34 amDrAmineAnsys EmployeeJust simple species transport without any additional models.
June 21, 2019 at 3:29 pmWeiqiang LiuSubscriber
yes, but carbon is solid which is fixed in the system. I tried to use species transport to model carbon reaction. However, seems fluent can not choose solid as one of reactants. Because solid consumption is not considered in fluid governing equation I think while in reaction panel, every species are included in solving governing equation.
June 21, 2019 at 4:29 pmDrAmineAnsys Employee
Just assume it a fluid specie so that you can describe volume reactions.
June 22, 2019 at 2:32 amWeiqiang LiuSubscriber
if I assume carbon as a fluid specie, than it must have convection and diffusion. However, in my model, soot is fixed in space. In other words, no convection and diffusion, just consuming source exists.
- 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.
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 in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.