Skip to content

Reply To: applying the force into Fluid in the openLB code not DEFINITION

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics applying the force into Fluid in the openLB code not DEFINITION Reply To: applying the force into Fluid in the openLB code not DEFINITION

#7875
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?