-
-
January 26, 2023 at 9:16 am
Biborka Boga
SubscriberHi! Before describing the problem, my question would be: can you please offer me a feedback regarding to the correctness of the following proposed approach? Thank you very much in advance!
I am involved in the modeling of L-S mass-transfer of dissolved O2 (from the liquid phase to the catalyst, which in my case is defined as a wall). Based on the previous discussions and based on literature study I have concluded that there are two options:
(1) introducing the adsorption as a wall reaction (in the last few months I have been insisting on this approach inclusively on site and bulk species, finding appropriate activation energies, preexponential factors, however after a lot of tryings I have given up this approach)
(2) Defining the catalyst as a sink term of certain species (via user defined scalars)
Although I have a multiphase problem, for simplicity now I have modelled just the liquid film. Let’s consider the mixture of H2O+O2 (with an initial molar fraction of dissolved O2: 1.62e-10). At the upper wall BC I have defined a boundary O2 flux in order to assure the saturation of H2O with O2 (please find below) along the reactor length.
Aim: defining the catalyst layer a sink term for dissolved O2 (however the aim is to extend the model to other species)
The conservation of O2 can be written as depicted in (1):
where S is the source/sink term.
Although I am aware of the fact that the following approach is oversimplied, at first I would consider:
Do you think that this approach will work?
Thank you very much in advance your feedback regarding to the correctness of the proposed procedure.
-
April 3, 2023 at 8:09 pm
Judy Cooper
Ansys EmployeeHi Biborka:
Your approach may work with a small enough timestep.
Sources that are a function of the solved variable tend to benefit from linearization, however. This topic is discussed in the help documentation (Fluent customization manual) here:
https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v221/en/flu_udf/flu_udf_sec_define_source.html
So you could implement the UDF as follows:
#include "udf.h" #define c2 -10000.0 DEFINE_SOURCE(o2_source,c,t,dS,eqn) { real k,source; source = c2*k*C_YI(c,t,i); dS[eqn] = c2*k; return source; }
C_YI is the O2 species mass fraction (i is index from 0-1 given by species order).
c2 is a multiplier that strengthens the effect of the linearization.
dS[eqn] is the source coefficient (usually proportional to the derivative of the source term w.r.t. the solved variable).
This must always be negative.When the source is applied to the equations, set it as the mass source and the o2 species source to indicate that all the mass the source pulls will be pulled from the O2 species equation.
-
April 5, 2023 at 1:18 pm
Biborka Boga
SubscriberThank you very much! I am very grateful the answer provided! :)
-
- 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
- Difference between K-epsilon and K-omega Turbulence Model
- The solver failed with a non-zero exit code of : 2
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error: Received signal SIGSEGV
-
5290
-
3311
-
2471
-
1308
-
1016
© 2023 Copyright ANSYS, Inc. All rights reserved.