Hello, I want to calculate
I want to calculate a surface weighed average at
a fixed plane of my computational domain DURING the computation. I controle it well for boundary fields patches but not at all for internal field surfaces.
I have looked at the diffferent threats but it is not clear for me and have some questions:
1) The value I want to interpolate at the surface is a scalar. Is it possible to use the function fvc::interpolate(Myscalar) ?
2)Now, guessing I have the interpolated value, I need to estimate my surface area. I can do it using magSf() for example. However, how do I know which faceI indice it is
relatively to my cell location ? For example
I know the indices of the two cells that surrounds the plane surface on which I want the interpolated value but I don't know how to indice the faceI to be sure to get the right
Will mesh.Sf() give me all the surface area in the direction  ? Is there any findFace as there is a findCell function ?
Did you find any answer (on your 2nd point more precicely)? I have the same problem:
I'd like to know how I can access/choose the area (of only one of the 6 faces) of an internal cubical finite volume (not near a patch).
I know I have to use the magSf command, but I don't know which face area (or which direction) of the finite volume it gives me.
If you have any infos on this can you foward them to me? If you don't have any, good luck for your search (if I find anything I'll think about you)!
|All times are GMT -4. The time now is 07:36.|