Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Getting name of explicit nod

More
2 years 4 months ago #4127 by Simulationslord
Hello everyone,

i have read an post in this forum about setting up the boundary condition only at a certain nod. Unfortunatly I don't know how to get the id or name of the nod form a 3d mesh grid. Would aprreciate any help.


mesh = FE.get_CubeMesh(size=0.1, mesh_split=split_mesh)
fes = VectorH1(mesh, order=degree_el, dirichlet_bbnd=name_Boundarienod)

'3d cube mesh gets defined here'
def get_CubeMesh(size=0.1, mesh_split=2)
return get_Mesh(size, sizex=size, sizey=size, sizez=size, mesh_split=mesh_split)



Thanks
Time to create page: 0.112 seconds