interpolated field at iso-surface 0.5
I would like to interpolate a specified field on the iso-surface 0.5 of the color function alpha1 (interFoam) and then sum up all the contribution to get a kind of average value of that field at the interface. Is there a simple way to do that? I tried with sampling and function object but i didn't manage to get what i want.
any help is appreciated!
You can take a look at isoSurface class in sampledSurface. I have not tried it, but I think it will help you.
thanks i solved it adding these lines in my sampleDict
// Iso surface for constant values.
// Triangles guaranteed not to cross cells.
type isoSurfaceCell; // always triangulated
regularise false; // do not simplify
// mergeTol 1e-10; // Optional: fraction of mesh bounding box
// to merge points (default=1e-6)
|All times are GMT -4. The time now is 07:11.|