https://linen.dev logo
Join Discord
Powered by
# les-ras
  • z

    Zino

    09/21/2025, 9:08 PM
    Yep, you look at the ratio
  • z

    Zino

    09/21/2025, 9:09 PM
    Depending on which rule of thumb you use, you should have 80% or more or the energy resolved, the rest modelled
  • s

    silentspirit

    09/22/2025, 7:09 AM
    So my refinement region should be size of boundary layer, especially near body refinement?
  • s

    silentspirit

    09/22/2025, 7:10 AM
    And how to ensure that ratio during meshing?
  • z

    Zino

    09/22/2025, 7:10 AM
    You should have Y+ around 1, but your cells near the wall should be cubes, not thin inflation layers
  • z

    Zino

    09/22/2025, 7:10 AM
    Increase refinement, don't use inflation layers
  • s

    silentspirit

    09/22/2025, 7:13 AM
    And if i do unstructured meshing then there will be quads etc instead of cubes, will that work? Or do i need to do structured meshing
  • s

    silentspirit

    09/22/2025, 7:14 AM
    And after the mesh is made is there any way to check if the mesh is capable of running les or something like that?
  • z

    Zino

    09/22/2025, 7:14 AM
    https://www.ansys.com/content/dam/product/fluids/cfd/best-practice-scale-resolving-simulations-in-ansys-cfd.pdf
  • s

    silentspirit

    09/22/2025, 7:21 AM
    Thanks!!
  • l

    littleB123

    10/02/2025, 6:51 AM
    Quick question - wolf dynamics recommend using grad(omega) for div(phi,k) Gauss linearUpwind grad(omega); - why is that ? Why not grad(k)? https://cdn.discordapp.com/attachments/598785402391887872/1423200626359140412/image.png?ex=68df725f&is=68de20df&hm=1672dc7046101739642317858665322f0bbc873d50202162d3750f4fe5fe2144&
  • p

    Pflegeverantwortungsöl

    10/02/2025, 11:25 AM
    It is not wrong to use grad(k) but it is more likely to activate the limiter, increase diffusion and if your mesh is bad you're likely to crash
  • p

    Pflegeverantwortungsöl

    10/02/2025, 11:25 AM
    You can try grad(k) for good meshes but if you want to be sure with almost the same accuracy then just go for grad(w)
  • l

    littleB123

    10/02/2025, 11:25 AM
    Thanks!
  • p

    Pflegeverantwortungsöl

    10/02/2025, 11:27 AM
    I've seen NASA work on that I can try to find it gimme a sec
  • q

    qr

    10/02/2025, 11:27 AM
    Where can we learn more about these choices?
  • k

    kandelabr

    10/02/2025, 11:38 AM
    interesting... I simply assumed that was a typo, "corrected" it and moved on
  • s

    slopezcastano

    10/03/2025, 11:15 AM
    It should be grad(k) and not grad(omega).
  • s

    slopezcastano

    10/03/2025, 11:17 AM
    https://doc.cfd.direct/notes/cfd-general-principles/linear-upwind-scheme
  • q

    qr

    10/03/2025, 11:18 AM
    Aa yes thanks but I meant to ask about what OP mentioned about grad(k) being poor compared to grad(omega), that kind of details
  • s

    slopezcastano

    10/03/2025, 11:20 AM
    well, grad(k) doesnt activate any limiter, it applies a skewness correction on non-orthogonal cells
  • s

    slopezcastano

    10/03/2025, 11:23 AM
    it is a mistake to use grad(omega) as a corrector for kEqn because these two variables tend to be inversely "proportional" related. Regions of large omega correspond to low k, and regions of high k gradients transport omega away
  • s

    slopezcastano

    10/03/2025, 11:23 AM
    said more scientifically, omega "destroys" k
  • s

    slopezcastano

    10/03/2025, 11:24 AM
    and grad(k) only "transports" omega
  • s

    slopezcastano

    10/03/2025, 11:24 AM
    see the equations
  • s

    slopezcastano

    10/03/2025, 11:25 AM
    if anything grad(k) should be the "limiter" in this case
  • s

    slopezcastano

    10/03/2025, 11:29 AM
    I want to see the link where they justify this choice
  • s

    slopezcastano

    10/03/2025, 11:35 AM
    Most likely is a typo. I dont find a reason why it should be that way, except when you have an explicit treatment of the divergence of one variable as a term in the equation of another variable
  • z

    Zino

    10/03/2025, 11:38 AM
    Yeah that's my impression too - I wonder why it forces you to specify the gradient field though, if in the overwhelming majority of cases you're just going to be feeding it the gradient of that field...
  • s

    slopezcastano

    10/03/2025, 11:39 AM
    There are valid reasons to use different gradients
1...4849505152Latest