Non uniform scaling of Mesh geometry


I am trying to scale the size of a mesh geometry with a scalar field.

So each node in the mesh is given a scalar, eg. 1.01, to expand the mesh around that node with 1% while the node right beside it might be given a scalar of 0.95 to contract the mesh around this node with 5 %. This will result in a change in size and shape, when performed on all nodes in the entire mesh geometry.

Is it possible to perform this operation with SALOME ?

Best regards


Seems to be possible, but probably you will require to create a python script for this. See function Scale and ScaleMakeMesh available in smeshBuilder class. Probably your function will iterate in all elements of the mesh one by one applying the desired scalar field.