Hello developer,
I am trying to get the image of the drop formed in the example ContactAngle2d and for this I added some lines in the getResult function as follows
// Writes the VTK files
if ( iT%vtkIter==0 ) {
clout << “Writing VTK …” << std::endl;
//SuperLatticeVelocity2D<T, DESCRIPTOR> velocity( sLattice1 );
SuperLatticeDensity2D<T, DESCRIPTOR> density1( sLattice1 );
SuperLatticeDensity2D<T, DESCRIPTOR> density2( sLattice2 );
vtmWriter.addFunctor( velocity );
vtmWriter.addFunctor( density1+density2 );
vtmWriter.write( iT );
BlockReduction2D2D<T> planeReduction( density1+density2, 600, BlockDataSyncMode::ReduceOnly );
// write output as JPEG
heatmap::write(planeReduction, iT);
clout << “Writing VTK … OK” << std::endl;
I added the above part with the help of other examples given. The image that I am getting is attached here. ![Drop Image](https://www.google.com/search?tbs=sbi:AMhZZivookliSF9mnWvExQtussDCoPkn4wsNp7QbWieNLGz_1uqBJ8x4-RgTk3yVIVrnpvy1t_1o3hcvJna2sBXLZY9mBBKjceB5Kiel9Ho9we77vWr88osF8D_1uNVlX08GdQqha1gB1cc8gHYoGdlQwdD6jUOT5Th3Eiw2672Dmvotvc92bpqEXboaug0Vm3bPHX7Yrxcnwirwxr3l9Z9gm7bbWu2hc3hNMllSRrH-hLiiMRQB_1AO_1PS0zucczL7hADFafu5zOYzZvWprTayvNi6EY3YM0vf35zOwBh_1hgAu2WT_1zfpNgVny5OhUCv5aYF_1IStxLC5hYL4-yJxh8R9-4FQgfvoh8mZQ&btnG=Search%20by%20image&hl=en)
Why this image has lower density inside the circle (its of blue colour)?
Thanks and regards
Bhuttu