Oh if I could only figure out what layer or mesh parameter to change to stop these dips from happening on my layers (that is a âribâ location with Feature Refinement to Level 9 to reduce the jaggies):
I would be in heaven
Oh if I could only figure out what layer or mesh parameter to change to stop these dips from happening on my layers (that is a âribâ location with Feature Refinement to Level 9 to reduce the jaggies):
I would be in heaven
@DaleKramer, so we got a mesh, that I would say is acceptable, we could go with this mesh, there are lots of settings in the mesher that will alter this but Iâm not sure it would significantly affect results. I would try reducing this to maybe 1 or 2 inflated cell layers and then run with full res and wall modelling to determine the result change. if none, then we probably have good results. Could we then compare to experimental data? is there any?
Best,
Darren
Edit:
We could simplify this to a wing section, validate the results and once valid we can assume the full wing will also be valid?
Darren @1318980
Making progressâŚ
I was able to get a pretty decent layering (and I am sure I can do better, will explain what I did after I refine it a little more) but I ran into some issues trying to see the relevant yPlus Range and even issues on what the real range is after I did a Save State.
Remember when I asked if the range was ânormalizedâ somehow, well I think it is because we are looking at the data on the first simulation iteration. I finally had an AHA moment and decided to run it to convergence. That converged range is finally what I was expecting and if I can trust the results from opening the PostProcessor from the Solution Fields, here is the mapping and adjusted range so that I get the most Green area on the wing (I REALLY want those max, min, average, std deviation numbers ) :
I think I am pretty good with everything now but I need to wait on my new topic results before I am comfortable with presenting more data hereâŚ
I may carry on under the premise that something is not right with the presentation of the data AFTER the saved state gets the dataâŚ
What do you think?
Thanks for all the help.
Dale
P.S. Check out my post 21 here, I think I have found out that Save State issues may be the culprit on that one, not my groggy 4:00 am brainâŚ
I donât really have experimental data, just XFLR5âs predictions which I know are not quite realistic even though it is based on sound methods.
I really donât want to simplify the example too much, I am sure there are many comparisons of section data with CFD already. I do not necessarily want to have to rely on an assumption that a full wing would be valid.
Dale
Well, here is about the best I could do.
For the Inflation parameters, Iâve got 3 layers, 1.1 expansion ratio and a 0.03821 in. final layer.
There is still a small deflation on the top of the wing and 3 larger ones on the bottom.
But I think by looking at these images and except for the deflations, we can say I have yPlus generally between 30 and 100.
Now I will make a new Comparison Chart between XFLR5 vs CFD and add it here in the morning along with a synopsis of how I meshed the wing within the limitations of the current refinement algorithms (Mesh 4 in the project is the best and it currently has 2,300,000 faces including the layering).
Dale
And my current meshing strategy is (I update this as I learn more ) :
Someday when I have to do this again, I will be coming back here to remember what I did
Dale
And here is the new comparison chart, I am still surprised that the CFD drag is reported as nearly 4 times the XFLR5 drag.
And here is the XFLR5vsCFD SimScale project the chart data came from.
Here is a link to Post 1 where you can see where this chart started life and there is a link there to get you back here quicklyâŚ
Wow, now that we have a more valid layered mesh and its output data added to the chart⌠Phew âŚ
I put a note at the beginning of Post 1 to try to reorganize this Topic.
Here are the questions from my first post that are still basically unanswered:
Anyone care to take a shot at them now?
Thanks,
Dale
This is where CFD is most useful, we can slice the fields for pressure and velocity through the wing and see why. Create a velocity and pressure slice for with and without boundary layers, furthermore, if you want to invest time into learning to use paraview you could create a delta plot to visualise the difference between the layered and no-layer model (this is not easy though).
Not really sure, can you explicitly send me a link to that project?
Just one thing, be careful about terminology, if the walls are no slip there will always be a boundary layer, and if we are modelling with wall function a certain part of that boundary layer will be modelled. The statement should be with or without cell layer inflation, where with inflation, modelling will likely be correct, without it would likely be incorrect. So with wall inflation is likely to be better. With no validation, however, we can simply say that considering all best practices appear to have been followed, results are likely to be accurate.
I donât know I am afraid, sorry.
Best,
Darren
Darren @1318980
Excellent answers!
I may just do that when I have some time (interpreted as not in the foreseeable future , but oh-oh I see another forum topic
Sorry, simulation was renamed after I started playing with expansion ratios. It is still in the [original project][Deleted by author], Simulation named âExpRatio1.3 Layered and Refined mesh 2â, Run named âExpRatio1.3 135mphâ. The Force and Coefficient Plots stop at ~250s and are very stable before 250s. The Convergence Plot stops at ~90s but âlooks likeâ it would converge at or before 250s.
I will be more careful. I suspected there was some BL formula being used with no cell layer inflation as in that case surface mapping of U, shows 0 everywhere. I just was never able to get an image that showed how it got from 0 to freestream magnitude near the surface.
I guess it really was just a rhetorical concluding question. As you can probably tell by how much burning of the midnight oil has gone on around here, I am sold on SimScales interface with OpenFoam and CFD in general. I guess I have to go back to XFLR5 and do some digging, I will report if I find an error in my case thereâŚ
If you are ever in central Florida I have this waiting for youâŚ
Thanks a bunch,
Dale
Is there a way to set up a simulation to assume irrotational flow?
I found this SimScale Doc that suggests a Potential Flow Analysis is what I want, but I have not been able to figure out from that link what parameter values are actually needed to set up a Potential Flow Analysis. It is a great link that provides a lot of parameter explanations but not to tell me what to do to set one up and it looks like it MAY be 2D.
And then I thought, aha, I bet if I just did a laminar simulation, it would be irrotational and then I find out not all laminar flows are irrotational
Just trying to be able to compare apples to apples as it looks like XFLR5 assumes irrotational flows.
Thanks,
Dale
cheers buddy sounds amazing!
Great Iâll check this out and get back to you.
Yes, that is what you are looking for, and unfortunately, it was removed as analysis type because nobody used it and it wasnât accurate in most cases anyway. All is not lost, however, if you go into simulation control and select initialise with a potential flow (it might already be set as true?) then the time step 0 will have the results of the potential flow simulation (we use it to get a better set of initial conditions). The catch is, that I am not sure if lift and drag values are reported for 0-time step, if so great, else, you might have to do some imaginative post-processing in paraview.
Also, I read a paper showing that in 2D cases lift and drag values for both Blade Element Momentum Theory and CFD both showed to have a similar lift and drag values and were similar to experimental also, now, it could be that the CFD model could be run through a mesh independence study to get more accurate results, but I would not have said that the level of indifference could be corrected. My theory is that a 3D BEM doesnât solve things like lift-induced drag caused by tip vortexes and the like, however, at this moment cannot find a paper to back it.
If I had to do what you are doing, I would be tempted to go 2D, not because it is what I want to simulate, but because it would prove to myself that the setup is valid and that CFD does agree with xfoil, and if so, move on with the assumption that the 3D results would also be correct. This is because, despite apparent simplicity, wings are not easy things to simulate, and if sufficient mesh is not present where needed, then this could skew results. And knowing what the results should be, compared to CFD, we can easily determine what is working and what isnât, at this moment in time, both BEM and CFD could equally be valid, we just donât know
Good luck,
Darren
Ok, there is no reason why this error happened, it looks to me like it just crashed, I will report this issue immediately, but for now please just restart the simulation, and most definitely let me know if it occurs again (I think it would be unlikely). Also, if I was selecting an instance to run on, I would probably pick a 16 or 32 core machine for a 3 million cell mesh, to be efficient but your choice might be worth checking you are actually saving time though.
Best,
Darren
Thanks, that simulation was eons ago in my 15 day learning curve , I have since learned a lot from different sources on # of core usage. In my memory now is #volumes/50,000 if #volumes < 500,000 else /100,000, whats your in brain memory formula? Also, what is in your memory for what to remember most about a mesh, nodes, faces or volumes?
Ahah, I donât actually have a formula, I just tend to band into 3 categories, sub 1 million sub 16 cores, 1-5 million 16-32 cores, more than 5 million 16 core + depending on ram needed and how fast I want the results But thatâs me just being lazy.
I remember volumes, I normally say mesh size, by that I mean size in terms of cell count. So 500k and 32 million, would be mesh sizes to me in terms of cells/volumes.
Best,
Darren
Like that post for sure, now that is GOOD info!!! Iâm coming from 3D printing closed surface meshes and I think âfacesâ about themâŚ
Ok, you are starting to convince me
In the meantime I tried a laminar flow assumption on the NON layered mesh with air viscosity 0 (I was trying to stop rotation) but that only got the Cd by CFD to be only 320% bigger than XFLR5.
I will try the 0-time look at NON layered mesh with potential flow initializing and report back.
2D is next
BUT for sure my eyes are opened and are seeing for sure why XFLR5 type programs should not be relied on for real life 3D situations about dragâŚ
Sorry Daren but I do not see anywhere to set up a potential flow initialization. Where to find?
I looked in âInitial Conditionsâ, âVelocity Inletâ of âBoundary Conditionsâ and just about every less obvious place .
Also, would you suggest Laminar as turbulence model?
What do you think of making the walls on the geometry as slip walls?
I have not found a quick way to check cores hours for a mesh and simulation, are they just listed at the end of the Meshing Log (ie Finished meshing in = 29.93 s) and Solver Log (ie ExecutionTime = 578.18 s)?