CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   conjugateHeatFoam:given field does not correspond to patch (https://www.cfd-online.com/Forums/openfoam/75620-conjugateheatfoam-given-field-does-not-correspond-patch.html)

dinonettis April 30, 2010 13:56

conjugateHeatFoam:given field does not correspond to patch
 
Hi everybody,

I was trying to simulate a CHT problem, a 2d cylinder in cross-flow, by means of conjugateHeatFoam. I think everything it's ok in the settings and in particular:

------------------- SOLID SIDE--------------------
interface
{
type regionCouple;
nFaces 80;
startFace 1150;

shadowRegion region0;
shadowPatch sphere;
attached on;
}

-------------------FLUID SIDE-------------------
sphere
{
type regionCouple;
nFaces 80;
startFace 15920;

shadowRegion solid;
shadowPatch interface;
attached on;
}

this should be ok since the interface patch is correctly defined on both side in the boundary files.
However I get the following error message when I try to run it:

given field does not correspond to patch. Patch size: 80 field size: 0

From function PatchToPatchInterpolation::faceInterpolate(const Field<Type> ff)
in file /home/nettis/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/PatchToPatchInterpolate.C at line 133.

FOAM aborting

Any idea about that??
thanks in advance,

Dino

dinonettis April 30, 2010 14:40

ok,

I found the problem, the remoteField in the BCs was declared as DT in the T file!!
Have a nice weekend.


All times are GMT -4. The time now is 11:50.