I used the S-ALE method of LS-DYNA to study an underwater bubble and use the DominationGroup option of the threshold filter to distinguish between bubble and water. However, due to the presence of meshes, the bubble interface is very rough. Now I want to make the bubble interface smooth. How can I do this?
I’m new at Paraview, hoping your reply.THANKS!
There is not a straightforward way to smooth the mesh boundary (AFAIK), but you might be able to create a smoother mesh by using something other than Threshold
.
Does your simulation output volume fractions for each material/group? If so, you can use the Cell Data To Point Data
filter to average the data to the points and then use Contour
(or Clip
with a Clip Type
of Scalars
) to find the interface. The act of averaging cell data to point data will have a smoothing effect.
If you don’t have volume fractions, you can do the same thing with your DominantGroup
field as long as you only have 2 groups. If you have more than 2 groups, the Cell Data To Point Data
is going to give invalid values. If that is the case, you can use the Calculator
filter to make a field that is either 0 or 1 depending on whether the DominantGroup
is a particular value. For example, to create this field for group id 2, use the calculator expression if(DominantGroup = 2, 1, 0)
.
Thank you! I’ll try the method you mentioned.