Skip to content

about Indicatoridentity

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4670
    lchn1
    Participant

    Hi everyone,

    I’ve just meet a simple question, maybe. That is when I use as
    `IndicatorIdentity3D<T> Fluid(Sim-Sim1);
    When I compile, it note me as:

    (‘IndicatorCuboid3D<T>’ (aka ‘IndicatorCuboid3D<double>’) and
    ‘IndicatorCuboid3D<T>’ (aka ‘IndicatorCuboid3D<double>’))
    IndicatorIdentity3D<T> Fluid(Sim-Sim1);

    And I also noticed that the example case for venturi3d has already remove this part of code (cyl1+cyl2+…)

    Do you guys know what happen? This function has been cancel?
    Thanks

    #4678
    albert.mink
    Moderator

    Hi

    the geometry definition in venturi3d has been moved to the xml file.

    There you have the IndicatorUnion3D which means basically + (the logical OR)
    IndicatorWithout3D (-) and IndicatorIntersection3D (the logical AND) are also available.

    The detailed implementation is found at the bottowm of
    src/functors/analytical/indicator/indicatorF3D.hh

    All the best
    Albert

    ////////////
    Alt.
    You may still work without the XML file. But note that the Indicators are now required to be std::shared_ptr<IndicatorCuboid3D<….>>
    E.g.

    auto cuboid1 = std::make_shared<IndicatorCuboid3D<double>>(constructor parameters);
    auto cuboid2 = std::make_shared<IndicatorCuboid3D<double>>(constructor parameters);
    IndicatorIdentity3D<T> Fluid(cuboid1-cuboid2);
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.