Skip to content

Reply To: Segmentation fault for OpenLB 1.5


Hi Fedor,

Thanks for your reply. There were BC of inlet velocity and outlet pressure, as the above mentioned code:
setLocalVelocityBoundary<T,NSDESCRIPTOR>(NSlattice, omega, superGeometry, 3);
setInterpolatedPressureBoundary<T,NSDESCRIPTOR>(NSlattice, omega, superGeometry.getMaterialIndicator({4, 5}));
NSlattice.defineU( superGeometry, 3, uF ); # initial conditions
By the way, the difference of my code between V1.4 (BulkDynamics) and v1.5 (ForcedBGKdynamics) was just different Dynamics. I am not know if there are any changes in the new version. The new guidance do not present it.

Best regards,