STYLE: use dict entry for function objects in controlDict
This commit is contained in:
parent
31aaddf452
commit
10141f907b
@ -49,16 +49,16 @@ functions
|
||||
fieldAverage1
|
||||
{
|
||||
// Type of functionObject
|
||||
type fieldAverage;
|
||||
type fieldAverage;
|
||||
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libfieldAverage.so");
|
||||
|
||||
// Function object enabled flag
|
||||
enabled true;
|
||||
enabled true;
|
||||
|
||||
// When to output the average fields
|
||||
outputControl outputTime;
|
||||
outputControl outputTime;
|
||||
|
||||
// Fields to be averaged - runTime modifiable
|
||||
fields
|
||||
|
@ -46,7 +46,7 @@ timePrecision 6;
|
||||
runTimeModifiable yes;
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
faceObj1
|
||||
{
|
||||
type faceSource;
|
||||
@ -60,6 +60,7 @@ functions
|
||||
// source faceZone;
|
||||
// sourceName f0;
|
||||
operation areaAverage;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
@ -79,6 +80,7 @@ functions
|
||||
source faceZone;
|
||||
sourceName f0;
|
||||
operation sum;
|
||||
|
||||
fields
|
||||
(
|
||||
phi
|
||||
@ -96,13 +98,13 @@ functions
|
||||
source cellZone;
|
||||
sourceName c0;
|
||||
operation volAverage;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
U
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -16,7 +16,7 @@ FoamFile
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
readFields1
|
||||
{
|
||||
type readFields;
|
||||
@ -24,11 +24,13 @@ functions
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
interpolateU
|
||||
);
|
||||
}
|
||||
|
||||
faceObj2
|
||||
{
|
||||
type faceSource;
|
||||
@ -41,12 +43,12 @@ functions
|
||||
source faceZone;
|
||||
sourceName f0;
|
||||
operation areaAverage;
|
||||
|
||||
fields
|
||||
(
|
||||
interpolateU
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -45,23 +45,21 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
convergenceChecks
|
||||
{
|
||||
type residualControl;
|
||||
type residualControl;
|
||||
functionObjectLibs ( "libresidualControl.so" );
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
maxResiduals
|
||||
(
|
||||
(p 5e-4)
|
||||
(U 1e-3)
|
||||
( p 5e-4 )
|
||||
( U 1e-3 )
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -49,17 +49,18 @@ functions
|
||||
{
|
||||
fileUpdate1
|
||||
{
|
||||
type timeActivatedFileUpdate;
|
||||
type timeActivatedFileUpdate;
|
||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
fileToUpdate "$FOAM_CASE/system/fvSolution";
|
||||
|
||||
timeVsFile
|
||||
(
|
||||
(-1 "$FOAM_CASE/system/fvSolution.0")
|
||||
(0.10 "$FOAM_CASE/system/fvSolution.10")
|
||||
(0.20 "$FOAM_CASE/system/fvSolution.20")
|
||||
(0.35 "$FOAM_CASE/system/fvSolution.35")
|
||||
( -1 "$FOAM_CASE/system/fvSolution.0" )
|
||||
( 0.10 "$FOAM_CASE/system/fvSolution.10" )
|
||||
( 0.20 "$FOAM_CASE/system/fvSolution.20" )
|
||||
( 0.35 "$FOAM_CASE/system/fvSolution.35" )
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -57,6 +57,7 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
@ -76,5 +77,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -57,6 +57,7 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
@ -76,5 +77,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -49,7 +49,6 @@ adjustTimeStep no;
|
||||
|
||||
maxCo 0.5;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
fieldAverage1
|
||||
@ -58,6 +57,7 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
@ -77,5 +77,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -49,14 +49,16 @@ functions
|
||||
{
|
||||
forces
|
||||
{
|
||||
type forceCoeffs;
|
||||
type forceCoeffs;
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
patches
|
||||
(
|
||||
WALL10
|
||||
);
|
||||
|
||||
pName p;
|
||||
UName U;
|
||||
log true;
|
||||
@ -71,5 +73,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -48,79 +48,79 @@ runTimeModifiable yes;
|
||||
adjustTimeStep no;
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
dsmcFields1
|
||||
{
|
||||
type dsmcFields;
|
||||
enabled on;
|
||||
type dsmcFields;
|
||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
}
|
||||
fieldAverage1
|
||||
{
|
||||
type fieldAverage;
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
|
||||
fields
|
||||
(
|
||||
rhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
rhoM
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
dsmcRhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
momentum
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
linearKE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
internalE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
iDof
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
q
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
fD
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -48,79 +48,79 @@ runTimeModifiable yes;
|
||||
adjustTimeStep no;
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
dsmcFields1
|
||||
{
|
||||
type dsmcFields;
|
||||
enabled on;
|
||||
type dsmcFields;
|
||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
}
|
||||
fieldAverage1
|
||||
{
|
||||
type fieldAverage;
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
|
||||
fields
|
||||
(
|
||||
rhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
rhoM
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
dsmcRhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
momentum
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
linearKE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
internalE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
iDof
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
q
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
fD
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -48,79 +48,79 @@ runTimeModifiable yes;
|
||||
adjustTimeStep no;
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
dsmcFields1
|
||||
{
|
||||
type dsmcFields;
|
||||
enabled on;
|
||||
type dsmcFields;
|
||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
}
|
||||
fieldAverage1
|
||||
{
|
||||
type fieldAverage;
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
|
||||
fields
|
||||
(
|
||||
rhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
rhoM
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
dsmcRhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
momentum
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
linearKE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
internalE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
iDof
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
q
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
fD
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -49,93 +49,93 @@ runTimeModifiable yes;
|
||||
adjustTimeStep no;
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
dsmcFields1
|
||||
{
|
||||
type dsmcFields;
|
||||
enabled on;
|
||||
type dsmcFields;
|
||||
functionObjectLibs ( "libutilityFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
}
|
||||
|
||||
fieldAverage1
|
||||
{
|
||||
type fieldAverage;
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
outputControl outputTime;
|
||||
resetOnOutput off;
|
||||
|
||||
fields
|
||||
(
|
||||
rhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
rhoM
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
dsmcRhoN
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
momentum
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
linearKE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
internalE
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
iDof
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
q
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
fD
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
forces1
|
||||
{
|
||||
type forces;
|
||||
enabled on;
|
||||
type forces;
|
||||
enabled true;
|
||||
functionObjectLibs ( "libforces.so" );
|
||||
outputControl outputTime;
|
||||
patches ( obstacle );
|
||||
outputControl outputTime;
|
||||
patches ( obstacle );
|
||||
directForceDensity true;
|
||||
fDName fDMean;
|
||||
CofR ( 0 0 0 );
|
||||
log on;
|
||||
fDName fDMean;
|
||||
CofR ( 0 0 0 );
|
||||
log on;
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -53,6 +53,7 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
|
@ -53,11 +53,22 @@ functions
|
||||
{
|
||||
probes
|
||||
{
|
||||
type probes;
|
||||
type probes;
|
||||
// Where to load it from
|
||||
functionObjectLibs ( "libsampling.so" );
|
||||
// Name of the directory for probe data
|
||||
name probes;
|
||||
name probes;
|
||||
|
||||
// Write at same frequency as fields
|
||||
outputControl outputTime;
|
||||
outputInterval 1;
|
||||
|
||||
// Fields to be probed
|
||||
fields
|
||||
(
|
||||
p U
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 1e-06 0 0.01 ) // at inlet
|
||||
@ -65,15 +76,7 @@ functions
|
||||
( 0.21 0.20999 0.01 ) // at outlet2
|
||||
( 0.21 0 0.01 ) // at central block
|
||||
);
|
||||
|
||||
// Fields to be probed
|
||||
fields ( p U );
|
||||
|
||||
// Write at same frequency as fields
|
||||
outputControl outputTime;
|
||||
outputInterval 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -54,6 +54,12 @@ functions
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 0.0254 0.0253 0 )
|
||||
@ -65,10 +71,6 @@ functions
|
||||
( 0.1778 0.0253 0 )
|
||||
);
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
}
|
||||
|
||||
fieldAverage1
|
||||
@ -77,6 +79,7 @@ functions
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
@ -96,5 +99,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -54,6 +54,12 @@ functions
|
||||
enabled true;
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 0.0254 0.0253 0 )
|
||||
@ -64,10 +70,6 @@ functions
|
||||
( 0.1524 0.0253 0 )
|
||||
( 0.1778 0.0253 0 )
|
||||
);
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
}
|
||||
|
||||
fieldAverage1
|
||||
@ -76,6 +78,7 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
|
@ -46,25 +46,25 @@ timePrecision 6;
|
||||
runTimeModifiable yes;
|
||||
|
||||
functions
|
||||
(
|
||||
{
|
||||
streamLines
|
||||
{
|
||||
type streamLine;
|
||||
type streamLine;
|
||||
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libOpenFOAM.so" "libfieldFunctionObjects.so");
|
||||
|
||||
// Output every
|
||||
outputControl outputTime;
|
||||
outputControl outputTime;
|
||||
//outputInterval 10;
|
||||
|
||||
setFormat vtk;//gnuplot;//xmgr; //raw; //gnuplot; //jplot;
|
||||
setFormat vtk;//gnuplot;//xmgr; //raw; //gnuplot; //jplot;
|
||||
|
||||
// Velocity field to use for tracking.
|
||||
U U;
|
||||
|
||||
// Tracked forwards (+U) or backwards (-U)
|
||||
trackForward true;
|
||||
trackForward true;
|
||||
|
||||
// Names of fields to sample. Should contain above velocity field!
|
||||
fields (p k U);
|
||||
@ -73,10 +73,10 @@ functions
|
||||
lifeTime 1000;
|
||||
|
||||
// Cloud name to use
|
||||
cloudName particleTracks;
|
||||
cloudName particleTracks;
|
||||
|
||||
// Seeding method. See the sampleSets in sampleDict.
|
||||
seedSampleSet uniform; //cloud;//triSurfaceMeshPointSet;
|
||||
seedSampleSet uniform; //cloud;//triSurfaceMeshPointSet;
|
||||
|
||||
uniformCoeffs
|
||||
{
|
||||
@ -106,6 +106,6 @@ functions
|
||||
// surface twoTri.stl;
|
||||
// }
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -63,6 +63,7 @@ functions
|
||||
sourceName outlet;
|
||||
operation weightedAverage;
|
||||
weightField phi;
|
||||
|
||||
fields
|
||||
(
|
||||
H2O
|
||||
@ -71,5 +72,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -57,6 +57,7 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled false;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
@ -83,5 +84,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -57,6 +57,7 @@ functions
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled false;
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
U
|
||||
@ -83,5 +84,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -59,15 +59,17 @@ functions
|
||||
functionObjectLibs ("libsampling.so");
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 0 9.95 19.77 )
|
||||
( 0 -9.95 19.77 )
|
||||
);
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
}
|
||||
|
||||
wallPressure
|
||||
@ -77,6 +79,7 @@ functions
|
||||
outputControl timeStep;
|
||||
outputInterval 10;
|
||||
surfaceFormat raw;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
@ -94,5 +97,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -59,24 +59,27 @@ functions
|
||||
functionObjectLibs ("libsampling.so");
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 0 9.95 19.77 )
|
||||
( 0 -9.95 19.77 )
|
||||
);
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
}
|
||||
|
||||
wallPressure
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
outputControl timeStep;
|
||||
outputInterval 10;
|
||||
surfaceFormat raw;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
@ -94,5 +97,4 @@ functions
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -59,17 +59,18 @@ functions
|
||||
functionObjectLibs ("libsampling.so");
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 0 9.95 19.77 )
|
||||
( 0 -9.95 19.77 )
|
||||
);
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -59,17 +59,18 @@ functions
|
||||
functionObjectLibs ("libsampling.so");
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 0 9.95 19.77 )
|
||||
( 0 -9.95 19.77 )
|
||||
);
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -59,17 +59,18 @@ functions
|
||||
functionObjectLibs ("libsampling.so");
|
||||
outputControl timeStep;
|
||||
outputInterval 1;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
|
||||
probeLocations
|
||||
(
|
||||
( 0 9.95 19.77 )
|
||||
( 0 -9.95 19.77 )
|
||||
);
|
||||
fields
|
||||
(
|
||||
p
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -58,38 +58,38 @@ functions
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
Ua
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
Ub
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
alpha
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -58,38 +58,38 @@ functions
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
Ua
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
Ub
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
alpha
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -58,38 +58,38 @@ functions
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
outputControl outputTime;
|
||||
|
||||
fields
|
||||
(
|
||||
Ua
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
Ub
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
alpha
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
mean on;
|
||||
prime2Mean off;
|
||||
base time;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
Loading…
Reference in New Issue
Block a user