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/)
-   -   mapField error (https://www.cfd-online.com/Forums/openfoam-pre-processing/197958-mapfield-error.html)

rvl565 January 22, 2018 12:23

mapField error
 
Hi,

I have the following error when using the map fields. I am simply trying to map a coarse mesh solution to a finer mesh so that i have a good initial guess for the finer mesh.

Please let me know if someone knows how to fix this or where I should start ! Thanks!

mapFields -fields '(U p)' -sourceTime 'latestTime' -consistent ../sourcePath

Source time: 3.422646
Target time: 0

Create meshes

Source mesh size: 6990170 Target mesh size: 53916486


Consistently creating and mapping fields for time 3.422646

Creating mesh-to-mesh addressing for region0 and region0 regions using cellVolumeWeight
Overlap volume: 0.00795652286
Creating AMI between source patch INLET and target patch INLET using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.99999954, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999996531, 1, 1
Creating AMI between source patch bump and target patch bump using faceAreaWeightAMI
AMI: Creating addressing and weights between 44770 source faces and 180115 target faces
AMI: Patch source sum(weights) min/max/average = 0.999980562, 1.00467407, 1.0000221
AMI: Patch target sum(weights) min/max/average = 0.999962995, 1.00565963, 1.00000744
Creating AMI between source patch inlet and target patch inlet using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999669, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999998917, 1, 1
Creating AMI between source patch outflow and target patch outflow using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.99999954, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999996527, 1, 1
Creating AMI between source patch outlet and target patch outlet using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999668, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999998914, 1, 1
Creating AMI between source patch plate and target patch plate using faceAreaWeightAMI
AMI: Creating addressing and weights between 19360 source faces and 66079 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999987, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999999948, 1.00000002, 1
Creating AMI between source patch top and target patch top using faceAreaWeightAMI
AMI: Creating addressing and weights between 44770 source faces and 180115 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999999, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999999998, 1, 1
Creating AMI between source patch top1 and target patch top1 using faceAreaWeightAMI
AMI: Creating addressing and weights between 19360 source faces and 66079 target faces
AMI: Patch source sum(weights) min/max/average = 1, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999999991, 1.00000001, 1
interpolating p
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib64/libc.so.6"
#3 void Foam::AMIInterpolation<Foam::PrimitivePatch<Foam:: face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::interpolateToTarget<double, Foam::multiplyWeightedOp<double, Foam::plusEqOp<double> > >(Foam::UList<double> const&, Foam::multiplyWeightedOp<double, Foam::plusEqOp<double> > const&, Foam::List<double>&, Foam::UList<double> const&) const at ??:?
#4 ? at ??:?
#5 ? at ??:?
#6 ? at ??:?
#7 ? at ??:?
#8 __libc_start_main in "/lib64/libc.so.6"
#9 ? at /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:116
Segmentation fault (core dumped)

syavash September 6, 2018 16:13

Quote:

Originally Posted by rvl565 (Post 678952)
Hi,

I have the following error when using the map fields. I am simply trying to map a coarse mesh solution to a finer mesh so that i have a good initial guess for the finer mesh.

Please let me know if someone knows how to fix this or where I should start ! Thanks!

mapFields -fields '(U p)' -sourceTime 'latestTime' -consistent ../sourcePath

Source time: 3.422646
Target time: 0

Create meshes

Source mesh size: 6990170 Target mesh size: 53916486


Consistently creating and mapping fields for time 3.422646

Creating mesh-to-mesh addressing for region0 and region0 regions using cellVolumeWeight
Overlap volume: 0.00795652286
Creating AMI between source patch INLET and target patch INLET using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.99999954, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999996531, 1, 1
Creating AMI between source patch bump and target patch bump using faceAreaWeightAMI
AMI: Creating addressing and weights between 44770 source faces and 180115 target faces
AMI: Patch source sum(weights) min/max/average = 0.999980562, 1.00467407, 1.0000221
AMI: Patch target sum(weights) min/max/average = 0.999962995, 1.00565963, 1.00000744
Creating AMI between source patch inlet and target patch inlet using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999669, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999998917, 1, 1
Creating AMI between source patch outflow and target patch outflow using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.99999954, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999996527, 1, 1
Creating AMI between source patch outlet and target patch outlet using faceAreaWeightAMI
AMI: Creating addressing and weights between 11990 source faces and 48399 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999668, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999998914, 1, 1
Creating AMI between source patch plate and target patch plate using faceAreaWeightAMI
AMI: Creating addressing and weights between 19360 source faces and 66079 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999987, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999999948, 1.00000002, 1
Creating AMI between source patch top and target patch top using faceAreaWeightAMI
AMI: Creating addressing and weights between 44770 source faces and 180115 target faces
AMI: Patch source sum(weights) min/max/average = 0.999999999, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999999998, 1, 1
Creating AMI between source patch top1 and target patch top1 using faceAreaWeightAMI
AMI: Creating addressing and weights between 19360 source faces and 66079 target faces
AMI: Patch source sum(weights) min/max/average = 1, 1, 1
AMI: Patch target sum(weights) min/max/average = 0.999999991, 1.00000001, 1
interpolating p
#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 ? in "/lib64/libc.so.6"
#3 void Foam::AMIInterpolation<Foam::PrimitivePatch<Foam:: face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::interpolateToTarget<double, Foam::multiplyWeightedOp<double, Foam::plusEqOp<double> > >(Foam::UList<double> const&, Foam::multiplyWeightedOp<double, Foam::plusEqOp<double> > const&, Foam::List<double>&, Foam::UList<double> const&) const at ??:?
#4 ? at ??:?
#5 ? at ??:?
#6 ? at ??:?
#7 ? at ??:?
#8 __libc_start_main in "/lib64/libc.so.6"
#9 ? at /usr/src/packages/BUILD/glibc-2.11.3/csu/../sysdeps/x86_64/elf/start.S:116
Segmentation fault (core dumped)




Hi there,


I have an identical error when using mapFields. Could you find the reason and the possible solution?


Regards,
Syavash


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