Massload
Forum Replies Created
-
AuthorPosts
-
October 31, 2023 at 4:36 pm in reply to: applying the force into Fluid in the openLB code not DEFINITION #7875MassloadParticipant
Thanks. I would like to understand OpenLB in depth.
Yes, I am looking atolb::Cell
in
src/core/cell.h
.
I want to understand how to computeRho inolb::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?
October 31, 2023 at 7:32 am in reply to: applying the force into Fluid in the openLB code not DEFINITION #7870MassloadParticipantThanks.
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?October 22, 2023 at 10:34 am in reply to: applying the force into Fluid in the openLB code not DEFINITION #7839MassloadParticipantThanks.
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.October 13, 2023 at 3:42 am in reply to: applying the force into Fluid in the openLB code not DEFINITION #7829MassloadParticipantThanks.
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.
MassloadParticipantThanks 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. -
AuthorPosts