PDE toolbox and load on nodes
Mostrar comentarios más antiguos
I use the PDE Toolbox to analysis a discrete geometry, and I want to put the force vector on a point. But I can't define a point through the syntax "loadedVertex". Is there any other option to define the point? thank you!

Respuesta aceptada
Más respuestas (2)
Ravi Kumar
el 12 de Dic. de 2019
0 votos
OK, in that case can you number the number of verteices in the model:
>> gm
Do you see the new VertexID in the plot you make?
Regards,
Ravi
1 comentario
xl z
el 12 de Jun. de 2024
Addvertex can not add points on cylindrical surface. Is there a solution to this situation? Thank.
haoran liu
el 13 de Dic. de 2019
Editada: haoran liu
el 13 de Dic. de 2019
0 votos
6 comentarios
Ravi Kumar
el 13 de Dic. de 2019
Can you share a simplified reproduction code that we can run and see what is going on?
Regards,
Ravi
haoran liu
el 13 de Dic. de 2019
Ravi Kumar
el 13 de Dic. de 2019
I used the STL in the attachment, sta_simplified_punkt.stl (replace sta_simplified_400um.stl in the reproc code above with sta_simplified_punkt.stl.)
I get the error
Error using pde.DiscreteGeometry/addVertex
Specified point too far from the boundaries.
Error in repro (line 33)
VertexID = addVertex(gm,'Coordinates',[26.253327790164672,9.003630213068949,6.587610172703529]);
This means point is not on the geometric boundary.
Regards,
Ravi
haoran liu
el 13 de Dic. de 2019
Ravi Kumar
el 13 de Dic. de 2019
Thank. Now I see the issue. You generated mesh before adding vertex. Do all geometry operation before generating mesh. If you move the addVertex to right below importGeometry, you should not get this error.
Regards,
Ravi
haoran liu
el 14 de Dic. de 2019
Categorías
Más información sobre Geometry and Mesh en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
