https://linen.dev logo
Join Discord
Powered by
# meshing
  • l

    lennygo

    12/02/2025, 10:51 AM
    I think Im gonna restart the server and see if that helps, honsetly idk what is going on
  • l

    lennygo

    12/02/2025, 10:51 AM
    I dont have cliffs on my surface
  • l

    lennygo

    12/02/2025, 11:00 AM
    The restart didnt do anything. I have no idea what is goig on
  • z

    Zino

    12/02/2025, 11:08 AM
    Your snappy hex mesh is drunk or something bro
  • z

    Zino

    12/02/2025, 11:08 AM
    I've never seen anything like that 😅
  • k

    kandelabr

    12/02/2025, 11:09 AM
    your airfoil is like 1e-38m thick and you're having precision issues
  • l

    lennygo

    12/02/2025, 11:13 AM
    setting nSmoothPatch back to 3 fixes it, the airfoil luckily is in a reasonable thickness area of around 50mm
  • l

    lennygo

    12/02/2025, 11:13 AM
    There still some oddness going on but that helped with whatever is going on in the snapping
  • y

    Yann

    12/02/2025, 11:16 AM
    did you get back to larger tolerance? (smaller values should worsen snapping)
  • l

    lennygo

    12/02/2025, 11:18 AM
    I am trying higher tolerance now aswell with feature snapping again, also going from nSolveIter 50 to 30
  • l

    lennygo

    12/02/2025, 11:21 AM
    That got it back to a reasnoable shape, I guess I will just have to deal with it
  • l

    lennygo

    12/02/2025, 11:22 AM
    the collapsing cells on the feature edge are right where those collapsing cells on the surface area anyway, or where that line intersects the wingtip
  • l

    lennygo

    12/02/2025, 1:23 PM
    Okay I have managed to get a boundary layer over most of the surface by doing the add layer step 1 by 1 in reverse
  • l

    lennygo

    12/02/2025, 1:23 PM
    starting with the biggest layer and slowly reconstructing and remishing going down to the first layer
  • l

    lennygo

    12/02/2025, 1:23 PM
    its calculating, unless I have missed something that might just make this a bad simulation
  • l

    lennygo

    12/02/2025, 1:37 PM
    y+ average of 6.5, not quite hit the mark on first layer height but... its not looking bad
  • l

    lennygo

    12/02/2025, 1:38 PM
    6.5 is good enough for me and should still be in the range of correct values for the wall function
  • l

    lennygo

    12/02/2025, 1:59 PM
    this... worked really well
  • l

    lennygo

    12/02/2025, 1:59 PM
    I still have patches where the boundary layer didnt build and you can clearly see it effect the downstream stuff but it looks good
  • f

    finn

    12/02/2025, 2:08 PM
    What did you do, nLayers 1 and keep adjusting the height?
  • l

    lennygo

    12/02/2025, 2:13 PM
    exactly
  • l

    lennygo

    12/02/2025, 2:13 PM
    it keeps the boundary layer from before and extrudes below it
  • l

    lennygo

    12/02/2025, 2:13 PM
    meaning you have to start with the largest layer and work your way down
  • f

    finn

    12/02/2025, 2:14 PM
    yes so that is the reverse of what snappy does, great. Now make an update for new version of openfoam where you can switch order setting, just kidding 🙂
  • l

    lennygo

    12/02/2025, 2:25 PM
    I guess lol
  • l

    lennygo

    12/02/2025, 3:00 PM
    Is there an easier way of handling the mesh btw? Specifically if I write the flags for knowing where the BL was actually created it creates time directories, can I reconstruct these to save them in the seriell setup temporary to then apply another BL step on it?
  • l

    lennygo

    12/02/2025, 3:00 PM
    Or is there a smarter way
  • z

    Zino

    12/02/2025, 9:19 PM
    I'd probably save the layer fields individually, and then use a function object to sum them
  • z

    Zino

    12/02/2025, 9:19 PM
    Not the nicest way, but I think it'd work
  • z

    Zino

    12/02/2025, 9:19 PM
    If you need those fields for examining your mesh