Skip to content

shell layers extractor works with int but not with the predefined shell enum #210

@rlagha

Description

@rlagha
from ansys.dpf import core as dpf
from ansys.dpf.core import examples

model = dpf.Model(examples.download_all_kinds_of_complexity_modal())
#print(model)

stress = model.results.stress()
stress.inputs.requested_location.connect("Nodal")



shell_layer_extract = dpf.operators.utility.change_shell_layers()

shell_layer_extract.inputs.fields_container.connect(fields)
shell_layer_extract.inputs.e_shell_layer.connect(dpf.common.shell_layers.bottom)

fields_top = shell_layer_extract.eval()

could also have an example showing how to extract shell layers in the examples section of the doc?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions