View Issue Details

IDProjectCategoryView StatusLast Update
0000847OpenFOAMBugpublic2013-05-20 09:23
Reporteruser652Assigned Touser4 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Summary0000847: timeVaryingMappedFixedValue crashes during create fields in interFoam
DescriptionThis may be bug 0000515 resurfacing in OF v2.2.0. I am running a case with a timeVaryingMappedFixedValue boundary condition, and the solver crashes on the line: rho.oldTime(); in the createFields.H file. My same case works fine on 2.1.1. I have added the stack trace in the additional information.

Thanks.
Additional Information#0 Foam::error::printStack(Foam::Ostream&) in "/home/arattner3/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/arattner3/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::timeVaryingMappedFixedValueFvPatchField<double>::timeVaryingMappedFixedValueFvPatchField(Foam::timeVaryingMappedFixedValueFvPatchField<double> const&, Foam::DimensionedField<double, Foam::volMesh> const&) in "/home/arattner3/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#3 Foam::timeVaryingMappedFixedValueFvPatchField<double>::clone(Foam::DimensionedField<double, Foam::volMesh> const&) const in "/home/arattner3/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#4 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::GeometricBoundaryField(Foam::DimensionedField<double, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField const&) in "/home/arattner3/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/interFoam"
#5 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/arattner3/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/interFoam"
#6 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::oldTime() const in "/home/arattner3/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/interFoam"
TagsNo tags attached.

Activities

user4

2013-05-14 14:51

  ~0002195

Do you have a simple testcase that replicates the problem?

user4

2013-05-16 09:07

  ~0002209

I cannot replicate this in 2.2.x on the damBreak (interFoam) tutorial, either with Euler or backwards time differencing. Can you confirm that the problem is not present in 22x?

user652

2013-05-16 14:40

 

user652

2013-05-16 14:40

  ~0002213

Hello Matt, sorry for the delay. Please see the attached example (just run blockMesh, then interFoam). It works fine in V2.1.1, but crashes in V2.2.0. It seems to happen at the oldTime() call in createFields.H. Thank you.

user4

2013-05-20 09:23

  ~0002217

fixed in ed38ef7ba337d44c9f5ea619d01e8f96edb021b0. Thanks for reporting.

Issue History

Date Modified Username Field Change
2013-05-13 20:23 user652 New Issue
2013-05-14 14:51 user4 Note Added: 0002195
2013-05-16 09:07 user4 Note Added: 0002209
2013-05-16 14:40 user652 File Added: timeVaryingMappedFixedValue-Test.zip
2013-05-16 14:40 user652 Note Added: 0002213
2013-05-20 09:23 user4 Note Added: 0002217
2013-05-20 09:23 user4 Status new => resolved
2013-05-20 09:23 user4 Fixed in Version => 2.2.x
2013-05-20 09:23 user4 Resolution open => fixed
2013-05-20 09:23 user4 Assigned To => user4