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
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,11 @@ def _check_complete_boundary_condition_and_unknown_surface(

# If transformed then `_will_be_deleted_by_mesher()` will no longer be accurate
# since we do not know the final bounding box for each surface and global model.
if farfield_method:
for item in asset_boundary_entities:
if item.private_attributes is None:
# Legacy cloud asset that does not have bounding box information. Just skip the check.
return params
# pylint:disable=protected-access
asset_boundary_entities = [
item
Expand Down
238 changes: 224 additions & 14 deletions tests/simulation/params/data/surface_mesh/simulation.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -355,7 +370,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -366,7 +396,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -377,7 +422,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -388,7 +448,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -399,7 +474,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -410,7 +500,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -421,7 +526,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -432,7 +552,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -443,7 +578,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -454,7 +604,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -465,7 +630,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -476,7 +656,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
},
{
"private_attribute_registry_bucket_name": "SurfaceEntityType",
Expand All @@ -487,7 +682,22 @@
"private_attribute_is_interface": null,
"private_attribute_tag_key": null,
"private_attribute_sub_components": [],
"private_attribute_color": null
"private_attribute_color": null,
"private_attributes": {
"type_name": "SurfacePrivateAttributes",
"bounding_box": [
[
0,
0,
0
],
[
1,
1,
1
]
]
}
}
],
"global_bounding_box": [
Expand Down
Loading
Loading