CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   create cyclic patch (http://www.cfd-online.com/Forums/openfoam-solving/68379-create-cyclic-patch.html)

andrea.pasquali September 17, 2009 06:30

create cyclic patch
 
Hi,
I'm trying to use createPatch to create a patch type cyclic coupling two patches (type patch).
When I run createPacth I obtain:

#0 Foam::error:: printStack(Foam::Ostream&) in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigSegv::sigSegvHandler(int) in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 __restore_rt at sigaction.c:0
#3 Foam::face::normal(Foam::Field<Foam::Vector<double > > const&) const in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 Foam::cyclicPolyPatch::getCentresAndAnchors(Foam:: PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::List<Foam::face> const&, Foam::List<Foam::face> const&, Foam::Field<Foam::Vector<double> >&, Foam::Field<Foam::Vector<double> >&, Foam::Field<Foam::Vector<double> >&, Foam::Field<double>&) const in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#5 Foam::cyclicPolyPatch:: order(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::List<int>&, Foam::List<int>&) const in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libOpenFOAM.so"
#6 Foam: polyTopoChange::reorderCoupledFaces(bool, Foam: polyBoundaryMesh const&, Foam::List<int> const&, Foam::List<int> const&, Foam::Field<Foam::Vector<double> > const&) in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libdynamicMesh.so"
#7 Foam: polyTopoChange::compactAndReorder(Foam: polyMesh const&, bool, bool, bool, int&, Foam::Field<Foam::Vector<double> >&, Foam::List<int>&, Foam::List<int>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam:: objectMap>&, Foam::List<Foam::Map<int> >&, Foam::List<int>&, Foam::List<int>&, Foam::List<Foam::Map<int> >&) in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libdynamicMesh.so"
#8 Foam:: polyTopoChange::changeMesh(Foam:: polyMesh&, bool, bool, bool, bool) in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libdynamicMesh.so"
#9 main in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linux64GccDPOpt/createPatch"
#10 __libc_start_main in "/lib64/libc.so.6"
#11 __gxx_personality_v0 in "/home/openfoam15x/OpenFOAM/OpenFOAM-1.5.x/applications/bin/linux64GccDPOpt/createPatch"
Segmentation fault

This is my createPacth dictionary:

matchTolerance 1e-6;
pointSync true;

patches
(
{
name FAN_SERVER_1;
type cyclic;
constructFrom patches;
patches (SERVER_1_INLET SERVER_1_OUTLET);
}

{
name FAN_SERVER_2;
type cyclic;
constructFrom patches;
patches (SERVER_2_INLET SERVER_2_OUTLET);
}

{
name FAN_PORTA;
type cyclic;
constructFrom patches;
patches (PORTA_LATO_CANTINA PORTA_LATO_CORRIDOIO);
}

);



Does anyone knowns where is the matter?

Regards,

Andrea


All times are GMT -4. The time now is 07:00.