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/boundaryWallFunctions
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
needs createBaffles. lagrangian/porousExplicitSourceReactingParcelFoam/filter
needs special coupledbcs. lagrangian/reactingParcelFilmFoam/multipleBoxes

View File

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

View File

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

View File

@ -17,10 +17,10 @@ setsToZones -noFlipMap >& log.setsToZones
# create the first cyclic - lhs of porous zone
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
createBaffles cycRight cycRight -overwrite >& log.createBaffles2
createBaffles cycRight '(cycRight_half0 cycRight_half1)' -overwrite >& log.createBaffles2
runApplication $application

View File

@ -62,51 +62,87 @@ edges
(
);
patches
boundary
(
wall walls
(
( 0 1 13 12)
( 1 2 14 13)
( 2 3 15 14)
( 3 4 16 15)
( 4 5 17 16)
( 6 7 19 18)
( 7 8 20 19)
( 8 9 21 20)
( 9 10 22 21)
(10 11 23 22)
)
walls
{
type wall;
faces
(
( 0 1 13 12)
( 1 2 14 13)
( 2 3 15 14)
( 3 4 16 15)
( 4 5 17 16)
( 6 7 19 18)
( 7 8 20 19)
( 8 9 21 20)
( 9 10 22 21)
(10 11 23 22)
);
}
patch inlet
(
(11 0 12 23)
)
inlet
{
type patch;
faces
(
(11 0 12 23)
);
}
patch outlet
(
( 5 6 18 17)
)
outlet
{
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
(
( 0 11 10 1)
( 1 10 9 2)
( 2 9 8 3)
( 3 8 7 4)
( 4 7 6 5)
(12 13 22 23)
(13 14 21 22)
(14 15 20 21)
(15 16 19 20)
(16 17 18 19)
)
frontAndBack
{
type empty;
faces
(
( 0 11 10 1)
( 1 10 9 2)
( 2 9 8 3)
( 3 8 7 4)
( 4 7 6 5)
(12 13 22 23)
(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;
}
cycLeft
cycLeft_half0
{
type rebound;
}
cycLeft_half1
{
type rebound;
}
@ -184,7 +188,8 @@ PatchPostProcessingCoeffs
patches
(
cycLeft
cycLeft_half0
cycLeft_half1
);
}

View File

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