CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   cyclic patch error (https://www.cfd-online.com/Forums/openfoam-pre-processing/251089-cyclic-patch-error.html)

cesarjets July 25, 2023 20:14

cyclic patch error
 
Hello, I'm using gmshtoFoam for this case. It works well. However., I'm getting this error when trying to run the solver:


--> FOAM FATAL ERROR:
More than one patch accessing the same transform but not of the same sign.
patch:frontBoundary transform:0 sign:-1 current transforms:3(-1 -1 0)


for all the files in the 0 folder I defined:



[/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object B;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [1 0 -2 0 0 -1 0];

internalField uniform (0 0 0);

boundaryField
{
leftBoundary
{
type cyclic;
}
rightBoundary
{
type cyclic;
}
frontBoundary
{
type cyclic;
}
backBoundary
{
type cyclic;
}
upperBoundary
{
type cyclic;
}
lowerBoundary
{
type cyclic;
}
wallBoundary
{
type symmetry;
}
}


and for the changeDictionaryDict I have:

[/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object changeDictionaryDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

boundary
{
leftBoundary
{
type cyclic;
physicalType cyclic;
inGroups 1(cyclic);
matchTolerance 0.0001;
transform unspecified;
neighbourPatch rightBoundary;
}
rightBoundary
{
type cyclic;
physicalType cyclic;
inGroups 1(cyclic);
matchTolerance 0.0001;
transform unspecified;
neighbourPatch leftBoundary;
}
frontBoundary
{
type cyclic;
physicalType cyclic;
inGroups 1(cyclic);
matchTolerance 0.0001;
transform unspecified;
neighbourPatch backBoundary;
}
backBoundary
{
type cyclic;
physicalType cyclic;
inGroups 1(cyclic);
matchTolerance 0.0001;
transform unspecified;
neighbourPatch frontBoundary;
}
upperBoundary
{
type cyclic;
physicalType cyclic;
inGroups 1(cyclic);
matchTolerance 0.0001;
transform unspecified;
neighbourPatch lowerBoundary;
}
lowerBoundary
{
type cyclic;
physicalType cyclic;
inGroups 1(cyclic);
matchTolerance 0.0001;
transform unspecified;
neighbourPatch upperBoundary;
}
wallBoundary
{
type symmetry;
physicalType symmetry;
inGroups 1(symmetry);
matchTolerance 0.0001;
transform unspecified;
neighbourPatch leftBoundary;
}
}


Any help on how to solve this will be greatly appreciated. Thanks


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