How to perform multistage expansion with multiple harmonic indices.

Atacher
Atacher Member Posts: 4 **

Hi,

I need to retrieve the complete mesh of a multistage model using dpf, for which I am using the "cyclic_support" and "cyclic_mesh_expansion" operators to obtain the full mesh.

# Cyclic support
op = dpf.operators.metadata.cyclic_support_provider() 
op.inputs.data_sources.connect(my_data_sources_ms)
my_cyclic_support = op.outputs.cyclic_support()
__
# Mesh
op = dpf.operators.metadata.cyclic_mesh_expansion()
op.inputs.cyclic_support.connect(my_cyclic_support)
my_meshed_region = op.outputs.meshed_region()

However, I'm facing a problem in understanding what exactly I am retrieving.

I have 3 stages:
- Stage 1: 9 sectors / 2811 nodes / 4 harmonic indices
- Stage 2: 47 sectors / 1356 nodes / 4 harmonic indices
- Stage 3: 15 sectors / 2797 nodes / 5 harmonic indices

On the mesh, I have a total of 565,899 nodes, which corresponds to 928115 + 4713564 + 1527974. This means that there are nodes for each harmonic index. What I want is to merge the harmonic indices for each stage, so that I have only 9(2811 - 87) + 47(1356 - 57) + 15*(2797 - 75) = 126,399 nodes. Where 87, 57 and 75 are the number of nodes at the cyclic interface of each stage.

I have the same issue with the displacement operator and the "read_cyclic" = 3 command.

Thank you for your help.

Answers