View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000709OpenFOAM[All Projects] Bugpublic2012-12-22 20:042012-12-22 21:04
Reporterwyldckat 
Assigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.1.x 
Target VersionFixed in Version 
Summary0000709: bug with alpha1 time dependant boundary
DescriptionI've picked up on this thread: http://www.cfd-online.com/Forums/openfoam-bugs/110698-bug-alpha1-time-dependant-boundary.html [^]

Since the original poster on that thread is busy, I've tested with the latest commit 0eb2250690e3090f340899d1d8177eed0880301c of 2.1.x and made the attached case for proof and testing, based on the original "laminar/damBreak" tutorial.

The "leftWall" in the "alpha1" field was changed to this:
    leftWall
    {
        type uniformFixedValue;
        uniformValue table
        (
          (0 0.1)
          (0.01 0.2)
          (0.1 0.3)
        );
    }

The following error pops up when "interFoam" is running (see Steps to Reproduce):
  --> FOAM FATAL ERROR:
  object is not allocated
  
      From function const T& Foam::autoPtr<T>::operator()() const
      in file /home/user/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude/autoPtrI.H at line 132.
  
  FOAM aborting
Steps To ReproduceUnpack the attached file and run inside the unpacked folder:

  blockMesh
  cp 0/alpha1.org 0/alpha1
  setFields
  interFoam
Additional InformationThe "U" and "alpha1.org" files have commented options for using fixed value on alpha1 and having a variable U, to check/prove that the table system works with other fields.
TagsNo tags attached.
Attached Filesgz file icon damBreak_tabled_alpha.tar.gz [^] (3,012 bytes) 2012-12-22 20:04

- Relationships

-  Notes
(0001844)
henry (manager)
2012-12-22 21:04

Resolved by commit 45bb1ecfe0c7338c152ae0ddd6dadb68fcb81a4a

- Issue History
Date Modified Username Field Change
2012-12-22 20:04 wyldckat New Issue
2012-12-22 20:04 wyldckat File Added: damBreak_tabled_alpha.tar.gz
2012-12-22 21:04 henry Note Added: 0001844
2012-12-22 21:04 henry Status new => resolved
2012-12-22 21:04 henry Resolution open => fixed
2012-12-22 21:04 henry Assigned To => henry