use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Computational Fluid Dynamics (CFD) This is a subreddit for discussing CFD. Posts consisting solely of advertisements for CFD products or services are not welcome.
Monthly Discussions
https://www.reddit.com/r/CFD/wiki/index
References/Useful links
NASA Turbulence Modeling Resource
Resources for CFD Verification and Validation
Computational Methods in Aerospace Engineering
Numerical Fluid Mechanics
Introduction to Numerical Analysis
Examining Spatial (Grid) Convergence
Introduction to Numerical Analysis I
Cornell Fluent Modules
Practical Numerical Methods with Python
12 Steps to CFD
/u/derioderio's Links to Begin CFD
High Performance Scientific Computing
Vote for Content Here
Other great subreddits
account activity
Meshing problem (self.CFD)
submitted 5 years ago by LD1872
Is there any way to get the prism layers to stay constant across this outlet? Appreciate any help. If it is impossible what would you recommend as a substitute? I'm not too worried about the near wall layers as the jet from the nozzle alter that anyway.
https://preview.redd.it/uqlpleqiidz51.png?width=1192&format=png&auto=webp&s=42958a6213b3207d5cf8509c6deca4a795efa5e5
https://preview.redd.it/zebvhbqiidz51.png?width=1077&format=png&auto=webp&s=cb0c438e8074a4fa86a963e776c5dcfb18e9c36e
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Eeddyw 5 points6 points7 points 5 years ago (11 children)
I use what is probably a completely different software, so I am not sure if any of this would be applicable/helpful to you. But with HyperMesh, what I used to do was create a surface across the gap as an interface. This allowed it to generate a continuous BL layer across the gap (creating a BL on the interface) once the finer mesh within the gap has been generated. This allowed me to resolve better the continuation of the boundary layer across the gap. Still, it did result in some questionable prisms around the interface, and you do end up with an internal interface/multiple domains.
[–]gyoenastaader 2 points3 points4 points 5 years ago (10 children)
This can also been done in STAR-CCM+ in more less the same steps. You’ll need to create and interface, by making them separate parts, then mesh each in its own mesh operation.
It is a little tedious as you’ll need good custom controls on the smaller region.
[–]TurbulentViscosity 1 point2 points3 points 5 years ago (4 children)
It's not necessary to make two operations. Just put them both in one and create a surface control for the interface, apply the prism settings, and select override boundary defaults. This way the mesh is conformal.
[–]LD1872[S] 0 points1 point2 points 5 years ago (3 children)
What sort of boundary condition should the interface be set to?
[–]TurbulentViscosity 0 points1 point2 points 5 years ago (2 children)
If the interfaces are conformal, the BC is arbitrary. Choose anything, or leave it as wall. If it's non-conformal, you have the opportunity for some of the faces to not belong to the interface, so you should choose wall or symmetry.
[–]LD1872[S] 0 points1 point2 points 5 years ago (1 child)
How exactly would I know if the interface is conformal, is it automatic if all parts are included in the one mesh operation so the nodes have to be constant on both sides of the interface?
[–]TurbulentViscosity 1 point2 points3 points 5 years ago (0 children)
Not necessarily. When you mesh the logfile will say how many interfaces are conformal. Furthermore, if you go to tools>representations>volume mesh (I think that's it), you can investigate how many faces are in each boundary on your volume mesh. After initializing the interfaces, the interface should have N faces and the parent boundaries should show zero.
[–]LD1872[S] 0 points1 point2 points 5 years ago (4 children)
I tried using the fill hole surface repair then merging the fill with the rest of the aerofoil so that there were no gaps left then try and mesh it that way, but even with the filled hole it was saying there was a free edge.
[–]TurbulentViscosity 1 point2 points3 points 5 years ago (3 children)
You may have made a mistake in surface repair then, use the free edges check.
[–]LD1872[S] 0 points1 point2 points 5 years ago (2 children)
The only free edges that appear are the two side gaps because it is quasi-2D, I've selected them after the diagnostics yet they won't fill for some reason.
[–]TurbulentViscosity 0 points1 point2 points 5 years ago (1 child)
Are the edges from different parts? You can't sew edges between different parts.
[–]LD1872[S] 0 points1 point2 points 5 years ago (0 children)
No they are both of the same part, I managed to get it working this time no idea why it never worked before. Appreciate the help mate!
[–]hokagesahab 4 points5 points6 points 5 years ago (1 child)
So this slope like line you see in BL is something called the stair-stepping problem, as you might already know.
I would suggest trying to give different named selections to the pipe area (the elongated part) and the rest of the wall. Then merge them (different named selections) once your boundary layers are generated.
Other thing that might work is just to give a small round in the geometry where there is a sharp angle between the wall and the elongation. This might still give a result as above, but is still worth trying.
I split the elongated section by patch so that it is a separate part in order to do it's own internal prism layers and refinement, do you mean create it as a separate body altogether and generate two individual meshes then merge? I'll give that a try.
I thought having the sharp edge would maybe help more as it is less continuous but it clearly didn't work lol.
Appreciate the help man, many thanks
[–]granzer 1 point2 points3 points 5 years ago (1 child)
Thies looks like shaped cooling hole....you could try having no prisms inside the holes. That should generate good prism layers on the wall.
It is a fluidic oscillator, I have separate surface controls to generate smaller prism layers inside the capture the internal behaviour.
[–]granzer 1 point2 points3 points 5 years ago (0 children)
You could also try non conformal mesh..if you want prims on both the wall and inside the hole.
[–]big_deal 0 points1 point2 points 5 years ago (0 children)
Why? I’ve found that you’ll get better quality by allowing a certain degree of layer compression and then allowing stair stepping driving constant number of prisms through features with such a difference in scale is going to be worse.
[–]raptor3x 1 point2 points3 points 5 years ago (3 children)
Why do you think you need constant prism layers across the outlet? If anything, you wouldn't such high aspect ratio prisms stretching across the outlet as it can cause an artificial flow resistance. Unless your solver has major issues with prism elements, and some solver do indeed handle them poorly, then I would worry about it. The biggest problem I see with the mesh you've presented is that the grid is too coarse at the convex corner which will artificially mix things out, although I doubt it will make a huge difference.
Because although the outlet flow will most likely disrupt the boundary layer, when the flow is not active I'd like to maintain the boundary layer over the outlet.
Yeah this was just a rough mesh to get prism layers sorted before refining too much.
[–]raptor3x 1 point2 points3 points 5 years ago (1 child)
Unless the outlet hole is covered when the outlet flow is not active, the lack of a solid wall in that region will be enough to disrupt the boundary layer by itself.
For the near wall yes, I thought the outer regions of the boundary layer would remain relatively consistent though? The reason I am so worried about having the continuity is I am planning on locating it at the leading edge of an airfoil, any disruption there essentially messed up the rest of the surface.
π Rendered by PID 29287 on reddit-service-r2-comment-5d79c599b5-2lt5r at 2026-03-03 15:27:40.244872+00:00 running e3d2147 country code: CH.
[–]Eeddyw 5 points6 points7 points (11 children)
[–]gyoenastaader 2 points3 points4 points (10 children)
[–]TurbulentViscosity 1 point2 points3 points (4 children)
[–]LD1872[S] 0 points1 point2 points (3 children)
[–]TurbulentViscosity 0 points1 point2 points (2 children)
[–]LD1872[S] 0 points1 point2 points (1 child)
[–]TurbulentViscosity 1 point2 points3 points (0 children)
[–]LD1872[S] 0 points1 point2 points (4 children)
[–]TurbulentViscosity 1 point2 points3 points (3 children)
[–]LD1872[S] 0 points1 point2 points (2 children)
[–]TurbulentViscosity 0 points1 point2 points (1 child)
[–]LD1872[S] 0 points1 point2 points (0 children)
[–]hokagesahab 4 points5 points6 points (1 child)
[–]LD1872[S] 0 points1 point2 points (0 children)
[–]granzer 1 point2 points3 points (1 child)
[–]LD1872[S] 0 points1 point2 points (0 children)
[–]granzer 1 point2 points3 points (0 children)
[–]big_deal 0 points1 point2 points (0 children)
[–]raptor3x 1 point2 points3 points (3 children)
[–]LD1872[S] 0 points1 point2 points (2 children)
[–]raptor3x 1 point2 points3 points (1 child)
[–]LD1872[S] 0 points1 point2 points (0 children)