Hey Dr. Aidan, I am also visiting three of your courses on Udemy and have to say thank you for all of that! You do not have just the knowledge about all of that, you also are able to explain it all the time in such a clear way, that everone who is interested can easily follow, understand and using it. Thank you very much!
I just want to comment on how your videos have help me to understand CFD concept better than the cfd class i've taken. Thank you and i hope your channel can grow in the future.
Yes, i realise this video is really a CFD basics video. But it is often overlooked and not really explained well for beginners. Hopefully this will be a useful resource for beginners to have a quick look at and set them on the right path. Thanks again for your support!
This is what exactly makes you different, being simple yet precise. CFD is currently an essential tool not only for graduate students, but also undergraduate engineering students, as well as practicing engineers. From this point of view, your contribution is unique, since it covers both basics and advanced topics. You are expected to make a lesson on the turbulence models, their performance on some prototype problems.
I have been learning the fundamentals of CFD from your channel and it's totally mind-blowing how you had exquisitely brought every flower of CFD into a bokeh.
Aidan : *does a phd in the one of the best university in the world, weekly creates video about complex CFD concepts* Also Aidan : 'meme generator is my only bookmark lol' More seriously, very nice video once again (y) It is good to know/be remembered these stuff, but focus should really be put on few regions as in practice, a ''proper'' y+ check is never really applied, or is it? For example, a proper y+ check is not possible in turbomachinery. It would need to be done at all flow rates, and if you try different designs, it will take weeks. Keep up the good work, that's amazing!
Hi Lili An, yes well spotted 😂 you are right. Carrying out proper y+ checks is rarely done in practice and is particularly important for turbomachinery and external aero applications. Hopefully this video pushes everyone in the right direction for how to start their y+ and mesh checks.
Oh and for flow rates, you can always choose the high rpm/high speed case for your y+ checks, as the boundary layer will be thinnest and your y+ values will be largest (for a fixed mesh). As you drop the speed, the boundary layer thickens and y+ will reduce, improving your solution accuracy.
@@fluidmechanics101 hey I love your videos, they really allow me to grasp some concepts in a way no textbook can. Just to hear someone explain plainly and directly to me is so helpful. I wanted to ask how do external aerodynamics y+ is verified and how does it affect lift and drag predictions
The trick is to think of y+ as 'the height of the first cell off the wall'. So yes, y+ has been looked at extensively in the field of aerodynamics and it is generally accepted that y+ ~ 1 gives accurate results. However, you can still get errors from other sources .... mesh refinement isn't everything!
Im glad you found this channel too! My aim is to put out lots of extensive videos for all areas of CFD, as it is quite a difficult subject to get into, particularly for beginners :) just drop a comment if there is anything you are unsure about or need more information/explanation
@@fluidmechanics101 Thanks for your reply. Can you please make a video about boundary layer separation? Why does recirculation happen? why and when we should care about the separation of boundary? Does it matter in internal flows?
Sure. As a quick explanation, separation and recirculations lead to additional pressure drops in internal flows. This increases the pumping requirements to drive the flow through the system and can lead to unsteady loading/vibrations in the supporting structure. So generally, we would like to avoid unnecessary separations! I hope this helps
Excellent work!Thanks for everything you've done on sharing and propagating CFD knowledge. More concepts and details on CFD are expected. You are the best!
Thank you so much for all the clear videos! I'm working on my master thesis and I'm using FLUENT, but your videos really make me confident about my understanding regarding all the background theory and such. You're a true lifesaver at the moment haha. :) Wish you the best!
Thank you once again for your top quality content. As a follow-up to this video, will you ever consider to discuss best practices for adaptive mesh refinements (strategies, criteria, and useful thoughts)? They should pave the way to the best of both worlds - computational efficiency of coarse meshes and best accuracy of fine meshes.
Love your work! However I believe I've found a small mistake in slide 6, in the skin friction coefficient formula. The 6.5 should be 0,65, I think. Please keep continuing producing these high quality videos with high quality explanations! Thank you!
Watching all the videos from series... They are too good and level of presentation is awesome... On this same video note, could you please make a video on Mesh Convergence Criteria as this is one of the guiding criteria for Mesh
Hi Alan, i am just putting together the video on PISO and PIMPLE. It should be done next week. The third course is taking me a bit longer to put together, as it is a lot more challenging! I would expect it in the new year (2020). The courses are come as PDFs with excel and python source code, so you can get them anywhere in the world 😊 ive always wanted CFD to be available to everyone, no matter who they are or where they are from. So ive tried to make everything (the youtube videos and courses) so that everyone can get access to them. Its the only way we are going to do better CFD and build a better world 😊
Hi Prof. Aiden! Really good video, this is nice to view and remember the bases. Btw, there's a typo in your formula of Cf of Schlichting. It's 0.65 not 6.5. Continue the great work!
Great video, Aidan! The part where you mentioned about the residuals and point convergence really sparked my curiosity in checking solution convergence. I've always considered comparing solutions from historical data to validate convergence/solution. Like I would only check if the Cl and Cd values match for an airfoil and never cared much about the other residuals Can you please add a video about solution convergence to the list of videos you're going to make? Thanks in advance!
Yes that is a really good idea. I can see where you are coming from. Particularly with aerofoil data, you are usually comparing to values in the literature and experiments so we usually use these to check for convergence. For other cases you may not have any literature or experimental data for checking and we need to use everything we have to check convergence (point probes, residuals and flux balances)
@@fluidmechanics101 Thank you and yes not always do we have data to compare our solutions to! Really appreciate you responding to each and every comment on your videos!
Best thing to do is compare to experimental measurements. The closest agreement is probably the best model to choose. If you don't have any data, choose a test case that is similar to your simulation which does have experimental data available 👍
The first guess for supersonic flow in an airfoil is fine when assuming the cf formula showed in the video? I think there are better alternatives but you said this first step is a guess anyway, so does it really matter what formula for the shear stress I use?
As this is a first guess, it is probably fine. You are really just looking for the order of magnitude of the cell thickness. Should I use 1e-4, 1e-5 or 1e-6m?
The inflation later calculator also calculates yH, so it should do everything you need. There is a PDF guide at the bottom of the page which explains how it works
Hi, could you help me to figure out if I need y+? I have a complex UAV model that I will be testing in CFD (ICEM + Fluent) to determine forces, so I am using an unstructured viscous mesh. It is for a fully/global Laminar Flow of Re = 1000. I understand y+ is calculated for all sims, irrespective of Laminar or Turbulent. I would just like to ask what parameters must I know/calculate before generating the mesh. Thank you!
For laminar flows (which you clearly have if Re = 1000) then y+ isn't that important. It is normally more important to check and see if you have enough cells through the thickness of the boundary layer, and enough resolution in areas of large gradients. The easiest way to check this is with a mesh refinement study 👍
@@fluidmechanics101 Hello Dr Wimshurst, Thank you for the clear information. I shall perform a mesh study using a coarse mesh first! Meanwhile, I am having trouble understanding other parameters that are required for meshing in ICEM. What other parameters must I input into ICEM? Lastly, Should I create a surface mesh (All Tri, Patch Independent), followed by a volume mesh (Quick-Delaunay)? This info would be very beneficial for my study. Thank you.
Hey Aiden. In the previous "what is the difference between y+ and y*" video, you mentioned that we should use y* to minimize the computational cost. Then in the real world task, should I do the initial y+ guess as you showed in this video and assume y+ =y*?
Thank you. This video was very useful for understanding the inflation layer. I hope you will disscuss other meshing variables(global and local mesh) as well. What should be the element maximum size and minimum size(its in global element seed in icem) ? Is there rule or formula for calculating them for different parts like runner of francis turbine or draft tube?
Just excellent and i am really impressed by the quality of your presentation ! , please i have question how to estimate the Y+ for natural convection case inside square cavity since we don't have velocity to calculate Reynolds number ! thank you so much again
Hi Leila, what i would do is make a really coarse grid first in 2D. Go with maybe 50 by 50 cells. It should run in a few seconds. Then look at the solution and see what the velocity and y+ are. You can use this as a starting point for your full grid. As a rule of thumb 10^-3 usually seems to give y+ of order 100, while 10^-5 seems to give y+ of order 5 for many flows. See how it goes 😊
@@fluidmechanics101 Thank you so much , please is it possible to give me your e-mail , i have some questions about convergence in 3D vented cavity (mixed convection) under turbulent regime with Fluent . thank you so much again !
why can't we use equation 4 to find the wall shear stress in the wall function video? (this would save us from the need to that kinematic viscosity linear approximation, or the need for an iterative scheme?). is it because this is just an initial guess?
Equation 4 is for the flow over a flat plate with zero pressure gradient. This is just an initial guess as most CFD cases will have different flow conditions near the wall and equation 4 is not exactly correct
Thank you for this wonderful video, i just have one question, what if we do not have an estimate of the velocity at the beginning of the calculation, how we do calculate the Reynolds number ?
Good question! It depends on your flow scenario. I would have a look in the literature and see if you can guess a reasonable flow rate for your case. Ultimately this is just a first guess and you will have to go back to your mesh and refine it anyway, so what would be a sensible flow rate? Internal flows are probably going to be less than 1-2 m/s, external flows are probably not going to be more than 10-15 m/s unless you have a very gusty wind and aerofoils /wings are usually going to be subsonic. Does that give you a good idea?
W8, does your online calc spit out the yp value (wall-centroid distance) or the cell height (2*yp)? Btw I ve been watching whole lotta videos of yours lately, keep up the good(great) work there. Really appreciate it man edit: I ve been wondering, why not fully resolve the b.layer by adding many grid layers around our body instead of modelling with wall functions? Is it just a matter of computational time?
Yep the calculator should give you both. Yes, in an ideal world we would always fully resolve the boundary layer but sometimes it is too expensive so we are forced to use wall functions
Hello. Thanks for this great video. I have a doubt: I have a cylinder (660mm diameter and 300mm height) on an external flow (55 m/s), and I need to calculate the drag force. I draw this on 3D and if I want a y+
Your Reynolds number is high, so you will always struggle to get the right answer with RANS. A cylinder at high Reynolds number is actually one of the most challenging cases for CFD codes, even though the problem looks so simple. You also have a 3D cylinder, so there will be interactions with the shedding along the length of the cylinder. Very difficult to get right. I think you should start with some very careful validation in 2D and look at different meshes, wall treatments and turbulence models first before doing 3D (by comparing to experiment). You will need to be very careful as it is easy to get a very wrong answer for this type of simulation .... Good luck!
Can we use this for a nozzle(rect) as the Reynolds number limits are different. What will be the characteristic length for rect nozzle, is it length or equivalent Dia.
Really great video, I also seen your previous videos on wall treatments, but I still have a confusion on the good targeted value of y+ itself, (or y* since you said in a previous video that Ansys Fluent uses y* instead of y+), so do I get from all the previous videos that the y+ (y* ?) value should always be under 1 ?
If you can get y+ and y* under 1 that is best. However, if your mesh quality is too low or your cell count is too high then you can relax this and choose to either have y+ < 5 or y+ > 30 👍
Thank you for your really nice content. I have confused on slide 12. Dose an initial cell height mean the yH or yp? Because you mentioned that yH is the height of the first layer in your content ([CFD] Inflation Layers / Prism Layers in CFD). When we make the inflation layers, height of first layer(yH) should set up double 1st Cell Height(yp), shouldn't it? Thanks.
Yes exactly! The first cell height is yH, but the centroid height is yP. Be careful with your mesh generator. Mesh generators normally specify yH, whereas the y+ calculations are based on yP.
Hi Aidan. Thanks for the great videos. I have almost gone though all of your videos. As a CFD specialist that also has worked in this field I still have problem in meshing and validation. After I receive a project I always ask: What is the efficient step by step procedure to mesh the domain? How to choose best initial resolution not to repeat meshing procedure several times ? How much to refine the mesh in critical regions? Should I care about y+ values in every surfaces? Where to care about high y+ values and where not (e.g. In very big geometries to care about this value increases the number of mesh dramatically). How to do mesh independence analysis in unstructured complex mesh? How to reduce the time I spend for mesh independence study? How to validate our simulation results when we do not have an experimental results? We can learn schemes and numerical methods from different sources. But meshing and validation in shorter time are still in question. Do you have an idea? or a source?
That's a lot of questions there .... All I can say is that a lot of it comes from experience with particular problems. Once you have meshed and solved a given application several times you get used to what the solution and mesh resolution should look like. So, maybe have a look at academic papers and see what they are using? If you have an idea of what the solution is like then you can often work backwards 👍 that's the best I can do in a paragraph 😄
@@fluidmechanics101 Thanks Adan for your response. I know there may not be a solid answer for all those questions. Just wanted to have your view and your experience. Or maybe you have seen a great reference that I am not aware of.
Hi Aidan. Just a question. Your calculator gives me the height of the first cell that i need to have a y+ near 1 (or what i decide to set). Once i decided the number of cell how can i define the grading of the cells that i need to obtain the 1st cell height calculated before with your calculator?
Hi Alberto, normally you calculate the first cell height to get the y+ you desire first. This is fixed and you should keep this value. Next construct your mesh around this to get the best cell quality you can. Normally a growth ratio of 1.1 normal to the wall is perfect and will give you good results. If your cell count is too high (say over 20 million) then consider increasing the growth ratio to 1.2. Larger growth ratios (1.3 and above) may lead to inaccuracies in your solution so proceed carefully!
You have to choose a first cell height when you mesh the aerofoil. Then run the case and plot y+. Have a look at the y+ you have and then go back to your mesh and adjust the first layer height. Repeat the process until you have the y+ you are looking for. In the same way that CFD codes use iterative solvers, the process of obtaining the right y+ and right mesh is also iterative!
Amazing as always. If I have a number of elements limitation of 512k, and I am required to run a CFD simulation of a multi-element wing. How would you suggest targeting and achieving the y+ value? Where do I make compromises, on the virtual wind tunnel dimension? On the growth rate? Thank you for the super informative presentation.
You are going to have a tough time with a limit of only 512k! I would recommend trying a 2D simulation first, with a very fine mesh (all 512k) and then reduce the cells in your 2D simulation to see how innaccurate it gets. Once you have a level that you are ok with, then use those same settings on your 3D wing. You will probably need to reduce the upstream and downstream lengths, increase your y+ all the way up to ~200, increase the growth ratio to 1.2 and reduce the number of cells along the span. It will definitely be innaccurate but doing 2D first should get you a good idea of how innaccurate and you can quantify this limitation in your report 👍
@fluid Mexhanics 101 what about natural convection ? do I substitute Reynold's no with Grashof's no in your formulas and proceeds ? or I need a whole entire equations?
Yes! Natural convection is more difficult as we dont know the freestream velocity. Remember that this is only an initial guess, so you could always use an empirical correlation for a flat plate natural convection boundary layer to guess the velocity. Or just jump straight in to the CFD and try a cell height of 1mm. Run a few iterations and have a look at the results and then refine the mesh 👍
@@fluidmechanics101 First of all , Thanks for replying and for your good explanations and your effort , keep it up man In you thermal wall function video , you didn't give details about how to calculate u _t If you have an empirical correlation for turbulent natural convection , can you share it with me as I am searching for hours and couldn't get one also I am a beginner to ansys , so I didn't know that I can get the Y+ function from the pre processor
Hello Aidan, this is a great content. I have a wuestion. Once we set up a first layer height, how many inflation layer we should use, what should be the total height for sum of inflation layer until we proces witth lets Say with normalna hex mesh.
Take the chord length at 50% span as the length of the plate. The flat plate should do a pretty good job for getting you the right order of magnitude, as it is an external flow with a developing boundary layer 👍
Do the second and subsequent cell heights matter in getting the proper results? In other words can we keep a relatively large inflation ratio so that we satisfy the y+ condition also and keep the total cell count minimum?
The second and third cell heights do matter, as you need to make sure you have enough cells through the thickness of the boundary layer (I am making a video on this at the moment). The best thing to do is set your first cell height to get y+ and then try and keep your growth ratio less than 1.2 (1.1 is usually best), then you should be fine
How do we fix the initial mesh size for any give problem? Is it dependent on some geometrical parameter or so? Do I start with some 1mm or 0.5mm ? Can you throw some light on this? Thanks in advance. 🙌🙌
Have a look at the geometry and look at your large and small features. If your large features are ~1m in size and your small features are 0.05m in size, then maybe go for a cell size of 0.02m. Usually it is better to start big and then go smaller. If you start small, you might generate way too many cells and freeze your computer!
Great video, thanks Aidan! I still don't understand how to decide, if I should put my y+ in the viscous sub-layer or the log-law region? Wouldn't I always put it in the log-law region because it reduces the number of cells I need?
Hi there! If you can you should always try and put your cells in the viscous sub-layer (y+ < 5) as you will get a more accurate solution. The log law model gets less accurate under adverse pressure gradients, strong curvature and separation. However, we sometimes have no choice and cant put our cells in the viscous sub-layer as the mesh would either have too many cells or the aspect ratio/skewness is so high that we cant get a stable solution. Oy under these conditions should be we use a log law model. I hope this helps :)
Hey! first of all thank you for all your work, it's helping me a lot ! And I have a question, I can't find your calculator for Y+ in your website, have you delete it since ?
the y* that comes from the post processing, its in a form of graf or a range of value (0-x). how can we extract a number out of the range or out of the graph, so we can then relate it to the initial guess ans then refine the mesh in order to match it ?
If you have a 'difficult' flow, like separation over the back of an aerofoil, natural convection driven flow from a hot surface or an impinging jet, then go for y+ ~ 1. If your flow is close to flow over a flat plate or an isothermal pipe flow then you can be more relaxed and go for y+ ~ 30. In general, if you are unsure, try for y+~ 1.
i did the calculations on matlab, and the yh value i find is different to the one on the calclulator (1.5^10-4 vs 3.2^10-4 on the calculator of yours). Can you help me understand which way to go? By the initial guest of the calculator, or by the value i found from by the equations you explain on the video? Also you say initial height but the symbol is yp so whats really the number we get from your calculator? btw you are very helpful, glad i found your channel
Thanks for your tutorial! According to your vedio, I understands that the desire y plus should change until the result in post processing that are agree with experimental results. if I dont have experimental results, how should i choise for the best desire y plus?
If you dont have any experiments, try and get y+< 1. This is the most reliable. Y+ < 5 is usually fine as long as you dont have separation/impingement 👍
Hi everyone. Can someone guide me how to calculate Re in case of a CD Nozzle flow where I have the inlet stagnation pressure only and velocity is changing continuously during the flow as well. Will be highly obliged.
Good question. Re is always based on a length scale. For complex problems there may be more than one length scale that you could choose. This is why it is standard practice to always state the length scale that the Reynolds number is based on. For your case, you could state the Reynolds number based on the throat area and / or the Reyolds number based on the upstream area. Most engineers will just look at previous work (research papers / experimental work) and use the same definition of Re that everyone else uses. This is nice to make sure you are comparing like-for-like. A better approach would be to state both in your work (and you don't loose anything by just stating both). For example, Re based on the upstream area is 100,000 and Re based on the throat area is 250,000
Hello , could you please explain to me how can I estimate the first cell height in a multiphase simulation, for example two fluids with differents viscosities? Lets say a boat in the water with a certain draft (interface bewtween air and water would be presented, the free surface). Thank you for the videos once again and if you could reply the question it would be awesome!
I would estimate the volume fraction in the cells adjacent to the wall. Use the volume fraction to calculate the dynamic viscosity and density in the cells (volume fraction average). Then estimate y+ using these values. Or just make a quick mesh, run it and see what y+ is after a few 100 iterations. Then refine your mesh 😊
@@fluidmechanics101 Thank you for the repply, I will try to do this. Just one thing, last week I send a e-mail to you, could you please say to me if you received it? If you can't suppoort me with what I asked that is no problem.
If my yPlus is less than 500 everywhere on my model surface but less than 5 in some places and I am using k-omega SST and wall functions is this acceptable? Using OpenFOAM for external aerodynamics
Try refining and coarsening the mesh, and see what happens to your answer 👍 if the change is small, then you can be happy that your original mesh is acceptable
I'm not even skipping the ads inorder to give you a compliment for the service you are providing to the public.
Thank you so much 🙂 I really appreciate it
Just discovered your channel and I am impressed with the quality of the content. Keep up the good work!
Fantastic, thanks Lucas!
Honestly, one of the best videos about CFD I've ever seen.
Thank you so much 😊
i agreee....
Hey Dr. Aidan, I am also visiting three of your courses on Udemy and have to say thank you for all of that! You do not have just the knowledge about all of that, you also are able to explain it all the time in such a clear way, that everone who is interested can easily follow, understand and using it. Thank you very much!
PhD in FSI, just writing up my thesis, and I find the video very HELPFUL!!
Thank you for your content
You just answered my crucial question in CFD!
God bless you Dr. Aidan
I just want to comment on how your videos have help me to understand CFD concept better than the cfd class i've taken. Thank you and i hope your channel can grow in the future.
Thank you so much for your kind words 😊
Man, you are an absolute hero.
Really appreciate your valuable information...No one one you tube offers accurate lecturing on CFD like you.
I'm a final year mechanical engineering student and your channel is very helpful, thank you!
Excellent explanation again. Thank you for your contribution to the CFD basics.
Yes, i realise this video is really a CFD basics video. But it is often overlooked and not really explained well for beginners. Hopefully this will be a useful resource for beginners to have a quick look at and set them on the right path. Thanks again for your support!
This is what exactly makes you different, being simple yet precise. CFD is currently an essential tool not only for graduate students, but also undergraduate engineering students, as well as practicing engineers. From this point of view, your contribution is unique, since it covers both basics and advanced topics.
You are expected to make a lesson on the turbulence models, their performance on some prototype problems.
@@fluidmechanics101 hi sir
if we worked by the K Omega model, Do we need to define the Y + or no?
Thanks for creating such kind of videos. As a cfd engineer, I have to say that they are really beneficial.
Thanks a lot for clear explanation about how get quality meshing in CFD :) Your videos are birlliant
I have been learning the fundamentals of CFD from your channel and it's totally mind-blowing how you had exquisitely brought every flower of CFD into a bokeh.
Aidan : *does a phd in the one of the best university in the world, weekly creates video about complex CFD concepts*
Also Aidan : 'meme generator is my only bookmark lol'
More seriously, very nice video once again (y)
It is good to know/be remembered these stuff, but focus should really be put on few regions as in practice, a ''proper'' y+ check is never really applied, or is it?
For example, a proper y+ check is not possible in turbomachinery. It would need to be done at all flow rates, and if you try different designs, it will take weeks.
Keep up the good work, that's amazing!
Hi Lili An, yes well spotted 😂 you are right. Carrying out proper y+ checks is rarely done in practice and is particularly important for turbomachinery and external aero applications. Hopefully this video pushes everyone in the right direction for how to start their y+ and mesh checks.
Oh and for flow rates, you can always choose the high rpm/high speed case for your y+ checks, as the boundary layer will be thinnest and your y+ values will be largest (for a fixed mesh). As you drop the speed, the boundary layer thickens and y+ will reduce, improving your solution accuracy.
@@fluidmechanics101 hey I love your videos, they really allow me to grasp some concepts in a way no textbook can. Just to hear someone explain plainly and directly to me is so helpful. I wanted to ask how do external aerodynamics y+ is verified and how does it affect lift and drag predictions
The trick is to think of y+ as 'the height of the first cell off the wall'. So yes, y+ has been looked at extensively in the field of aerodynamics and it is generally accepted that y+ ~ 1 gives accurate results. However, you can still get errors from other sources .... mesh refinement isn't everything!
Thanks for the videos. I am a beginner in CFD and I feel lucky to get to know about this channel.
Im glad you found this channel too! My aim is to put out lots of extensive videos for all areas of CFD, as it is quite a difficult subject to get into, particularly for beginners :) just drop a comment if there is anything you are unsure about or need more information/explanation
@@fluidmechanics101 Thanks for your reply. Can you please make a video about boundary layer separation? Why does recirculation happen? why and when we should care about the separation of boundary? Does it matter in internal flows?
Sure. As a quick explanation, separation and recirculations lead to additional pressure drops in internal flows. This increases the pumping requirements to drive the flow through the system and can lead to unsteady loading/vibrations in the supporting structure. So generally, we would like to avoid unnecessary separations! I hope this helps
Excellent work!Thanks for everything you've done on sharing and propagating CFD knowledge. More concepts and details on CFD are expected. You are the best!
Thank you so much! Thats such lovely feedback
You are a beast bro! I´ll see all your videos
Thank you so much for all the clear videos! I'm working on my master thesis and I'm using FLUENT, but your videos really make me confident about my understanding regarding all the background theory and such. You're a true lifesaver at the moment haha. :) Wish you the best!
Thanks Michelle. Best of luck with your masters thesis
@@fluidmechanics101 thanks!!
Very useful, and clear explanations!
Some how youtube knew what I wanted to see and recommend it......tq YT...and these contents are awesome🔥..I just love Fluid mech...❤️
THe best video and detailed explaination i was looking for my Engineering project. Thank you so much Aidan Wimshurst
Good work!! It really help to understand easily
Excellent ,short and clear video thanks
Thank you once again for your top quality content. As a follow-up to this video, will you ever consider to discuss best practices for adaptive mesh refinements (strategies, criteria, and useful thoughts)? They should pave the way to the best of both worlds - computational efficiency of coarse meshes and best accuracy of fine meshes.
Love your work! However I believe I've found a small mistake in slide 6, in the skin friction coefficient formula. The 6.5 should be 0,65, I think. Please keep continuing producing these high quality videos with high quality explanations! Thank you!
Yep, thanks for sporting this. A lot of people have noticed the typo. Guess I need to be a bit more careful with my equations ...
Thanks a lot for such good quality education sir
Thank you Aidan, great Job!
Nice idea to make a web site with all formulas. I hope there are summaries of all the other videos reliased later
Your channel helps me a lot! Thank you so much!
So happy it's been helpful for you 😊
Great and accurate content. Appreciate the time and effort you put into these videos.
Thanks Nasim I really appreciate it 😊
Great Video, great channel! Keep going! 👍👍
Watching all the videos from series... They are too good and level of presentation is awesome...
On this same video note, could you please make a video on Mesh Convergence Criteria as this is one of the guiding criteria for Mesh
Wow, What an explanation !!!
👏👏👏 you are a legend. Thank you 👍👍
amazing work man
It's very good video. I'm subscribed your channel. Thank you so much! With best regards from Russian naval engineer!
I've just got to know about your videos. They're simply perfect and a great hep. Thank you so much.
Great content, well explained! Thanks
Thanks Aiden. excellent video.
I would like a video about the SIMPLE, SIMPLEC and Coupled Differences
Do you have a tentative date for the 3rd book? I would like to buy them all together. do you ship internationally?
greetings from Argentina
Hi Alan, i am just putting together the video on PISO and PIMPLE. It should be done next week. The third course is taking me a bit longer to put together, as it is a lot more challenging! I would expect it in the new year (2020). The courses are come as PDFs with excel and python source code, so you can get them anywhere in the world 😊 ive always wanted CFD to be available to everyone, no matter who they are or where they are from. So ive tried to make everything (the youtube videos and courses) so that everyone can get access to them. Its the only way we are going to do better CFD and build a better world 😊
Hi Prof. Aiden! Really good video, this is nice to view and remember the bases. Btw, there's a typo in your formula of Cf of Schlichting. It's 0.65 not 6.5. Continue the great work!
I know! So annoyed about the typo 😂
Great video, Aidan! The part where you mentioned about the residuals and point convergence really sparked my curiosity in checking solution convergence. I've always considered comparing solutions from historical data to validate convergence/solution. Like I would only check if the Cl and Cd values match for an airfoil and never cared much about the other residuals Can you please add a video about solution convergence to the list of videos you're going to make? Thanks in advance!
Yes that is a really good idea. I can see where you are coming from. Particularly with aerofoil data, you are usually comparing to values in the literature and experiments so we usually use these to check for convergence. For other cases you may not have any literature or experimental data for checking and we need to use everything we have to check convergence (point probes, residuals and flux balances)
@@fluidmechanics101 Thank you and yes not always do we have data to compare our solutions to! Really appreciate you responding to each and every comment on your videos!
Explained very well, thank you!
Great content. I would love to know more about how to chose the correct turbulent model for any given geometry
Best thing to do is compare to experimental measurements. The closest agreement is probably the best model to choose. If you don't have any data, choose a test case that is similar to your simulation which does have experimental data available 👍
The first guess for supersonic flow in an airfoil is fine when assuming the cf formula showed in the video? I think there are better alternatives but you said this first step is a guess anyway, so does it really matter what formula for the shear stress I use?
As this is a first guess, it is probably fine. You are really just looking for the order of magnitude of the cell thickness. Should I use 1e-4, 1e-5 or 1e-6m?
impressive lecture ,also well structured
Amazing content! Congratulations!
Thank you for sharing the information
No problem! Glad you found it useful 😊
An amazing Explanation
Great content! keep it up!
I see that the calculator is not available right now. I see only inflation layer calculator. Can you tell me if im missing something?
The inflation later calculator also calculates yH, so it should do everything you need. There is a PDF guide at the bottom of the page which explains how it works
Hi Dr. Aidan, In case of a 3d wing , can we use the Mean aerodynamic chord for the calculating the Reynolds number?
Yep 👍
Hi, could you help me to figure out if I need y+?
I have a complex UAV model that I will be testing in CFD (ICEM + Fluent) to determine forces, so I am using an unstructured viscous mesh.
It is for a fully/global Laminar Flow of Re = 1000.
I understand y+ is calculated for all sims, irrespective of Laminar or Turbulent.
I would just like to ask what parameters must I know/calculate before generating the mesh.
Thank you!
For laminar flows (which you clearly have if Re = 1000) then y+ isn't that important. It is normally more important to check and see if you have enough cells through the thickness of the boundary layer, and enough resolution in areas of large gradients. The easiest way to check this is with a mesh refinement study 👍
@@fluidmechanics101 Hello Dr Wimshurst, Thank you for the clear information. I shall perform a mesh study using a coarse mesh first!
Meanwhile, I am having trouble understanding other parameters that are required for meshing in ICEM. What other
parameters must I input into ICEM?
Lastly, Should I create a surface mesh (All Tri, Patch Independent), followed by a volume mesh (Quick-Delaunay)?
This info would be very beneficial for my study. Thank you.
Very helpful, thank you and good luck :)
Thanks so much. this video is so interesting
Hey Aiden. In the previous "what is the difference between y+ and y*" video, you mentioned that we should use y* to minimize the computational cost. Then in the real world task, should I do the initial y+ guess as you showed in this video and assume y+ =y*?
Yes!
Thank you. This video was very useful for understanding the inflation layer. I hope you will disscuss other meshing variables(global and local mesh) as well. What should be the element maximum size and minimum size(its in global element seed in icem) ? Is there rule or formula for calculating them for different parts like runner of francis turbine or draft tube?
Just excellent and i am really impressed by the quality of your presentation ! , please i have question how to estimate the Y+ for natural convection case inside square cavity since we don't have velocity to calculate Reynolds number ! thank you so much again
Hi Leila, what i would do is make a really coarse grid first in 2D. Go with maybe 50 by 50 cells. It should run in a few seconds. Then look at the solution and see what the velocity and y+ are. You can use this as a starting point for your full grid. As a rule of thumb 10^-3 usually seems to give y+ of order 100, while 10^-5 seems to give y+ of order 5 for many flows. See how it goes 😊
@@fluidmechanics101 Thank you so much , please is it possible to give me your e-mail , i have some questions about convergence in 3D vented cavity (mixed convection) under turbulent regime with Fluent . thank you so much again !
why can't we use equation 4 to find the wall shear stress in the wall function video? (this would save us from the need to that kinematic viscosity linear approximation, or the need for an iterative scheme?). is it because this is just an initial guess?
Equation 4 is for the flow over a flat plate with zero pressure gradient. This is just an initial guess as most CFD cases will have different flow conditions near the wall and equation 4 is not exactly correct
thank you for useful data
Thank you for this wonderful video, i just have one question, what if we do not have an estimate of the velocity at the beginning of the calculation, how we do calculate the Reynolds number ?
Good question! It depends on your flow scenario. I would have a look in the literature and see if you can guess a reasonable flow rate for your case. Ultimately this is just a first guess and you will have to go back to your mesh and refine it anyway, so what would be a sensible flow rate? Internal flows are probably going to be less than 1-2 m/s, external flows are probably not going to be more than 10-15 m/s unless you have a very gusty wind and aerofoils /wings are usually going to be subsonic. Does that give you a good idea?
@@fluidmechanics101 thank you very much 😊
Thanks a lot! Nice work!
W8, does your online calc spit out the yp value (wall-centroid distance) or the cell height (2*yp)? Btw I ve been watching whole lotta videos of yours lately, keep up the good(great) work there. Really appreciate it man
edit: I ve been wondering, why not fully resolve the b.layer by adding many grid layers around our body instead of modelling with wall functions? Is it just a matter of computational time?
Yep the calculator should give you both. Yes, in an ideal world we would always fully resolve the boundary layer but sometimes it is too expensive so we are forced to use wall functions
Hi! Thanks a lot for your teachings. I would like to know the theory behind overset grid. Can you kindly make a detailed lecture on it? Thanks a lot.
Thank you! It really helped me!!!
Hello. Thanks for this great video. I have a doubt: I have a cylinder (660mm diameter and 300mm height) on an external flow (55 m/s), and I need to calculate the drag force. I draw this on 3D and if I want a y+
Your Reynolds number is high, so you will always struggle to get the right answer with RANS. A cylinder at high Reynolds number is actually one of the most challenging cases for CFD codes, even though the problem looks so simple. You also have a 3D cylinder, so there will be interactions with the shedding along the length of the cylinder. Very difficult to get right. I think you should start with some very careful validation in 2D and look at different meshes, wall treatments and turbulence models first before doing 3D (by comparing to experiment). You will need to be very careful as it is easy to get a very wrong answer for this type of simulation .... Good luck!
What will be the length scale for a rectangular tank with sloshing phenomenon?
Maybe the tank length or diameter? It doesn't really matter what length you choose as long as it is the same order of magnitude as the problem
Can we use this for a nozzle(rect) as the Reynolds number limits are different. What will be the characteristic length for rect nozzle, is it length or equivalent Dia.
Yes, you might need to use a different correlation. You should use the same length scale as that which is used in the correlation 👍
@@fluidmechanics101 thanks for answering, could you make a video on meshing for les, kolmogorov scales and how it translates to actual mesh.
very useful video thank you very much
Really great video, I also seen your previous videos on wall treatments, but I still have a confusion on the good targeted value of y+ itself, (or y* since you said in a previous video that Ansys Fluent uses y* instead of y+), so do I get from all the previous videos that the y+ (y* ?) value should always be under 1 ?
If you can get y+ and y* under 1 that is best. However, if your mesh quality is too low or your cell count is too high then you can relax this and choose to either have y+ < 5 or y+ > 30 👍
@@fluidmechanics101 okay thanks a lot
Thank you for your really nice content. I have confused on slide 12. Dose an initial cell height mean the yH or yp? Because you mentioned that yH is the height of the first layer in your content ([CFD] Inflation Layers / Prism Layers in CFD). When we make the inflation layers, height of first layer(yH) should set up double 1st Cell Height(yp), shouldn't it? Thanks.
Yes exactly! The first cell height is yH, but the centroid height is yP. Be careful with your mesh generator. Mesh generators normally specify yH, whereas the y+ calculations are based on yP.
Hi Aidan. Thanks for the great videos. I have almost gone though all of your videos. As a CFD specialist that also has worked in this field I still have problem in meshing and validation. After I receive a project I always ask: What is the efficient step by step procedure to mesh the domain? How to choose best initial resolution not to repeat meshing procedure several times ? How much to refine the mesh in critical regions? Should I care about y+ values in every surfaces? Where to care about high y+ values and where not (e.g. In very big geometries to care about this value increases the number of mesh dramatically). How to do mesh independence analysis in unstructured complex mesh? How to reduce the time I spend for mesh independence study? How to validate our simulation results when we do not have an experimental results? We can learn schemes and numerical methods from different sources. But meshing and validation in shorter time are still in question. Do you have an idea? or a source?
That's a lot of questions there .... All I can say is that a lot of it comes from experience with particular problems. Once you have meshed and solved a given application several times you get used to what the solution and mesh resolution should look like. So, maybe have a look at academic papers and see what they are using? If you have an idea of what the solution is like then you can often work backwards 👍 that's the best I can do in a paragraph 😄
@@fluidmechanics101 Thanks Adan for your response. I know there may not be a solid answer for all those questions. Just wanted to have your view and your experience. Or maybe you have seen a great reference that I am not aware of.
Hi Aidan. Just a question. Your calculator gives me the height of the first cell that i need to have a y+ near 1 (or what i decide to set).
Once i decided the number of cell how can i define the grading of the cells that i need to obtain the 1st cell height calculated before with your calculator?
Hi Alberto, normally you calculate the first cell height to get the y+ you desire first. This is fixed and you should keep this value. Next construct your mesh around this to get the best cell quality you can. Normally a growth ratio of 1.1 normal to the wall is perfect and will give you good results. If your cell count is too high (say over 20 million) then consider increasing the growth ratio to 1.2. Larger growth ratios (1.3 and above) may lead to inaccuracies in your solution so proceed carefully!
How to set y+ value for airfoil for k-omega case and k-Epsilon case
You have to choose a first cell height when you mesh the aerofoil. Then run the case and plot y+. Have a look at the y+ you have and then go back to your mesh and adjust the first layer height. Repeat the process until you have the y+ you are looking for. In the same way that CFD codes use iterative solvers, the process of obtaining the right y+ and right mesh is also iterative!
Amazing as always. If I have a number of elements limitation of 512k, and I am required to run a CFD simulation of a multi-element wing. How would you suggest targeting and achieving the y+ value? Where do I make compromises, on the virtual wind tunnel dimension? On the growth rate? Thank you for the super informative presentation.
You are going to have a tough time with a limit of only 512k! I would recommend trying a 2D simulation first, with a very fine mesh (all 512k) and then reduce the cells in your 2D simulation to see how innaccurate it gets. Once you have a level that you are ok with, then use those same settings on your 3D wing. You will probably need to reduce the upstream and downstream lengths, increase your y+ all the way up to ~200, increase the growth ratio to 1.2 and reduce the number of cells along the span. It will definitely be innaccurate but doing 2D first should get you a good idea of how innaccurate and you can quantify this limitation in your report 👍
@fluid Mexhanics 101
what about natural convection ? do I substitute Reynold's no with Grashof's no in your formulas and proceeds ? or I need a whole entire equations?
Yes! Natural convection is more difficult as we dont know the freestream velocity. Remember that this is only an initial guess, so you could always use an empirical correlation for a flat plate natural convection boundary layer to guess the velocity. Or just jump straight in to the CFD and try a cell height of 1mm. Run a few iterations and have a look at the results and then refine the mesh 👍
@@fluidmechanics101
First of all , Thanks for replying and for your good explanations and your effort , keep it up man
In you thermal wall function video , you didn't give details about how to calculate u _t
If you have an empirical correlation for turbulent natural convection , can you share it with me as I am searching for hours and couldn't get one
also I am a beginner to ansys , so I didn't know that I can get the Y+ function from the pre processor
Hello Aidan, this is a great content. I have a wuestion. Once we set up a first layer height, how many inflation layer we should use, what should be the total height for sum of inflation layer until we proces witth lets Say with normalna hex mesh.
Great question. I have a video titled 'Inflation Layers' which should give you the answer to all your questions ☺️
I know the skin friction coefficient equation is for flat plates, but how would I approach it if I am simulating a 3D wing?
Take the chord length at 50% span as the length of the plate. The flat plate should do a pretty good job for getting you the right order of magnitude, as it is an external flow with a developing boundary layer 👍
@@fluidmechanics101 Thank you so much!
Thank you for your effort
excellent. thank you
is this applicable for hypersonic flow CFD simulation? the friction coefficient estimation
I don't think so!
Do the second and subsequent cell heights matter in getting the proper results? In other words can we keep a relatively large inflation ratio so that we satisfy the y+ condition also and keep the total cell count minimum?
The second and third cell heights do matter, as you need to make sure you have enough cells through the thickness of the boundary layer (I am making a video on this at the moment). The best thing to do is set your first cell height to get y+ and then try and keep your growth ratio less than 1.2 (1.1 is usually best), then you should be fine
Hi not quite sure which is right but in your skin coefficient you have -6.5 and in the calculator you have -0.65 which is correct?
Well spotted! This is such an unfortunate typo 😂 the value is -0.65, so the calculator is correct.
How do we fix the initial mesh size for any give problem? Is it dependent on some geometrical parameter or so? Do I start with some 1mm or 0.5mm ? Can you throw some light on this?
Thanks in advance. 🙌🙌
Have a look at the geometry and look at your large and small features. If your large features are ~1m in size and your small features are 0.05m in size, then maybe go for a cell size of 0.02m.
Usually it is better to start big and then go smaller. If you start small, you might generate way too many cells and freeze your computer!
@@fluidmechanics101 thank you for the explanation.
hi sir
if we worked by the K Omega model, Do we need to define the Y + or no?
Yep, you should probably check your values of y+ so you know what region of the boundary layer you are modelling / resolving 👍
Great video, thanks Aidan! I still don't understand how to decide, if I should put my y+ in the viscous sub-layer or the log-law region? Wouldn't I always put it in the log-law region because it reduces the number of cells I need?
Hi there! If you can you should always try and put your cells in the viscous sub-layer (y+ < 5) as you will get a more accurate solution. The log law model gets less accurate under adverse pressure gradients, strong curvature and separation. However, we sometimes have no choice and cant put our cells in the viscous sub-layer as the mesh would either have too many cells or the aspect ratio/skewness is so high that we cant get a stable solution. Oy under these conditions should be we use a log law model. I hope this helps :)
yes! thank you very much!
Hey! first of all thank you for all your work, it's helping me a lot ! And I have a question, I can't find your calculator for Y+ in your website, have you delete it since ?
It should be there. If you go to 'Tools' and look for 'inflation layer calculator' it should be there 👍
Thank you so much, that is great and wonderful
the y* that comes from the post processing, its in a form of graf or a range of value (0-x). how can we extract a number out of the range or out of the graph, so we can then relate it to the initial guess ans then refine the mesh in order to match it ?
7:10 There is a typo in equation for Cf. The formula should be (2*log10(Re)-0.65)^(-2.3)..
Yep!
Great video! How you choose target y+?
If you have a 'difficult' flow, like separation over the back of an aerofoil, natural convection driven flow from a hot surface or an impinging jet, then go for y+ ~ 1. If your flow is close to flow over a flat plate or an isothermal pipe flow then you can be more relaxed and go for y+ ~ 30. In general, if you are unsure, try for y+~ 1.
Hello. Where did you get the 3 and 4 formulae? I can't find it anywhere, you derived it by yourself?
Nvm, found it. Thank you for the video, but could you please leave the sources next time (I sound a bit fastidious, sorry)
Sure, no problem. Sorry this video is quite old now, and I leave references on all my modern videos. Sorry if it caused you some trouble!
@@fluidmechanics101 What are you talking about? It caused me some conveniences, you did me and other folks a big favor with your works, thank you
i did the calculations on matlab, and the yh value i find is different to the one on the calclulator (1.5^10-4 vs 3.2^10-4 on the calculator of yours). Can you help me understand which way to go? By the initial guest of the calculator, or by the value i found from by the equations you explain on the video? Also you say initial height but the symbol is yp so whats really the number we get from your calculator?
btw you are very helpful, glad i found your channel
Thanks for your tutorial!
According to your vedio, I understands that the desire y plus should change until the result in post processing that are agree with experimental results.
if I dont have experimental results, how should i choise for the best desire y plus?
If you dont have any experiments, try and get y+< 1. This is the most reliable. Y+ < 5 is usually fine as long as you dont have separation/impingement 👍
A calculator for the total layer thickness would be great... *g*
Yea, I am thinking about adding this!
Great video. Just wanted to ask if the last term in the Schlichting equation should be 0.65 and not 6.5
Yep it is a typo
Does y+ depend on the choice of finite volume or finite element?
Good question. I haven't looked into the FEM for CFD, so I can't really say
Hi everyone. Can someone guide me how to calculate Re in case of a CD Nozzle flow where I have the inlet stagnation pressure only and velocity is changing continuously during the flow as well. Will be highly obliged.
Good question. Re is always based on a length scale. For complex problems there may be more than one length scale that you could choose. This is why it is standard practice to always state the length scale that the Reynolds number is based on. For your case, you could state the Reynolds number based on the throat area and / or the Reyolds number based on the upstream area. Most engineers will just look at previous work (research papers / experimental work) and use the same definition of Re that everyone else uses. This is nice to make sure you are comparing like-for-like. A better approach would be to state both in your work (and you don't loose anything by just stating both). For example, Re based on the upstream area is 100,000 and Re based on the throat area is 250,000
@@fluidmechanics101 Thanks a lot Sir. One last thing is that how can I get the velocity for computing Re in my case?
Make a plane and then take the mass flow average velocity over that plane. That should do the trick
@@fluidmechanics101 Thanks a ton
Hello , could you please explain to me how can I estimate the first cell height in a multiphase simulation, for example two fluids with differents viscosities? Lets say a boat in the water with a certain draft (interface bewtween air and water would be presented, the free surface).
Thank you for the videos once again and if you could reply the question it would be awesome!
I would estimate the volume fraction in the cells adjacent to the wall. Use the volume fraction to calculate the dynamic viscosity and density in the cells (volume fraction average). Then estimate y+ using these values.
Or just make a quick mesh, run it and see what y+ is after a few 100 iterations. Then refine your mesh 😊
@@fluidmechanics101 Thank you for the repply, I will try to do this. Just one thing, last week I send a e-mail to you, could you please say to me if you received it? If you can't suppoort me with what I asked that is no problem.
If my yPlus is less than 500 everywhere on my model surface but less than 5 in some places and I am using k-omega SST and wall functions is this acceptable? Using OpenFOAM for external aerodynamics
Try refining and coarsening the mesh, and see what happens to your answer 👍 if the change is small, then you can be happy that your original mesh is acceptable