Skip to content

Reply To: Strange issue with FreeSurface field definition

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Strange issue with FreeSurface field definition Reply To: Strange issue with FreeSurface field definition

#9855
stonepreston
Participant

Did you initialize the fields also at nodes with material number zero? Any fields needs to be initialized at all material numbers correctly!

Is that not what this line does?


sLattice.defineField<FreeSurface::CELL_TYPE>(superGeometry, 0, four);

I thought that would initialize any node with material number 0 in the lattice to 4? Is there something more that needs to be done?

  • This reply was modified 1 month, 1 week ago by stonepreston.