Skip to content

Reply To: Problem in example code porousPoiseuille2d

#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