How to scope results at nodes or elements of interest in DPF?
Vishnu
Member, Employee Posts: 222
✭✭✭✭
Typical case would be to look at the displacements or stress at particular nodes/elements.
Tagged:
2
Answers
-
you can use dpf.Scoping to scope some nodes or elements like below:
myscoping = dpf.Scoping() myscoping.Ids = [1,2,3,4,5,6] #Here Nodes 1-6 are scoped myscoping.Location = 'Nodal'
You can then use this myscoping with corresponding operator of interest (like displacement) like below:
u = dpf.operators.result.displacement(time_scoping=1,mesh_scoping=myscoping,data_sources=dataSource)
0