TAGGED: concentration, fluid-flow-fluent, multi-species, remeshing
-
-
February 28, 2026 at 2:14 pm
gny24002
SubscriberHi,Â
I am modeling species transport in a cylinder that contains internal protrusions at the surface of the wall of the cylinder as shown below.Â
The figure below shows the inlet at the left and the outlet at the other end.
The velocity of the fluid is in the factor of 10e-5 m/s so at first, a steady state fluid flow is solved in the domain so that, there is a developing flow before species transport. The boundary conditions for this model were: velocity inlet, no slip wall and pressure outlet. Once the velocity field has been established, the species transport model settings are turned on as shown below,
Under materials, a modified fluid called drug is created which is the dissolved species in water. The density is changed to volume weighted mixing law and the diffusion coefficient of the mixture is changed to constant-dilute-appx.Â
These are the species boundary conditions for the inlet, wall and the outlet. One thing to note here, 'rgrg....' is the chemical formula of the drug which was randomnly named when creating a new material named 'drug'.Â
After boundary conditions are set, the species transport along with fluid flow is solved for steady state condition. During the simulation, there was approximately 30% backflow reported at the outlet. After the convergence, this is what the contour plot for mass fraction of the drug looks like:

From the contour plot above, it can be seen that as the drug is transported from the inlet, the boundary layer starts and then I expected it to reach plateau but at the end of the domain it increases as indicated by the two circles.Â
Now, before incorporating the species transport, I had solved just fluid flow in steady state and this is what the velocity contour plot looked like:
ÂUnlike the species transport, the flow becomes fully developed and the boundary layer thickness reaches plateau (visually). My question is, for species transport, what parameters should I change for the model to get accurate results and if the backflow is the major contributor, how can I reduce the backflow at the outlet?
Additional question:Â
I am interested in incorporating peristalsis at the walls. In other words, Imagine squeezing a tube of toothpaste, but instead of your hand, a localized "squeeze" or contraction continuously travels down the length of the tube from the inlet to the outlet, pushing the fluid forward.
In CFD terms, I need a section of my cylindrical wall boundary to physically contract radially inward, and that contracted section needs to move axially along the flow direction over time. In this case, is udf needed to model the wall in this way along with fuid flow and species transport?Â
Thank you for coming this far to read my case. I appreciate any guidance and feedback -
March 2, 2026 at 10:28 am
Rob
Forum ModeratorThat's boundary diffusion: your flow speed is slower than the diffusion rate. If the boundary is adversely effecting the result you may need to extend the domain. The alternatives involve setting a more realistic outlet species profile using a profile, expression or UDF but that also requires you to know what's coming back in...Â
-
March 2, 2026 at 8:16 pm
gny24002
SubscriberHi Rob,
Thank you for your response. I will go ahead and extend the domain to act as a buffer zone so the outlet boundary condition doesn't artificially warp the results in my main area of interest.
I was also hoping to get your thoughts on the second part of my original post regarding the peristalsis? To model that traveling wall contraction (the "toothpaste" squeezing effect moving axially down the cylinder over time), what is the standard approach in Fluent? Will I definitely need to use Dynamic Mesh paired with a UDF to explicitly prescribe the radial displacement of the wall nodes over time? Or is there a built-in moving wall/mesh formulation in newer versions of Fluent that handles this kind of traveling wave without writing C-code? I wanted to pair this movement of the wall with the transport.
Any pointers on the best tool to use for that specific motion would be hugely appreciated. Thanks again for your time!
-
March 3, 2026 at 9:16 am
Rob
Forum ModeratorOops, I'd missed that bit. You'd need to use a UDF to move the wall and then remeshing OR if the motion is determined by the external force and fluid resistance you might need to couple with Mechanical. Although, have a look at overset mesh: can you just push the bulge down the tube? Not sure it's the same motion, that's your problem to figure out!Â
-
- You must be logged in to reply to this topic.
-
5274
-
1859
-
1403
-
1257
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.







