Skip to content

the geometry definition in cavity 2d problem

OpenLB – Open Source Lattice Boltzmann Code Forums on Lattice Boltzmann Methods General Topics the geometry definition in cavity 2d problem

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5471
    Pulauwin
    Participant

    Hello:
    The dimension of the lid 2d is (0,1), I don’t understand why we need include “eps” in the definition. could you please help me out.

    Vector<T,2> extend( T( 1 ) + 2*eps, 2*eps );
    Vector<T,2> origin( T() – eps, T( 1 ) – eps );
    IndicatorCuboid2D<T> lid( extend, origin );
    // Set material number for lid
    superGeometry.rename( 2,3,1,lid );

    #5473
    mathias
    Keymaster

    Due to rounding errors (working with douple), we need to extant the domain in order to capture the lid entirely!

    #5474
    Pulauwin
    Participant

    Does it has something with the implementation of boundary conditions. can I replace “eps” with other values?

    #5475
    mathias
    Keymaster

    This is just for the renaming of material numbers. No, dont relpace it because it should not be too big. By it you make sure that only the lid material numbers are renamed.

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