Skip to content

Reply To: Heat transfer liquid-solid and heat conduction in solids

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Heat transfer liquid-solid and heat conduction in solids Reply To: Heat transfer liquid-solid and heat conduction in solids

#7643
Jijo
Participant

Dear Dr. Mathias,

I did that and the simulation is running. The problem is with the simulation output where the loop only iterates around the cuboid ranked 0 instead of the other 9 cuboids.

I think problem lies with the following snippet code:

Vector<T,2> extendStep( lengthStep, heightStep );
Vector<T,2> originStep( 0, 0);
std::shared_ptr<IndicatorF2D<T>> step = std::make_shared<IndicatorCuboid2D<T>>( extendStep, originStep );
CuboidGeometry2D<T> cuboidGeometry( *(channel-step), converter.getConversionFactorLength(), 10 );

If I change 10 to 1, the output is correct.

Best regards,