Skip to content

Creating 2D triangles

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1900
    conglinfu
    Member

    Hi everyone,

    I want to create some 2D triangles but there is no IndicatorF for triangles like IndicatorCircle2D for circles. Do you know how to do that?

    I found there is a functor called SmoothIndicatorTriangle2D but what do the mass, epsilon and theta in that functor mean? The “SmoothXXX” one seems to be different from the general IndicatorF like IndicatorCircle2D. What does “Smooth” stand for? Thank you.

    #2569
    robin.trunk
    Keymaster

    Hi, maybe this post helps in implementing a new indicator for triangles:
    http://optilb.org/openlb/forum?mingleforumaction=viewtopic&t=247

    The SmoothIndicator takes some parameters like mass, however this is a relict and should not be used in the computations. In addition the SmoothIndicator creates a smooth transition and is therefore not suited to set a discrete boundary, however you can have a look at it for implementing a IndicatorTriangle2D.

    Best
    Robin

    #2571
    conglinfu
    Member

    Thank you, Robin!

    #6093
    Fany
    Participant

    Hi Conglinfu,
    Have you created the 2D triangle geometry? I am facing with the same problem. I don’t know why I can not open the link http://optilb.org/openlb/forum?mingleforumaction=viewtopic&t=247 and http://optilb.org/openlb/forum?mingleforumaction=viewtopic&t=249 which are found in the forum to be referred to create the geometry.

    #6103
    Adrian
    Keymaster

    Unfortunately these links got lost when we changed the forum software a couple of years ago, sorry.

    We can discuss the triange issue further in your separate thread.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.