(Deleted) How to apply non-uniform distributed load?


36
views
0
4 weeks ago by
Aby  
Hello all,

I am trying to apply a non-uniform load (as shown in the figure) to the top edge of the square plate. Can I please get some hint/help on how to do this?

Since I am new to FEniCS any help and suggestion will be very helpful.
Thank you very much.
Community: FEniCS Project

1 Answer


0
4 weeks ago by
Ovais  
You can achieve your desired boundary condition by using an expression. Go through the poisson demo in fenics manual. See how the boundary condition has been applied. You can easily develop the relation through an expression.
Hello Ovais,

Thank you very much for your reply. I referred the Poission's demo from the manual and wrote the following code to restrict the bottom edge of the square plate:

#apply fixed boundary condition to th bottom-left point of the grid
def lower_boundary_fixed(x,on_boundary):
   return on_boundary and (near(x[0],0,tol) and near(x[1],0,tol))

#apply roller boundary condition to the rest of the points in the bottom edge of the grid
def lower_boundary(x,on_boundary):
    return on_boundary and (near(x[1],0,tol) and x[0]>0)

bc_lowerfixed=DirichletBC(V,Constant((0.,0.)),lower_boundary_fixed,method="pointwise")

bc_lower=DirichletBC(V,Constant((0.,0.)),lower_boundary)
​

But I will be very grateful if you could please provide some more details / hint about how to apply the non-uniform distributed load to the top edge?

Thank you very much for your kind help.

Best regards,

written 4 weeks ago by Aby  
Please login to add an answer/comment or follow this question.
The thread is closed. No new answer/comment may be added.

Similar posts:
Search »
  • Nothing matches yet.