Skip to content

Re: Smagorinsky/Turbulence – Modification Code

#2730
pedrobrito
Member

Hi, Marc.

Thank you for answering me so quickly. I made the modification that you suggested. However, I keep receiving one error message.

cylinder2d.cpp: In function ‘int main(int, char**)’:
cylinder2d.cpp:381:10: error: type ‘class olb::SmagorinskyBGKdynamics<double, olb::descriptors::D2Q9Descriptor>’ argument given to ‘delete’, expected pointer
delete bulkDynamics;
^
Makefile:63: recipe for target ‘/mnt/c/Users/pedro/Documents/olb/examples/cylinder2d/cylinder2d.o’ failed
make: *** [/mnt/c/Users/pedro/Documents/olb/examples/cylinder2d/cylinder2d.o] Error 1
root@DESKTOP-TR9LPLJ:/mnt/c/Users/pedro/Documents/olb/examples/cylinder2d#

What else should I modify to make it run?

Best,
Pedro.