zfaraday |
July 7, 2014 11:06 |
values take by probes function object
Dear Foamers,
I'm working in a conjugate heat transfer problem where I need to probe the values of T in the interfase between a solid and a fluid regions. In order to do that I set up probes in the controlDict-file as follows:
Code:
functions
{
probes_object
{
type probes; //patchProbes;//
functionObjectLibs ("libsampling.so");
region object;
outputControl timeStep;
outputInterval 100;
probeLocations //patchName //
( //points at boundary
(0 0.1 0 ) //bottom
(0 0.1 0.3 ) //top
(-0.2 0.1 0.1 ) //left
(0.2 0.1 0.1 ) //right
(0 -0.1 0.1 ) //front
(0 0.2 0.1 ) //back
(0 0.1 0.15) //inner point in object
(0 0.48 0.1 ) //point behind object
(0 0.25 0.4 ) //point above object
);
fields
(
T
);
}
probes_air
{
type probes; //patchProbes;//
functionObjectLibs ("libsampling.so");
region air;
outputControl timeStep;
outputInterval 100;
probeLocations //patchName //
( //points at boundary
(0 0.1 0 ) //bottom
(0 0.1 0.3 ) //top
(-0.2 0.1 0.1 ) //left
(0.2 0.1 0.1 ) //right
(0 -0.1 0.1 ) //front
(0 0.2 0.1 ) //back
(0 0.1 0.15) //inner point in object
(0 0.48 0.1 ) //point behind object
(0 0.25 0.4 ) //point above object
);
fields
(
T
);
}
}
As you can see I am probing the same point twice, once from the fluid region and once from the solid region. At this stage, a doubt came out to my mind. Where are these values taken from? All the probed points belong to the boundaries so I guess the value retrieved for one of these points is the value of T at the boundary face of the cell that contains that point. However, I don't know if the whole boundary face of a single cell has the same value of T or if only the the value at the center is calculated and then the value for the rest of the points is interpolated.
Morevoer, what if the point was inside a cell but it was not the center? I guess it is interpolated, right?
Regards,
Alex
|