CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Cyclic boundary error in reactingParcelFilmFoam (https://www.cfd-online.com/Forums/openfoam/205381-cyclic-boundary-error-reactingparcelfilmfoam.html)

neilk August 16, 2018 15:54

Cyclic boundary error in reactingParcelFilmFoam
 
Hello.
I am trying to simulate flow in a bifurcating channel (one inlet named INLET and 2 outlets coupled as OUTLETS) with surface film on it. The solver I'm trying to use is reactingParcelFilmFoam. But I face the following error:

AMI: Creating addressing and weights between 56 source faces and 101 target faces
--> FOAM Warning :
From function void Foam::AMIMethod<SourcePatch, TargetPatch>::checkPatches() const [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>]
in file lnInclude/AMIMethod.C at line 57
Source and target patch bounding boxes are not similar
source box span : (0.05119999904 0.05118754041 1.52368e-006)
target box span : (0.1997277537 0.04618446137 0.0378344416)
source box : (-0.02559999952 -0.02559712399 -0.1000011034) (0.02559999952 0.02559041642 -0.09999957972)
target box : (-0.09986398835 -0.02308501394 0.1047726057) (0.0998637653 0.02309944743 0.1426070473)
inflated target box : (-0.1102869948 -0.03350802035 0.09434959929) (0.1102867717 0.03352245384 0.1530300537)


--> FOAM FATAL ERROR:
Unable to find initial target face

From function bool Foam::AMIMethod<SourcePatch, TargetPatch>::initialise(Foam::labelListList&, Foam::scalarListList&, Foam::labelListList&, Foam::scalarListList&, Foam::label&, Foam::label&) [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; Foam::labelListList = Foam::List<Foam::List<int> >; Foam::scalarListList = Foam::List<Foam::List<double> >; Foam::label = int]
in file lnInclude/AMIMethod.C at line 127.

FOAM aborting

For creating the surface film I use extrudeToRegionMesh. Is there any way to run this case without having the new surface films boundaries as cyclic? The polymesh generated by default after extrudeToRegionMesh is as follows:

(
INLET
{
type patch;
nFaces 56;
startFace 23224;
}
OUTLETS
{
type patch;
nFaces 101;
startFace 23280;
}
wallFilmFaces_top
{
type patch;
nFaces 15535;
startFace 23381;
}
region0_to_wallFilmRegion_wallFilmFaces
{
type mappedWall;
inGroups 1(wall);
nFaces 15535;
startFace 38916;
sampleMode nearestPatchFace;
sampleRegion region0;
samplePatch region0_to_wallFilmRegion_wallFilmFaces;
offsetMode nonuniform;
offsets nonuniform List<vector>



Thank you


All times are GMT -4. The time now is 10:21.