How to set a slip boundary.
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › How to set a slip boundary.
- This topic has 5 replies, 3 voices, and was last updated 8 years, 4 months ago by Benxi.
-
AuthorPosts
-
May 12, 2016 at 8:27 am #1828BenxiMember
Hello Everyone. rnWhen i use the OpenLB, i find a question.rnFor example, when i use the class template superGeometry.rename() to change the geometry boundary, i can set 1 for fluid, 2 for no-slip boundary, 3 for velocity boundary, 4 for constant pressure boundary, 5 for cureved boundary, 0 for nothing. rnIf the boundary is a slip boundary,(because my simulation model is a part of big fluid region) how can i set it?rnI have tried the SlipBoundaryProcessor2D to generate the boundary and compiling success and running failed which showed a lot of message like “”no boundary found at (20,64) ~ (0.9,3.1), in direction 3″”. How can i solve it?rnYour sincerely, Benxi
May 12, 2016 at 2:10 pm #2345lilianaxavierMemberHi,rnrnyou can use the slip boundary condition in a similar way as you use a velocity or pressure boundary conditions.rnYou can set as “”addSlipBoundary”” on the material number you desire to have this type of BC.rnrnBest regards.
May 17, 2016 at 7:04 am #2353BenxiMemberQuote:Quote from lilianaxavier on May 12, 2016, 14:10rnHi,rnrnyou can use the slip boundary condition in a similar way as you use a velocity or pressure boundary conditions.rnYou can set as “”addSlipBoundary”” on the material number you desire to have this type of BC.rnrnBest regards.rnrnHi!rnThank you for your reply and these days i have tried a lot of way and finally get it work now.rnFrom the fluid region graph i get, i think the addSlipBoundary function work well now ,but when i run my program as ./Program_name, the command window shows the warning as follow:rnWARNING: Bogus distance at (22,88): 1rnWARNING: Bogus distance at (21,88): 1rnWARNING: Bogus distance at (21,87): 1rnWARNING: Bogus distance at (21,86): 1rnWARNING: Bogus distance at (33,62): 1rnWARNING: Bogus distance at (34,62): 1rnrnrn[BoundaryConditionInstantiator2D] Warning: Could not addSlipBoundary (2, 118), discreteNormal=(0,0,0), set to bounceBackrn[BoundaryConditionInstantiator2D] Warning: Could not addSlipBoundary (2, 0), discreteNormal=(0,0,0), set to bounceBackrn[BoundaryConditionInstantiator2D] Warning: Could not addSlipBoundary (2, 118), discreteNormal=(0,0,0), set to bounceBackrn[BoundaryConditionInstantiator2D] Warning: Could not addSlipBoundary (2, 0), discreteNormal=(0,0,0), set to bounceBackrn[BoundaryConditionInstantiator2D] Warning: Could not addSlipBoundary (2, 118), discreteNormal=(0,0,0), set to bounceBackrn[BoundaryConditionInstantiator2D] Warning: Could not addSlipBoundary (2, 0), discreteNormal=(0,0,0), set to bounceBackrn[BoundaryConditionInstantiator2D] Warning: Could not addSlipBoundary (2, 118), discreteNormal=(0,0,0), set to bounceBackrnrnThese are just a part of the command tips.rnDo you know why?rnrnYour sincerely, Benxi.
May 23, 2016 at 8:39 am #2364robin.trunkKeymasterHi,rnrnI think this could be the same problem discussed in the topic “”Question about Cavity2d Example”” recently started by frankgao. Probably the points where the boundary can’t be set happen to be on the overlap?rnrnBest regardsrnRobin
May 25, 2016 at 6:39 am #2370BenxiMemberQuote:Quote from robin.trunk on May 23, 2016, 08:39rnHi,rnrnI think this could be the same problem discussed in the topic “”Question about Cavity2d Example”” recently started by frankgao. Probably the points where the boundary can’t be set happen to be on the overlap?rnrnBest regardsrnRobinrnrnrnThank you! I will go for a watch.
May 25, 2016 at 6:40 am #2371BenxiMemberQuote:Quote from robin.trunk on May 23, 2016, 08:39rnHi,rnrnI think this could be the same problem discussed in the topic “”Question about Cavity2d Example”” recently started by frankgao. Probably the points where the boundary can’t be set happen to be on the overlap?rnrnBest regardsrnRobinrnrnrnThank you! I will go for a watch.
-
AuthorPosts
- You must be logged in to reply to this topic.