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

multiRegionHeater tutorial crashes in OF1.7.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 11, 2011, 10:51
Default multiRegionHeater tutorial crashes in OF1.7.1
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Hello,

I cannot run tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater tutorial. I keep running into errors, fixing them, and then running into more errors. Here's the story.

The first one was that the laplacian scheme was not specified for `p' in bottomAir. That was fixed by using the same one as for all the other fields.
(Interestingly, topAir did not complain that the laplacian scheme is undefined. Likewise, some of the other tutorials don't specify it either).

Fixing the, the following error is the following error message:

Code:
    gradientInternalCoeffs cannot be called for a calculatedFvPatchField
    on patch minX of field p in file "/home/mv/OpenFOAM/mv-1.7.1/run/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/processor3/0/bottomAir/p"
    You are probably trying to solve for a field with a default boundary condition.
I changed the `p' boundary conditions to zeroGradient to deal with that.

The next error then showed up:
Code:
[0] --> FOAM FATAL IO ERROR: 
[0] keyword p is undefined in dictionary "/home/mv/OpenFOAM/mv-1.7.1/run/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/processor0/../system/bottomAir/fvSolution::solvers"
[0] 
[0] file: /home/mv/OpenFOAM/mv-1.7.1/run/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/processor0/../system/bottomAir/fvSolution::solvers from line 21 to line 114.
I added a solver specification for `p' in system/bottomAir/fvSolution file by copying the one for `p_rgh'

The solver finally starts, solving for rho, Us, h, & p but then aborts with the following error:

Code:
[0] --> FOAM FATAL ERROR: 
[0] flux requested but p not specified in the fluxRequired sub-dictionary of fvSchemes.
[0] 
[0]     From function fvMatrix<Type>::flux()
[0]     in file /opt/OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/lnInclude/fvMatrix.C at line 787.
[0]
At this point I am wondering if I am going down the wrong path, in the sense that one of my previous `fixes' is causing all the subsequent problems.

Any thoughts?

Thanks,

Mirko
mirko is offline   Reply With Quote

Old   January 13, 2011, 18:04
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Mirko,

Well, it's been known to happen before... sometimes the tutorial cases packed in the "stable release" versions don't work properly. So my suggestion is to download the 1.7.x git version as explained here: http://www.openfoam.com/download/git.php
Then use the updated desired tutorial from the git version. No need to build the 1.7.x version.
Of course it could also go the other way around: the newest version of the tutorial case doesn't work with the latest stable release.

Best regards and good luck!
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
[mesh manipulation] refineMesh -parallel crashes (in cavity tutorial) andras OpenFOAM Meshing & Mesh Conversion 0 August 8, 2010 14:52
TwoPhaseEulerFoam bed tutorial case crashes in 1.6. Stable in 1.5 hemph OpenFOAM Bugs 2 February 17, 2010 08:10
Help with multiRegionHeater tutorial menorka OpenFOAM 1 January 21, 2010 20:12
TwoPhaseEulerFoam bed tutorial case stable in 1.5, crashes in 1.6 hemph OpenFOAM 3 December 5, 2009 04:19
movingConeTopo tutorial from 1.5-dev crashes with Floating Point Exception jaswi OpenFOAM Running, Solving & CFD 2 April 26, 2009 10:21


All times are GMT -4. The time now is 23:46.