Open sreekar2858 opened 1 year ago
To add to this I tried to just move 1 node to check how it works. The mesh is not warping at all, the deformed node just pierced into neighboring cells just as here: https://github.com/mdolab/idwarp/issues/80#issuecomment-1614412960
Thank you for the help -Sree
Description
Hello I am using OpenFOAM case to morph a face using IDWarp. The geometry is a cuboid as the following picture. The specifiedSurfaces are marked in red.
I defined the python script as follows:
When I tried to check what "getSurfaceCoordinates" returns, I noticed it output 6272 points but the specifiedSurfaces should have 355 points and the entire geometry has 3190 points. I don't understand where the other points are from. I exported the output from getSurfaceCoordinates() into a txt file and plotted in paraview which is perfectly coinciding with the existing mesh. So, it is returning all the points in the mesh with some additional points.
I would like to just morph the coordinates of a surface and want the entire mesh to conform to that change.
Steps to reproduce issue
Current behavior
The function is returning all the mesh points in the geometry with some redundant points.
Expected behavior
It should only return the points from specifiedSurfaces input in options.
Code versions