-
-
June 24, 2022 at 6:52 am
Trailer
SubscriberHello everyone,
I am trying to simulate sorption with ANSYS Fluent. There for I have an L-Solid with an inlet, outlet and a wall.
In the L-Solid a small stream of N2 goes from inlet to outlet, from this stream I want an adsorption on the wall.
There for I worte following UDF file:
#include "udf.h"
DEFINE_ADJUST(remove_N2,domain)
{
real vol_N2;
Thread *t, *t0;
face_t f; /*Face thread*/
cell_t c; /*Cell thread*/
domain = Get_Domain(1);
t = Lookup_Thread(domain,8); /* Surface thread ID from Wall */
begin_f_loop(f,t)
{
c = F_C0(f,t);
t0 = THREAD_T0(t);
C_YI(c,t0,0)=C_YI(c,t0,0)-0.4;
vol_N2=C_YI(c,t0,0);
}
end_f_loop(f,t)
}It works that there is less N2 at the outlet than at the inlet but no N2 is accumulated at the wall, instead the other walls of the component have an N2 uptake.
I have checked the net, components name and ID without success.
Does someone maybe know were the problem is?
Thank you very much.
-
June 28, 2022 at 12:13 pm
DrAmine
Ansys EmployeeAt the wall we can now in this actual release provide a Flux for specie for removal or addition. The current BC at the wall is just zero flux.
A removal won't lead to accumulation: I think you require a sort of deposition. Check Wall Surface Reactionin the Guides.
-
- 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
- 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
-
3694
-
2564
-
1765
-
1236
-
592
© 2023 Copyright ANSYS, Inc. All rights reserved.