This commit is contained in:
mattijs
2009-03-24 18:02:42 +00:00
parent f19fabb2eb
commit 950c77117b
5 changed files with 25 additions and 9 deletions

View File

@ -24,7 +24,7 @@ boundaryField
inlet inlet
{ {
type turbulentMixingLengthDissipationRateInlet; type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.01; mixingLength 0.01; // 1cm - half channel height
value uniform 1; value uniform 1;
} }

View File

@ -24,7 +24,7 @@ boundaryField
inlet inlet
{ {
type turbulentIntensityKineticEnergyInlet; type turbulentIntensityKineticEnergyInlet;
intensity 0.05; intensity 0.05; // 5% turbulent intensity
value uniform 1; value uniform 1;
} }

View File

@ -22,8 +22,14 @@ boundaryField
{ {
inlet inlet
{ {
type totalPressure; //type totalPressure;
p0 uniform 100040; //p0 uniform 100040;
type timeVaryingTotalPressure;
p0 100040; // only used for restarts
outOfBounds clamp;
fileName "$FOAM_CASE/constant/p0vsTime";
U U; U U;
phi phi; phi phi;
rho none; rho none;

View File

@ -0,0 +1,4 @@
(
(0 100010)
(1 100040)
)

View File

@ -52,16 +52,22 @@ functions
probes probes
{ {
type probes; type probes;
name probes; // Where to load it from
functionObjectLibs ( "libsampling.so" ); functionObjectLibs ( "libsampling.so" );
// Name of the directory for probe data
name probes;
probeLocations probeLocations
( (
( 1e-06 0 0.01 ) ( 1e-06 0 0.01 ) // at inlet
( 0.21 -0.20999 0.01 ) ( 0.21 -0.20999 0.01 ) // at outlet1
( 0.21 0.20999 0.01 ) ( 0.21 0.20999 0.01 ) // at outlet2
( 0.21 0 0.01 ) ( 0.21 0 0.01 ) // at central block
); );
// Fields to be probed
fields ( p U ); fields ( p U );
// Write at same frequency as fields
outputControl outputTime; outputControl outputTime;
outputInterval 1; outputInterval 1;
} }