mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
comment
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -0,0 +1,4 @@
|
|||||||
|
(
|
||||||
|
(0 100010)
|
||||||
|
(1 100040)
|
||||||
|
)
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user