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.
Why this image has lower density inside the circle (its of blue colour)?
Thanks and regards
Bhuttu