https://linen.dev logo
Join Discord
Powered by
# meshing
  • 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
  • f

    finn

    12/03/2025, 2:00 PM
    The castellated buffer mesh made it not that is is nicely round by any regards, so I guess it must be a snapping issue. This mesh is relatively coarse, the base case will be 4 times finer. https://cdn.discordapp.com/attachments/796072568385568808/1445776605220962345/image.png?ex=693193e3&is=69304263&hm=2e0ebbf0c6a6610430a0ec1c55e6976fffbc96493d27ddaccd6098a5638f82c5&
  • k

    kandelabr

    12/03/2025, 2:09 PM
    looks like internal smoothing?
  • f

    finn

    12/03/2025, 3:20 PM
    casusing the issue?
  • f

    finn

    12/03/2025, 3:21 PM
    i can set it to -1
  • k

    kandelabr

    12/03/2025, 3:25 PM
    I guess, yeah... obviously can't deal with internal baffles