Skip to content

[OptApp] Fixing the nodal value to condition / element container mapping (inverse as well)#14174

Open
sunethwarna wants to merge 1 commit intomasterfrom
optapp/fix/nodal_condition_element_mapping
Open

[OptApp] Fixing the nodal value to condition / element container mapping (inverse as well)#14174
sunethwarna wants to merge 1 commit intomasterfrom
optapp/fix/nodal_condition_element_mapping

Conversation

@sunethwarna
Copy link
Member

📝 Description
There is a bug in nodal value to condition / element mapping (reverse as well). Previously when condition / element values are mapped to nodal values, the condition / element value is devided by number of neighbour conditions / elements around each node and this was added to the node. Now it is corrected to divide by number of nodes in the geometry. Proper tests are also added to check for the global consistency.

Unfortunately, this requires change in the reference values of filter tests.

@Igarizza I had to change control field update to 0.001 to trigger it be active, could you take a close look (in test_relaxed_gradient_projection.py)

🆕 Changelog

  • Fixing mapping between nodal values and condition / element values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant