Reply To: Problem in example code porousPoiseuille2d
Due to recent bot attacks we have chanced 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 › 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
