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

    dendri

    06/22/2021, 8:10 PM
    Or that's what I'm expecting (from matching conditions)
  • c

    Cult obliterator 4000

    06/27/2021, 10:47 PM
    Now that I know about turbulent boundary conditions
  • c

    Cult obliterator 4000

    06/27/2021, 10:47 PM
    How do I know what I should set them as? For walls, outlets, inlets and empty.
  • s

    slopezcastano

    06/28/2021, 8:24 AM
    Which Solver are you using? Are you running a "non-dimensional" case (that is, nu as Reynolds)? Steady-State (Co > > 1 or SIMPLE)?
  • f

    filthyasfk

    06/28/2021, 9:35 AM
    Hello!, thank you for ur reply, I'm actually using the SimpleFoam solver, Steady State simulation, sorry for my lack of knowledge but what do u mean by a non-dimensional case ? and ยฟwhat purpose has to run a non-dimensional simulation?, Thank you very much in advance! ๐Ÿ™‚
  • z

    Zino

    06/28/2021, 9:36 AM
    It mostly depends on whether you're resolving the boundary layer or using wall functions. I.e is your Yplus less than ~5, or >30
  • z

    Zino

    06/28/2021, 9:36 AM
    If using wall functions, just copy the setup in the motorbike tutorial case
  • z

    Zino

    06/28/2021, 9:41 AM
    If resolving the boundary layer, off the top of my head you set k to fixed value 0 (or like 1e-12 to prevent any divide by 0 issues) and epsilon/omega to zeroGradient, and set nut to calculated
  • z

    Zino

    06/28/2021, 9:42 AM
    but don't quote me on that
  • z

    Zino

    06/28/2021, 9:42 AM
    I almost always use wall functions
  • z

    Zino

    06/28/2021, 9:43 AM
    actually for omega just use omegaWallFunction anyway, it's coded to recognise if y+ is low and do the right thing anyway
  • l

    Lookid

    06/28/2021, 9:53 AM
    k: kLowReWallFunction will compute k based on y+ (works also for High Re) and fit to one of the other curvem breaking point at 11.25
  • z

    Zino

    06/28/2021, 9:54 AM
    Ah there you go then
  • z

    Zino

    06/28/2021, 9:54 AM
    Great info
  • l

    Lookid

    06/28/2021, 9:55 AM
    and for espilon, there is now another thing to add on the boundary if you want to use the lowRe form
  • z

    Zino

    06/28/2021, 9:55 AM
    How come it seems to be standard to use kqRWallFunction instead of the lowRe one then?
  • z

    Zino

    06/28/2021, 9:55 AM
    I haven't really looked into k wall functions much tbh
  • p

    petros8039

    06/28/2021, 9:56 AM
    Ah nice one. For which version is this available?
  • l

    Lookid

    06/28/2021, 9:57 AM
    someone did the work for us ๐Ÿ˜„ http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2016/FangqingLiu/openfoamFinal.pdf Page 27 is a resume. But names may have changed, for example epsilonLowReWallFunction doesnt exist anymore (in ESI version atleast)
  • l

    Lookid

    06/28/2021, 9:57 AM
    atleast 2012, you should check the doc of the version you use though
  • z

    Zino

    06/28/2021, 10:01 AM
    Hmm I actually remember coming across that document not long ago and having the same thought then haha. I'd be interested to know if anyone here has a good explanation of the merits of zeroGradient (kqRWallFunction) vs kLowRe
  • z

    Zino

    06/28/2021, 10:02 AM
    I've spent much more time looking into the nut functions
  • c

    Cult obliterator 4000

    06/28/2021, 11:58 AM
    please answer
  • m

    Malte

    06/28/2021, 12:01 PM
    i believe the above conversation of @User and @User were about your question. At least for the wall boundary conditions.
  • f

    filthyasfk

    06/28/2021, 12:30 PM
    @User and @User thank you very much for your comments I got a lot to work on and u both helped a lot to clarify the way ๐Ÿ˜
  • l

    Lookid

    06/28/2021, 1:52 PM
    please go over the wiki openfoam tutorials which was suggested 1546151 times to you and has ALL the answers to all questions you ever asked here. You get few/no answers because you ask repeatedly basic things answered there, it feels like you ask before trying yourself to find out, and lazy questions call for lazy answers. In that case, no answer at all.
  • c

    Cult obliterator 4000

    06/28/2021, 1:53 PM
    ok thanks
  • c

    Cult obliterator 4000

    06/28/2021, 8:28 PM
    ok i learned greatly regarding turbulent boundary conditions
  • s

    slopezcastano

    06/29/2021, 8:13 AM
    k can be zero, it's never dividing, unlike omega.
  • s

    slopezcastano

    06/29/2021, 8:28 AM
    I'd argue exactly the opposite. Why running three cases with three different grids, and different values for the BCs, and where it's more difficult to interpret results when you can non-dimensionalize ("homogenize") your problem into one single case run three times just with different Reynolds Numbers.... Anyway, going back to your question, the length of your recirculation region is determined not only by the height of the obstacle, but also by its width (Martinuzzi & Tropea, 1993), Is this a 2D simulation (as opposed to an infinitely wide obstacle)? The second thing you need to have in mind is that shedding vortices from the 'roof' of your obstacle are not going to be resolved in SIMPLE, because they are "shed" (function of time). The shedding of vortices in the roof, when the obstacle is "small enough", opaque the lateral "karman vortices" which shorten the recirculation region...
1...161718...52Latest