Skip to content

Massload

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • Massload
    Participant

    Thanks. I would like to understand OpenLB in depth.
    Yes, I am looking at olb::Cell in src/core/cell.h.
    I want to understand how to computeRho in olb::Cell in src/core/cell.h firstly would like to understand it with simply SISD. As I follow your code to compute rho, I come across “return getDynamics()->computeRho(self());” in cell.hh. And getDynamics defines return this->_block.getDynamics(this->_iCell); in cell.hh. In blockLattice.hh, I cannot follow getDynamics towords getting and computing Rho, and arriving at FieldArray or column now.

    I’m sorry to trouble you, but could you please let me know?

    Massload
    Participant

    Thanks.

    I am not familiar wiht a word of “view”. In cell.h, there is a cell class. How is Cell class used?
    And even if I am reading the user guide, I cannot understand what “FIELD” means. What is “FIELD”?I understand “FIELD” has distribution functions and force and so on like in descriptor.h. When is FIELD most effectivly used?

    Massload
    Participant

    Thanks.
    While I read your User-Guide chap.2, I got what I am confused about cell and core data.
    1) Is Core Data related to Cell? Cell has Core Data? If not, What is Core Data and Which Class?
    2) In my understanding, SuperLattice class has BlockLattice class. And BlockLattice class has Cell class which has dynamics. Is my understanding right?
    3) If No2 is not right, what popose dose Core Data exit for?
    4) I could not understand cell-local and block-local. I think Cell-local means that is like BGK and calclationg velocity and so on. Is it right? I could not understand what is block-local especially.

    Massload
    Participant

    Thanks.
    In addition, after DEFINING boundary conddition(setInterpolatedVelocityBoundary and setInterpolatedPressureBoundary ) in the function of prepareLattice and in the function of setBoundaryValues( sLattice.defineU( superGeometry, 3, poiseuilleU );), when dose these boundary conddition apply to flow field and where dose these applyig are written in the openLB codes?

    Now I look in cylinder3d.cpp.

    in reply to: What does Resolution mean? #6734
    Massload
    Participant

    Thanks for replying, it is important information that N is the number of pieces to the representative length.
    On the other hand, as I increase N to 100, I seem to get the following error and cannot generate a lattice.
    “Discrete Normal is not valid for interpolated pressure boundary!”
    The number of N is quite large, so it should not be possible to create a lattice, but do you know what the problem is?
    The representative length is 1.5m.

Viewing 5 posts - 1 through 5 (of 5 total)