-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Problem
In a recent pull request #437, I added capability to define a spatially variable Robin boundary condition. After attempting to use it with a more complex simulation, I encountered some bugs/inconsistencies
-
To provide the vtp file containing the spatially varying values, the user defines a boundary condition xml element
<Robin_vtp_file_path>. This is inconsistent with other boundary conditions that define an xml element<Spatial_values_file_path>. -
If
mesh_scale_factoris not 1, the point matching between to the vtp file and thefaceobject associated with the boundary condition fails
Solution
-
Get rid of
<Robin_vtp_file_path>and use<Spatial_values_file_path>instead to define a spatially variable boundary condition. -
Pass
mesh_scale_factorinto theBoundaryConditionclass and scale coordinates so that point matching is successful.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct and Contributing Guidelines