CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS (https://www.cfd-online.com/Forums/ansys/)
-   -   Dual energy equation in porous medium for combustion(with udf) (https://www.cfd-online.com/Forums/ansys/243165-dual-energy-equation-porous-medium-combustion-udf.html)

Jingyu Cao June 1, 2022 10:20

Dual energy equation in porous medium for combustion(with udf)
 
2 Attachment(s)
Hi all!
I have been studying in numerical simulation about CH4/air premixed combustion in porous medium.After reading a lot reference, I choosed to use UDF and UDS to solve solid energy equation.
The problem I studied is very simple. The mixed gas flow in from left(velocity inlet for BC) and react in porous zone which is in the middle of the geometry, and on the right hand is pressure oulet. In my work, I choose methane/air one step reaction mechanism.
My UDF can run well, however I can't reproduce the results of other people's papers and I don't know if I wrote the right codes.
Here, my question is:
1.Is there any wrong in principle or logical in my udf
2.In my calculation, the temperature difference between the gas and the solid is only a few tenths of a degree, which is clearly the wrong result
I'm not a native English speaker and sorry for my bad description. If you have any questions about my question, please feel free to discuss them.

Jingyu Cao June 1, 2022 21:18

uploaded the wrong c.file
 
1 Attachment(s)
Sorry all,
I uploaded the wrong c.file, "test2" is the correct one


All times are GMT -4. The time now is 20:46.