Reply To: Problem in example code porousPoiseuille2d
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Problem in example code porousPoiseuille2d › Reply To: Problem in example code porousPoiseuille2d
December 4, 2019 at 9:33 pm
#4684
fk
Participant
Dear Junwei,
I am sorry for the late response, but the error was very tricky to find. Fortunately the bug is very easy to fix.
Please open the file “src/dynamics/guoZhaoDynamics.hh” and change in lines 67 and 116 from “this->_momenta.computeRhoU(cell, rho, u);” to “this->computeRhoU(cell, rho, u);“, i.e. remove “_momenta.”.
Best regards,
Fabian