Skip to content

Reply To: Strange issue with FreeSurface field definition

Due to recent bot attacks, newly registered users are required to send a message via our contact form in order to be able to post in the forum.

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 5 months, 2 weeks ago by stonepreston.