CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   directMapped Method in OF-1.6 (http://www.cfd-online.com/Forums/openfoam-bugs/72408-directmapped-method-1-6-a.html)

Kr_kim February 4, 2010 16:05

directMapped Method in OF-1.6
 
Dear Dr. Eugene and all formers

I have a quick question for you regarding directMapped method in OF-1.6. The directMethod was worked well in tutorial case with nearestCell option. But in my case, contoured hill case, it shows error message below
Do you have any idea to resolve this?

Thanks in advance

Kyungrock

Based on private correspondence with Dr Eugene, It looks like a bug. Have anybody resolved this problem?

Badly formed bounding box:(0.0025 7.03889e-05 0.00025) (0.09 0.0190528 0.00025)#0 Foam::error::printStack(Foam::Ostream&) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam::indexedOctree<Foam::treeDataPoint>::divide(F oam::treeBoundBox const&, Foam::DynamicList<Foam::List<int>, 0u, 2u, 1u>&, int) const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#3 Foam::indexedOctree<Foam::treeDataPoint>::splitNod es(int, Foam::DynamicList<Foam::indexedOctree<Foam::treeDa taPoint>::node, 0u, 2u, 1u>&, Foam::DynamicList<Foam::List<int>, 0u, 2u, 1u>&) const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#4 Foam::indexedOctree<Foam::treeDataPoint>::indexedO ctree(Foam::treeDataPoint const&, Foam::treeBoundBox const&, int, double, double) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#5 Foam::meshSearch::cellCentreTree() const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#6 Foam::meshSearch::findNearestCellTree(Foam::Vector <double> const&) const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#7 Foam::meshSearch::findCell(Foam::Vector<double> const&, int, bool) const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#8 Foam::directMappedPatchBase::findSamples(Foam::Fie ld<Foam::Vector<double> > const&, Foam::List<int>&, Foam::List<int>&, Foam::Field<Foam::Vector<double> >&) const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#9 Foam::directMappedPatchBase::calcMapping() const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libmeshTools.so"
#10 Foam::directMappedFixedValueFvPatchField<Foam::Vec tor<double> >::directMappedFixedValueFvPatchField(Foam::fvPa tc h const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libfiniteVolume.so"
#11 Foam::fvPatchField<Foam::Vector<double> >::adddictionaryConstructorToTable<Foam::directM ap pedFixedValueFvPatchField<Foam::Vector<double> > >::New(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libfiniteVolume.so"
#12 Foam::fvPatchField<Foam::Vector<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/pisoFoam1"
#13 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricB oundaryField(Foam::fvBoundaryMesh const&, Foam::DimensionedField<Foam::Vector<double>, Foam::volMesh> const&, Foam::dictionary const&) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/pisoFoam1"
#14 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::readField(Foam::Istream&) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/pisoFoam1"
#15 Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/pisoFoam1"
#16 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/pisoFoam1"
#17 __libc_start_main in "/lib64/libc.so.6"
#18 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/storage/kkim/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/pisoFoam1"


From function indexedOctree<Type>::divide(..)
in file lnInclude/indexedOctree.C at line 212.

mattijs February 4, 2010 17:32

can you try an uptodate 1.6.x? If you still get an error with that can you post a testcase?

Thanks,

Mattijs

Kr_kim February 4, 2010 18:36

Dear Mattijs

Thanks for the reply

I'm updating it now

Best regards,

Kyungrock


All times are GMT -4. The time now is 02:03.