New to openLB. I’m getting several warnings compiling the cavity2d example and the images are not generated and the vtk file is empty after running the generated executable. These are the warnings:
g++ -O3 -Wall -march=native -mtune=native -std=c++17 -pthread -DPLATFORM_CPU_SISD -DDEFAULT_FLOATING_POINT_TYPE=double -I../../../src -I../../../external/zlib -I../../../external/tinyxml -c -o cavity2d.o cavity2d.cpp
In file included from ../../../src/core/core.hh:38,
from ../../../src/core/core2D.hh:28,
from ../../../src/olb2D.hh:1,
from cavity2d.cpp:34:
../../../src/core/unitConverter.hh: In instantiation of ‘olb::UnitConverter<T, DESCRIPTOR>* olb::createUnitConverter(const XMLreader&) [with T = double; DESCRIPTOR = descriptors::D2Q9<>]’:
cavity2d.cpp:238:77: required from here
238 | UnitConverter<T,DESCRIPTOR>* converter = createUnitConverter<T,DESCRIPTOR>( config );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../../../src/core/unitConverter.hh:125:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
125 | for(int i = 0; i<discretizationParam.size(); i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ cavity2d.o -o cavity2d -lolbcore -L../../../external/lib -lpthread -lz -ltinyxml -L../../../build/lib