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

bugs of buoyantBoussinesqPisoFoam or fixedFluxPressure in foam-extend 3.1 and 3.2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2016, 10:13
Default bugs of buoyantBoussinesqPisoFoam or fixedFluxPressure in foam-extend 3.1 and 3.2
  #1
New Member
 
Aaron
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Aaron_L is on a distinguished road
Dear foamers,
I have found some bugs in foam-extend3.1 and foam-extend3.2
My test case is /heatTransfer/buoyantBoussinesqPisoFoam/hotRoom

[1]bugs in foam-extend 3.1
I changed the pressure boundary from buoyantPressure to fixedFluxPressure,
Quote:
floor
{
type fixedFluxPressure;
rho rhok;
value uniform 0;
adjoint false;
}
ceiling
{
type fixedFluxPressure;
rho rhok;
value uniform 0;
adjoint false;
}
fixedWalls
{
type fixedFluxPressure;
rho rhok;
value uniform 0;
adjoint false;
}
then foam-extend3.1 occurs some errors:
Quote:
Time = 1

Courant Number mean: 0 max: 0 velocity magnitude: 0
DILUPBiCG: Solving for Ux, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 8.12238e-06, No Iterations 4
DILUPBiCG: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCG: Solving for T, Initial residual = 1, Final residual = 2.56071e-06, No Iterations 6


--> FOAM FATAL ERROR:

lookup of (1|A(U)) from objectRegistry region0 successful
but it is not a volScalarField, it is a surfaceScalarField

From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/Aaron/foam/foam-extend-3.1/src/foam/lnInclude/objectRegistryTemplates.C at line 120.

FOAM aborting
[2]bugs in foam-extend3.2
then, I run the above case in foam-extend3.2 use one cpu thread, I found it can run!!! and with out "lookup of (1|A(U)) from objectRegistry region0 successful, but it is not a volScalarField, it is a surfaceScalarField" bugs.

However, when I use mpirun, it occurs bugs:
Quote:
Running setHotRoom on /media/Aaron/disk/tutorials_fe31/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom_test
[0] [1]
[1]
[1] --> FOAM FATAL IO ERROR:
[1] wrong token type - expected word found on line 28 the punctuation token '('
[1]
[1] file: /media/Aaron/disk/tutorials_fe31/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom_test/processor1/0/p::boundaryField::floor::rAU at line 28.
[1]
[1] From function operator>>(Istream&, word&)
[1] in file primitives/strings/word/wordIO.C at line 76.
[1]
FOAM parallel run exiting

[0]
[0] --> FOAM FATAL IO ERROR:
[0] wrong token type - expected word found on line 28 the punctuation token '('
[0]
[0] file: /media/Aaron/disk/tutorials_fe31/heatTransfer/buoyantBoussinesqPisoFoam/hotRoom_test/processor0/0/p::boundaryField::floor::rAU at line 28.
[0]
[0] From function operator>>(Istream&, word&)
[0] in file primitives/strings/word/wordIO.C at line 76.
[0] [1]

FOAM parallel run exiting
[0]
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD
with errorcode 1.
Can someone help me solve this bug?

Best Regrads,
Aaron
Aaron_L is offline   Reply With Quote

Old   June 7, 2016, 10:42
Default
  #2
New Member
 
Aaron
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Aaron_L is on a distinguished road
I am sorry I didn't seen this http://www.cfd-online.com/Forums/ope...d-1-6-ext.html
Quote:
If you have found bugs in the following variants/forks of OpenFOAM:
OpenFOAM 1.6-ext
foam-extend 3.0
foam-extend 3.1
Please report them in the dedicated bug tracker for the Extend Project: http://sourceforge.net/p/openfoam-ex...extendrelease/
how can I delete this post?
or can administrator help me delete this post?
Aaron_L is offline   Reply With Quote

Old   June 8, 2016, 00:01
Default
  #3
New Member
 
Aaron
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Aaron_L is on a distinguished road
Hi, Foamers
this problem has been solved, check this thread https://sourceforge.net/p/openfoam-e...ndrelease/304/
this is not a bug, change boundary field of p to this, then the case works fine
Quote:
floor
{
type fixedFluxPressure;
rho rhok;
rAU rUA;
}
ceiling
{
type fixedFluxPressure;
rho rhok;
rAU rUA;
}
fixedWalls
{
type fixedFluxPressure;
rho rhok;
rAU rUA;
}
Best,
Aaron
Aaron_L is offline   Reply With Quote

Old   July 29, 2016, 08:35
Default
  #4
Member
 
Vignesh
Join Date: Oct 2012
Location: Darmstadt, Germany
Posts: 66
Rep Power: 13
vigneshTG is on a distinguished road
Hi Aaron,

I am using foam extend -3.2 and when i make the changes you suggested in the above posts while using fixedFluxPressure boundary condition, i still get error as shown below. I am using interfoam

Code:
[10] 
[10] 
[10] --> FOAM FATAL ERROR: 
[10]  Field rUA not found for patch groove_1 and field pd
[10] 
[10]     From function void fixedFluxPressureFvPatchScalarField::updateCoeffs()
[10]     in file fields/fvPatchFields/derived/fixedFluxPressure fixedFluxPressureFvPatchScalarField.C at line 168.
[10] 
FOAM parallel run aborting
Code:
  
  groove_1
    {
        type            fixedFluxPressure;
        rho             rho;
        rAU            rUA;

    }
Can you help me in rectifying this ?
__________________
Thanks and Regards

Vignesh
vigneshTG is offline   Reply With Quote

Old   July 30, 2016, 06:34
Default
  #5
New Member
 
Aaron
Join Date: Apr 2016
Posts: 24
Rep Power: 10
Aaron_L is on a distinguished road
Hi, Vignesh

{
type fixedFluxPressure;
rho rhok;
rAU rUA;
}
this change can work in foam-extend-3.1
I encountered the same problem in extend-3.2, so I am not using extend-3.2, sorry I cannot solve your problem......
Aaron_L is offline   Reply With Quote

Old   July 30, 2016, 07:11
Default
  #6
Member
 
Vignesh
Join Date: Oct 2012
Location: Darmstadt, Germany
Posts: 66
Rep Power: 13
vigneshTG is on a distinguished road
Hi Aaron,

Thanks for the reply, i found now an intermediate solution.

it works with

{
type fixedFluxPressure;
rho rho;
rAU rAU;
}

After setFields, the last entry changes to (1/A(U)) which must be reset again to rAU. Then the solver runs ... But in parallel, reconstructing the case creates the problem ...
__________________
Thanks and Regards

Vignesh
vigneshTG 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
[foam-extend.org] paraview not runing? (foam extended 3.2 and ubuntu 15.04) Milan2013 OpenFOAM Installation 23 April 20, 2017 05:49
Release of foam-extend-3.2 fguibault OpenFOAM Announcements from Other Sources 15 November 2, 2016 15:12
[foam-extend.org] Foam extend 3.2: cannot find -liberty sampy OpenFOAM Installation 4 May 13, 2016 04:54
[foam-extend.org] Foam extend 3.2 wrong installation directory geop OpenFOAM Installation 0 May 11, 2016 05:52
Femlab 3.2 to Femlab 3.1 Farsad COMSOL 0 August 22, 2007 10:31


All times are GMT -4. The time now is 06:55.