Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll
Binary file not shown.
Binary file modified src/ansys/dpf/gatebin/DPFClientAPI.dll
Binary file not shown.
11 changes: 9 additions & 2 deletions tests/test_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
from ansys.dpf.core.common import locations, shell_layers
from ansys.dpf.gate.errors import DPFServerException, DpfVersionNotSupported
import conftest
from conftest import SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0, running_docker
from conftest import (
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0,
SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_12_0,
running_docker,
)


@pytest.fixture()
Expand Down Expand Up @@ -499,7 +503,10 @@ def test_shell_layers_2(velocity_acceleration):
model = dpf.core.Model(velocity_acceleration)
stress = model.results.stress()
f = stress.outputs.fields_container()[0]
assert f.shell_layers == shell_layers.nonelayer
if SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_12_0:
assert f.shell_layers == shell_layers.top
else:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichaelNale This is what we will revert back after your future changes

assert f.shell_layers == shell_layers.nonelayer


def test_mesh_support_field_model(allkindofcomplexity):
Expand Down