How to get results on adaptive mesh analysis like GPAD with DPF
Mike.Thompson
Member, Employee Posts: 361
✭✭✭✭
I am trying to get results on an analysis that uses GPAD and adapts the mesh during the solve. I believe I need to first get the dpf mesh across the time points but I am having an issue getting this with the operator: dpf.operators.mesh.mesh_provider().
This will always pull the same mesh even though the mesh changes from set to set.
for i in range(1,10): op = dpf.operators.mesh.mesh_provider() op.inputs.time_scoping.Connect(i) op.inputs.data_sources.Connect(my_data_sources) my_mesh = op.outputs.mesh.GetData() print my_mesh.ElementCount
Tagged:
0
Answers
-
Also, per the docs at 24.2 for this operator:
- time_scopingname
- (int32)
- Optional time/frequency set ID of the mesh, supported for adaptative meshes
0