-
-
February 20, 2023 at 6:33 pm
aliborhan
SubscriberHi all,
In Ansys-Fluent, is there a boundary condition that can specify both the normal velocity and species mass fraction?
I tried the velocity-inlet boundary condition, and hooked my udf for the species. However, it's not allowing me to set it properly because the flow is opposite of the inlet (backflow). If I do it on a wall boundary condition, then I can't set a leak velocity.
This happens if I want to set a temperature profile too.
Thank you!
-
February 22, 2023 at 11:53 am
Essence
Ansys EmployeeHello,
Normally, you should not get the backflow near the inlet. This happens due to incorrect case setup. Can you share the screenshot of the backflow near the inlet?
-
February 23, 2023 at 5:42 pm
aliborhan
SubscriberHi,
Sorry for the confusion. I am trying to model a pipe flow with a porous media using 2D axisymmetric. The interior in Fig 1 does not allow me to hook a udf for the species, therefore, I want to use the inlet-velocity boundary condition on the wall 2 (interior in figure 1) in figure 2 to model both the flow through the porous media and hook my species udf. By hooking the udf, it would allow me to see the concentration profile near the wall 2 in figure 2.
As I mentioned before, the flow out is the opposite of what the velocity inlet boundary condition wanted, therefore, the species udf would not be used. Ansys used the upstream cells to model it. I would like to know if there is a boundary condition or a way that allows me to hook both a velocity and species udf on a boundary.
-
February 24, 2023 at 9:18 am
Essence
Ansys EmployeeHello,
First of all you do not need to apply velocity udf or velocity profile as a boundary condition at wall 2. The pressure outlet condition is sufficient. Another thing is about the species concentration, you can provide the species boundary condition at inlet itself. Now, choose the porous media such that it is permeable only to the species you want it to be (this can be done in the Fluent settings). Therefore, you will get the species concentration data wherever you want in the domain. You might find more information here: https://ansyshelp.ansys.com/Views/Secured/corp/v231/en/flu_ug/flu_ug_bcs_sec_cell_zones.html?q=porous%20media
https://ansyshelp.ansys.com/Views/Secured/corp/v231/en/flu_ug/tgd_user_workflow_guided_tasks_create_porous_regions.html?q=porous%20media
https://ansyshelp.ansys.com/Views/Secured/corp/v231/en/flu_tg/flu_tg_tut_catalytic_converter.html?q=porous%20media
Please let me know if this helps.
-
February 28, 2023 at 4:47 pm
aliborhan
SubscriberHi,
Thank you for your response. Could you please provide more details about how I can make a specie permeable/impermeable in the porous media? I read through the materials you provided, however, I am not able to set separate permeabilities for different species inside the porous zone. The only material that is allowed in the porous zone is the mixture, otherwise it will have an error.
Thank you!
-
February 28, 2023 at 4:52 pm
Essence
Ansys EmployeeHello,
You can create separate cell zones and assign them required porous zones, thus the required properties. You can create the different cell zones while modeling itself.
-
February 28, 2023 at 6:44 pm
aliborhan
SubscriberHi,
Thank you for the quick response. However, is it possible to set different permeabilities for different species in the one cell zone (porous media)? If not, how can I make one specie impermeable in one cell zone while the other species can move across freely.
Thank you.
-
March 1, 2023 at 1:00 pm
Essence
Ansys EmployeeHello,
You can make use of "Viscous resistance (Inverse absolute permeability)", "inertial resistance" and "power law" to specify the required permeabilities. For more info on how to use them, please refer the user's manual provided earlier.
-
March 1, 2023 at 5:18 pm
aliborhan
SubscriberHi,
Thank you for the response. I already know how to set the permeabilities with those options. I would not need to specify inertial resistance and power law since the flow is laminar. The problem is that only "mixture" can be used for the material in the porous zone, therefore, I can only specify the permeability for the "mixture".
The goal is to specify different permeabilities for different species inside the mixture. I hope the question is explained clearly.
Thank you again.
-
- 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
-
3812
-
2593
-
1849
-
1244
-
600
© 2023 Copyright ANSYS, Inc. All rights reserved.