# Chemical reaction UDF

**URL:** <https://www.simscale.com/forum/t/chemical-reaction-udf/85959>\
**Category:** Project Support\
**Created:** [July 24, 2019, 10:33am UTC](https://www.simscale.com/forum/t/chemical-reaction-udf/85959 "2019-07-24T10:33:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pedro\_Henrique](https://www.simscale.com/forum/letter_avatar/pedro_henrique/32/6_449c533f586939b6e5f246632a46421f.png) [@Pedro\_Henrique](https://www.simscale.com/forum/u/Pedro_Henrique)\
**Post date:** [July 24, 2019, 10:33am UTC](https://www.simscale.com/forum/t/chemical-reaction-udf/85959/1 "2019-07-24T10:33:49Z")

</div>

Good morning my friends,

I’m new to CFD so I need your help.  
I am currently trying to simulate the temperature distribution across a batch reactor for biogas production. To simulate the production of biogas I need to insert this chemical reaction in the simulation:

C6H12O6 = 3CO2 + 3CH4

I know that Simscale doesn’t allow the use of chemical reactions in your simulations. My question here refers to the use of other software that I also use. Could you guide me how to accomplish this feat? Googling a bit, I noticed that UDF models are widely used. Grateful for everything. @roy_g @jousefm @vgon_alves

---

<div class="post-metadata">

**Author:** ![roy\_g](https://www.simscale.com/forum/user_avatar/www.simscale.com/roy_g/32/25462_2.png) [@roy\_g](https://www.simscale.com/forum/u/roy_g)\
**Post date:** [July 24, 2019, 12:37pm UTC](https://www.simscale.com/forum/t/chemical-reaction-udf/85959/2 "2019-07-24T12:37:48Z")

</div>

I dont know a lot about chemistry but if the reaction releases heat and you can calculate how much heat then you can model the heat as a power source. Openfoam (on which simscale is built) has a chemicle reaction solver. Openfoam is a free open source cfd package but it has no user interface and is a lot more difficult to use.

---

<div class="post-metadata">

**Author:** ![jousefm](https://www.simscale.com/forum/user_avatar/www.simscale.com/jousefm/32/34908_2.png) [@jousefm](https://www.simscale.com/forum/u/jousefm)\
**Post date:** [July 24, 2019, 1:47pm UTC](https://www.simscale.com/forum/t/chemical-reaction-udf/85959/3 "2019-07-24T13:47:45Z")

</div>

Hi guys!

It is correct that one of SimScale’s solver is OpenFOAM but we have no option/module released which would allow you to create simulations for chemical reactions. If you want to see that on our platform, please make sure to add your request inside the **[Vote for Features](https://www.simscale.com/forum/c/feedback/feature-requests)** category.

Thanks!

Jousef
