Dear all,
I got some problems when I run the porousPoiseuille2d.cpp of examples. When I cancel the comment of `
SuperVTMwriter2D<T> vtkWriter(“porousPoiseuille2d”);
SuperLatticePhysVelocity2D<T, DESCRIPTOR> velocity(sLattice, converter);
SuperLatticePhysPressure2D<T, DESCRIPTOR> pressure(sLattice, converter);
// SuperLatticeEpsilon2D<T, DESCRIPTOR> epsilonVTM(sLattice, converter);
// SuperLatticePhysK2D<T, DESCRIPTOR> KVTM(sLattice, converter);
// SuperLatticePhysBodyForce2D<T, DESCRIPTOR> bodyForce(sLattice, converter);
vtkWriter.addFunctor( velocity );
vtkWriter.addFunctor( pressure );
// vtkWriter.addFunctor( epsilonVTM );
// vtkWriter.addFunctor( KVTM );
// vtkWriter.addFunctor( bodyForce );`
in the function of getResults, the program export an error, likes,
porousPoiseuille2d.cpp:224:3: error: ‘SuperLatticeEpsilon2D’ was not declared in this scope
224 | SuperLatticeEpsilon2D<T, DESCRIPTOR> epsilonVTM(sLattice, converter);
| ^~~~~~~~~~~~~~~~~~~~~
porousPoiseuille2d.cpp:224:26: error: expected primary-expression before ‘,’ token
224 | SuperLatticeEpsilon2D<T, DESCRIPTOR> epsilonVTM(sLattice, converter);
| ^
porousPoiseuille2d.cpp:224:38: error: expected primary-expression before ‘>’ token
224 | SuperLatticeEpsilon2D<T, DESCRIPTOR> epsilonVTM(sLattice, converter);
| ^
porousPoiseuille2d.cpp:224:40: error: ‘epsilonVTM’ was not declared in this scope; did you mean ‘epsilon’?
224 | SuperLatticeEpsilon2D<T, DESCRIPTOR> epsilonVTM(sLattice, converter);
| ^~~~~~~~~~
| epsilon
make: *** [Makefile:57: /home/zsn/openLB/examples/porousMedia/porousPoiseuille2d/porousPoiseuille2d.o] Error 1
How can I solve it?
Thanks,
Shuainan Zhai