CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

bug with alpha1 time dependant boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2012, 10:28
Default bug with alpha1 time dependant boundary
  #1
Member
 
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 14
simpomann is on a distinguished road
Hi there,

I implement the following BC instead of fixedValue 1:

Code:
    inlet
    {
        type            uniformFixedValue;
    uniformValue     table 
    (
      (  0   1)
      ( 0.01 1)
      (0.1  1)
    ); 
    }
What I get in the interfoam-log:

Code:
[0] 
[0] 
[0] --> FOAM FATAL ERROR: 
[0] object is not allocated
[0] 
[0]     From function const T& Foam::autoPtr<T>::operator()() const
[0]     in file /home/preston2/mattijs/rpmbuild/BUILD/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/autoPtrI.H at line 132.
[0] 
FOAM parallel run aborting
Who is mattijs?
I think there is a small bug in there but as I dont really need this boundary I dont investigate further.
It's openFoam 2.1.0 with parallel interfoam.
Sorry if it is already fixed, I had a look in the bug reporting system but I am super busy so maybe I overlooked it.

Greetings,

Simon
simpomann is offline   Reply With Quote

Old   December 22, 2012, 16:05
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Simon,

Since you wrote that you were busy, I've made a test case and checked with the latest 2.1.x and the error does still occur. The report has been made here: http://www.openfoam.org/mantisbt/view.php?id=709

edit: And 1h later it's already fixed!

Best regards,
Bruno
__________________

Last edited by wyldckat; December 22, 2012 at 17:43. Reason: see "edit:"
wyldckat is offline   Reply With Quote

Old   December 22, 2012, 18:49
Default
  #3
Member
 
Simon Arne
Join Date: May 2012
Posts: 42
Rep Power: 14
simpomann is on a distinguished road
Hey,

Thanks for cleaning it up!
I am not sure if it is related, but when I put a flowRate with time-table for U condition in the same case, it crashes as well (interFoam, 2.1.0, parallel).
Well if I find the logfile somewhere I put it in here. Just about to finish my thesis, things go crazy here.

Greetings,

Simon
simpomann is offline   Reply With Quote

Old   December 24, 2012, 15:37
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Simon,

I've tested in the tutorial "multiphase/interFoam/laminar/damBreak" to modify in the "0/U" file the "leftWall" entry to this:
Code:
    leftWall
    {
        type        flowRateInletVelocity;
        flowRate    0.02;        // Volumetric/mass flow rate [m3/s or kg/s]
        value       uniform (0 0 0); // placeholder
    }
Then run with these commands:
Code:
blockMesh
cp 0/alpha1.org 0/alpha1
setFields
decomposePar
foamJob -s -p interFoam
And it ran with no problems, but only when I used OpenFOAM 2.1.x.
With 2.1.1, it was complaining about some "adjoint" thingy when running decomposePar, which is (probably) already fixed in 2.1.x.

Maybe the force be with you to finish the PhD on time!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 12:08
InterFoam negative alpha karasa03 OpenFOAM 7 December 12, 2013 04:41
Interfoam blows on parallel run danvica OpenFOAM Running, Solving & CFD 16 December 22, 2012 03:09
Orifice Plate with a fully developed flow - Problems with convergence jonmec OpenFOAM Running, Solving & CFD 3 July 28, 2011 06:24
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55


All times are GMT -4. The time now is 11:12.