Skip to content

Reply To: Implementing Surface-directed spinodal decomposition

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.

Forums OpenLB General Topics Implementing Surface-directed spinodal decomposition Reply To: Implementing Surface-directed spinodal decomposition

#7184
Adrian
Keymaster

On the dynamics: Dynamics don’t store data, they only model how the momenta are computed and the collision is performed.

You can set the population iPop of a “ghost” neighbor cell (commonly being assigned NoDynamics, meaning they don’t perform any collision) in direction c to value using e.g. cell.neighbor(c)[iPop] = value;. This will happen after the streaming step for normal post processors. If you need to execute this at a different time this is also straight forward to do as post processors are assigned to and executed at various stages in OpenLB.