CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Unhandled coupledPolyPatch type cyclic (http://www.cfd-online.com/Forums/openfoam/115808-unhandled-coupledpolypatch-type-cyclic.html)

Ariane April 7, 2013 12:01

Unhandled coupledPolyPatch type cyclic
 
2 Attachment(s)
Hello,

I am working on simulating the flow over a 3D two-element infinite wing with a flap, in order to reduce the noise at the flap leading edge.
I am using snappyHexMesh, OpenFOAM with the LES turbulence model SpalartAllmarasDDES, and cyclic boundary conditions for the surfaces parallel to the flow.

When I run a simulation, I get a fatal error, Unhandled coupledPolyPatch type cyclic, after the first iteration which is writen into a file.
I have copied the error message below, which indicates it is linked to isoSurface. I also read this problem can sometimes be fixed by changing isoSurface to isoSurfaceCell in the controlDict file. However, I have no isoSurface function in my controlDict file, and I am confused as to how to implement it.

When running snappyHexMesh, I get a foam warning at the Morphing iteration 0 concerning excessive displacement, which increases te size of the domain by 10^-18 m on one of the surfaces with a cyclic boundary. Perhaps these errors are related ?

I also get a negative, very small lift coefficient of about 10^-8, which is of the order of 10^-4 when I use zeroGradient ontead of cyclic boundary conditions.

I have attached the snappyHexMesh and controlDict files I am using.

Any help would be greatly appreciated, especially as I am running on a tight schedule.


Thank you !
:)





--> FOAM FATAL ERROR:
Unhandled coupledPolyPatch type cyclic

From function isoSurface::collocatedFaces(const coupledPolyPatch&) const
in file sampledSurface/isoSurface/isoSurface.C at line 94.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::isoSurface::collocatedFaces(Foam::coupledPol yPatch const&) const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libsampling.so"
#3 Foam::isoSurface::isoSurface(Foam::GeometricField< double, Foam::fvPatchField, Foam::volMesh> const&, Foam::Field<double> const&, double, bool, double) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libsampling.so"
#4 Foam::sampledCuttingPlane::createGeometry() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libsampling.so"
#5 Foam::sampledCuttingPlane::update() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libsampling.so"
#6 Foam::sampledSurfaces::update() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libsampling.so"
#7 Foam::sampledSurfaces::write() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libsampling.so"
#8 Foam::OutputFilterFunctionObject<Foam::sampledSurf aces>::execute(bool) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libsampling.so"
#9 Foam::functionObjectList::execute(bool) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#10 Foam::Time::run() const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#11
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/pimpleDyMFoam"
#12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#13
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/pimpleDyMFoam"
Abandon (core dumped)

Ariane April 8, 2013 04:53

It turns out the Unhandled coupledPolyPatch type cyclic error arrose from the fact I had included a cutingPlane function in controlDict.

However, I haven't figured out how to get rid of the foam warning about excessive displacement which arises at the Morphing iteration 0 of snappyHexMesh. It slightly changes the domain, which must be a reason why my results are wrong.


All times are GMT -4. The time now is 16:18.