View Issue Details

IDProjectCategoryView StatusLast Update
0001503OpenFOAM[All Projects] Bugpublic2015-01-31 14:52
ReporterderekmAssigned Tohenry 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOpenSuSEOS Version12.3
Product Version 
Fixed in Version 
Summary0001503: CHTMultiRegionSimpleFoam : Unknown patchField type porousBafflePressure
DescriptionCHTMultiRegionSimpleFoam crashes with
--> FOAM FATAL IO ERROR:
Unknown patchField type porousBafflePressure for patch type cyclic

Valid patchField types are :

102
(
MarshakRadiation
MarshakRadiationFixedTemperature
advective
calculated
....
)


file: /home/derekm/OpenFOAM/derekm-2.3.1/run/multiRegionHeaterRadiation/0/topAir/p_rgh.boundaryField.porous_half0 from line 73 to line 79.

    From function fvPatchField<Type>::New(const fvPatch&, const DimensionedField<Type, volMesh>&, const dictionary&)
    in file /opt/OpenFOAM-2.3.1/src/finiteVolume/lnInclude/fvPatchFieldNew.C at line 143.
Steps To Reproducecreate copy of multiRegionHeaterRadiation tutorial
take copy of createBafflesDict from /tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/system
place in multiRegionHeaterRadiation/system/topAir/

edit Allrun from

...
runApplicationrunApplication `getApplication`
...

to
runApplication createBaffles -region topAir -overwrite
runApplication `getApplication`


then execute Allrun.
TagsNo tags attached.

Activities

henry

2015-01-30 20:22

manager   ~0003629

You cannot apply the porousBafflePressure BC to a cyclic patch. A cyclic patch is just that: cyclic.

derekm

2015-01-30 21:19

reporter   ~0003630

Last edited: 2015-01-30 21:23

View 3 revisions

Please review my steps to reproduce. Your reason to close does not correspond to the following facts :
1) porousBafflePressure is a BC to a cyclic patch in /tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/ and it WORKS!

2) its documented as a BC to a cyclic in the header of the source code
from porousBafflePressureFvPatchField.H
\verbatim
myPatch
{
type porousBafflePressure;
patchType cyclic;
jump uniform 0;
D 1000000;
I 0.001;
L 0.1;
value uniform 0;
}
\endverbatim

henry

2015-01-30 21:53

manager   ~0003631

Sorry about the hasty closure, your are quite correct, porousBafflePressure is indeed a cyclic BC but it is not linked into all the applications by default; it in a special BC library which need to be linked-in at run-time if needed. You will notice the following in the damBreakPorousBaffle/system/controlDict

libs
(
    "libturbulenceDerivedFvPatchFields.so"
    "libincompressibleTurbulenceModel.so"
    "libincompressibleRASModels.so"
);

and you will need the same.

Issue History

Date Modified Username Field Change
2015-01-30 20:05 derekm New Issue
2015-01-30 20:22 henry Note Added: 0003629
2015-01-30 20:22 henry Status new => closed
2015-01-30 20:22 henry Assigned To => henry
2015-01-30 20:22 henry Resolution open => fixed
2015-01-30 21:19 derekm Note Added: 0003630
2015-01-30 21:19 derekm Status closed => feedback
2015-01-30 21:19 derekm Resolution fixed => reopened
2015-01-30 21:22 derekm Note Edited: 0003630 View Revisions
2015-01-30 21:23 derekm Note Edited: 0003630 View Revisions
2015-01-30 21:53 henry Note Added: 0003631
2015-01-30 21:53 henry Status feedback => resolved
2015-01-30 21:53 henry Resolution reopened => fixed