Assigning values (manually) to DOF #1065
Replies: 1 comment 5 replies
-
That blue line then becomes similar to a boundary where you assign a boundary condition, using condense like you have figured out. Assuming you use C1 elements, each of those nodes on the blue line has several DOFs describing the displacement, first derivative and perhaps even second derivative. You also probably have a location-dependent value for the displacement. For this reason, it is probably not as simple as setting DOFs to some values. What you need to do is perform L2 projection of the displacement field onto the finite element basis (over that blue segment). For this purpose, you most likely need to initialize InteriorFacetBasis object with facets='name_of_interface'. After this you use InteriorFacetBasis.project method. However, you did not specify accurately enough in which format your input is. Is it a list of displacements only? At which points? |
Beta Was this translation helpful? Give feedback.
-
Hi @kinnala, thanks again for answering my previous question.
I just wonder if there is a way to assign manually certain values for the DOF.
I am continuing with my project about plate bending. In this case, I am trying to calculate the deflection of a stiffened plate (considering water pressure on the other side of the plate). My mesh is like this:
I would like to add the deflection, from a list of values, according to the typical beam bending formulas, on the middle horizontal blue line. In other words, I don't want to consider the displacement there as zero as per default, (although it will be really to it) because I wanna link those displacements to the geometry of that "flat beam".
I know I have to consider the "x=u" used in the ".condense" function, but, how could I add those displacements only for that middle blue line (it already has a defined name)?
Thanks in advance and kind regards,
Federico
Beta Was this translation helpful? Give feedback.
All reactions