ENH: porousExplicitSourceReactingParcelFoam adapted for createBaffles

This commit is contained in:
mattijs
2010-05-17 18:05:04 +01:00
parent 8816653041
commit f54de2aad9
7 changed files with 99 additions and 44 deletions

2
TODO
View File

@ -83,7 +83,7 @@ OK - grep for size()/2
OK - incompressible/boundaryFoam/boundaryLaunderSharma OK - incompressible/boundaryFoam/boundaryLaunderSharma
OK - incompressible/boundaryFoam/boundaryWallFunctions OK - incompressible/boundaryFoam/boundaryWallFunctions
OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile OK - incompressible/boundaryFoam/boundaryWallFunctionsProfile
needs createBaffles. ncompressible/pimpleFoam/t-junction-with-fan OK - needs createBaffles. incompressible/pimpleFoam/t-junction-with-fan
OK - incompressible/simpleSRFFoam/mixer OK - incompressible/simpleSRFFoam/mixer
needs createBaffles. lagrangian/porousExplicitSourceReactingParcelFoam/filter needs createBaffles. lagrangian/porousExplicitSourceReactingParcelFoam/filter
needs special coupledbcs. lagrangian/reactingParcelFilmFoam/multipleBoxes needs special coupledbcs. lagrangian/reactingParcelFilmFoam/multipleBoxes

View File

@ -27,6 +27,9 @@ boundaryField
T T; T T;
emissivity 1; emissivity 1;
value uniform 0; value uniform 0;
refValue uniform 0;
refGradient uniform 0;
valueFraction uniform 0;
} }
inlet inlet
{ {
@ -34,6 +37,9 @@ boundaryField
T T; T T;
emissivity 1; emissivity 1;
value uniform 0; value uniform 0;
refValue uniform 0;
refGradient uniform 0;
valueFraction uniform 0;
} }
outlet outlet
{ {

View File

@ -27,6 +27,9 @@ boundaryField
T T; T T;
emissivity 1; emissivity 1;
value uniform 0; value uniform 0;
refValue uniform 0;
refGradient uniform 0;
valueFraction uniform 0;
} }
inlet inlet
{ {
@ -34,6 +37,9 @@ boundaryField
T T; T T;
emissivity 1; emissivity 1;
value uniform 0; value uniform 0;
refValue uniform 0;
refGradient uniform 0;
valueFraction uniform 0;
} }
outlet outlet
{ {

View File

@ -17,10 +17,10 @@ setsToZones -noFlipMap >& log.setsToZones
# create the first cyclic - lhs of porous zone # create the first cyclic - lhs of porous zone
unset FOAM_SETNAN unset FOAM_SETNAN
createBaffles cycLeft cycLeft -overwrite >& log.createBaffles1 createBaffles cycLeft '(cycLeft_half0 cycLeft_half1)' -overwrite >& log.createBaffles1
# create the second cyclic - rhs of porous zone # create the second cyclic - rhs of porous zone
createBaffles cycRight cycRight -overwrite >& log.createBaffles2 createBaffles cycRight '(cycRight_half0 cycRight_half1)' -overwrite >& log.createBaffles2
runApplication $application runApplication $application

View File

@ -62,51 +62,87 @@ edges
( (
); );
patches boundary
( (
wall walls walls
( {
( 0 1 13 12) type wall;
( 1 2 14 13) faces
( 2 3 15 14) (
( 3 4 16 15) ( 0 1 13 12)
( 4 5 17 16) ( 1 2 14 13)
( 6 7 19 18) ( 2 3 15 14)
( 7 8 20 19) ( 3 4 16 15)
( 8 9 21 20) ( 4 5 17 16)
( 9 10 22 21) ( 6 7 19 18)
(10 11 23 22) ( 7 8 20 19)
) ( 8 9 21 20)
( 9 10 22 21)
(10 11 23 22)
);
}
patch inlet inlet
( {
(11 0 12 23) type patch;
) faces
(
(11 0 12 23)
);
}
patch outlet outlet
( {
( 5 6 18 17) type patch;
) faces
(
( 5 6 18 17)
);
}
cyclic cycLeft cycLeft_half0
() {
type cyclic;
faces ();
neighbourPatch cycLeft_half1;
}
cycLeft_half1
{
type cyclic;
faces ();
neighbourPatch cycLeft_half0;
}
cyclic cycRight cycRight_half0
() {
type cyclic;
faces ();
neighbourPatch cycRight_half1;
}
cycRight_half1
{
type cyclic;
faces ();
neighbourPatch cycRight_half0;
}
empty frontAndBack frontAndBack
( {
( 0 11 10 1) type empty;
( 1 10 9 2) faces
( 2 9 8 3) (
( 3 8 7 4) ( 0 11 10 1)
( 4 7 6 5) ( 1 10 9 2)
(12 13 22 23) ( 2 9 8 3)
(13 14 21 22) ( 3 8 7 4)
(14 15 20 21) ( 4 7 6 5)
(15 16 19 20) (12 13 22 23)
(16 17 18 19) (13 14 21 22)
) (14 15 20 21)
(15 16 19 20)
(16 17 18 19)
);
}
); );

View File

@ -136,7 +136,11 @@ LocalInteractionCoeffs
{ {
type rebound; type rebound;
} }
cycLeft cycLeft_half0
{
type rebound;
}
cycLeft_half1
{ {
type rebound; type rebound;
} }
@ -184,7 +188,8 @@ PatchPostProcessingCoeffs
patches patches
( (
cycLeft cycLeft_half0
cycLeft_half1
); );
} }

View File

@ -15,6 +15,8 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs ("libcompressibleTurbulenceModel.so" "libcompressibleRASModels.so" "libradiation.so");
application porousExplicitSourceReactingParcelFoam; application porousExplicitSourceReactingParcelFoam;
startFrom startTime; startFrom startTime;