View Issue Details

IDProjectCategoryView StatusLast Update
0000515OpenFOAMBugpublic2012-04-18 12:03
Reporteruser416Assigned Touser4 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSArchOS Version-
Summary0000515: pimpleFoam crashes when using timeVaryingMappedFixedValue on inlet
DescriptionpimpleFoam crashes when using timeVaryingMappedFixedValue for velocity at an inlet. This happens since commit e29adc111f7db2b86d. Reverting this commit everything works fine again. Unfortunately this can not be reproduced with the tutorial case simpleFoam/pitzDailyExptInlet. Compiler version is gcc-4.6.3.
Additional InformationBuild : 2.1.x-09cf13226fae
Exec : pimpleFoam
Date : Apr 18 2012
Time : 09:14:52
Host : "paragon"
PID : 14698
Case : /home/g/OpenFOAM/goethel-2.1.x/run/testpile
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

Reading field U

timeVaryingMappedFixedValueFvPatchField : Read 3 sample points from "/home/g/OpenFOAM/g-2.1.x/runtestpile/constant/boundaryData/zulauf/points"
timeVaryingMappedFixedValueFvPatchField : In directory "/home/g/OpenFOAM/g-2.1.x/run/testpile/constant/boundaryData/zulauf" found times
2
(
0
5
)

checkTable : Reading startValues from "boundaryData/zulauf/0"
checkTable : Reading endValues from "boundaryData/zulauf/5"
updateCoeffs : Sampled, interpolated values between start time:0 and end time:5 with weight:0
updateCoeffs : set fixedValue to min:(0 0 0) max:(0 0 0)
Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RASModel
Selecting RAS turbulence model realizableKE
realizableKECoeffs
{
    Cmu 0.09;
    A0 4;
    C2 1.9;
    sigmak 1;
    sigmaEps 1.2;
}

No field sources present


PIMPLE: Operating solver in PISO mode


Starting time loop

Courant Number mean: 0 max: 0
deltaT = 0.0119048
Time = 0.0119048

updateCoeffs : Sampled, interpolated values between start time:0 and end time:5 with weight:0.00238095
updateCoeffs : set fixedValue to min:(0.000952381 0 0) max:(0.000952381 0 0)
DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 3.11127e-09, No Iterations 1
DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0


--> FOAM FATAL ERROR:
object is not allocated

    From function T& Foam::autoPtr<T>::operator()()
    in file /home/g/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/autoPtrI.H at line 118.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/home/g/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/g/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::timeVaryingMappedFixedValueFvPatchField<Foam::Vector<double> >::checkTable() in "/home/g/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#3 Foam::timeVaryingMappedFixedValueFvPatchField<Foam::Vector<double> >::updateCoeffs() in "/home/g/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::fvMatrix<Foam::Vector<double> >::fvMatrix(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/home/g/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/pimpleFoam"
#5
 at pimpleFoam.C:0
#6
 in "/home/g/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/pimpleFoam"
#7 __libc_start_main in "/lib/libc.so.6"
#8
 in "/home/g/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/bin/pimpleFoam"
TagsNo tags attached.

Activities

user4

2012-04-18 10:06

  ~0001272

There was a big refactoring in that commit so I might have made a mistake. Can you send me (mjanssens at sgi.com) a testcase that reproduces the problem?

user4

2012-04-18 12:03

  ~0001273

Fixed in cf4f839c9774cc6c8897248ee9452122fcc8fbb5.

Thanks for reporting and sorry for any inconvenience caused.

Issue History

Date Modified Username Field Change
2012-04-18 08:32 user416 New Issue
2012-04-18 10:06 user4 Note Added: 0001272
2012-04-18 12:03 user4 Note Added: 0001273
2012-04-18 12:03 user4 Status new => resolved
2012-04-18 12:03 user4 Fixed in Version => 2.1.x
2012-04-18 12:03 user4 Resolution open => fixed
2012-04-18 12:03 user4 Assigned To => user4