Standardized the selection of required and optional fields in BCs, fvOptions, functionObjects etc.

In most boundary conditions, fvOptions etc. required and optional fields
to be looked-up from the objectRegistry are selected by setting the
keyword corresponding to the standard field name in the BC etc. to the
appropriate name in the objectRegistry.  Usually a default is provided
with sets the field name to the keyword name, e.g. in the
totalPressureFvPatchScalarField the velocity is selected by setting the
keyword 'U' to the appropriate name which defaults to 'U':

        Property     | Description             | Required    | Default value
        U            | velocity field name     | no          | U
        phi          | flux field name         | no          | phi
        .
        .
        .

However, in some BCs and functionObjects and many fvOptions another
convention is used in which the field name keyword is appended by 'Name'
e.g.

        Property     | Description             | Required    | Default value
        pName        | pressure field name     | no          | p
        UName        | velocity field name     | no          | U

This difference in convention is unnecessary and confusing, hinders code
and dictionary reuse and complicates code maintenance.  In this commit
the appended 'Name' is removed from the field selection keywords
standardizing OpenFOAM on the first convention above.
This commit is contained in:
Henry Weller
2016-05-21 20:28:20 +01:00
parent ddfbaa7fa4
commit e22c65dd8e
181 changed files with 232 additions and 440 deletions

View File

@ -44,7 +44,6 @@ boundaryField
openingTime 0.01;
maxOpenFractionDelta 0.1;
openFraction 0;
p p;
minThresholdValue 8000;
forceBased 0;
}

View File

@ -56,7 +56,6 @@ dictionaryReplacement
openingTime 0.01;
maxOpenFractionDelta 0.1;
openFraction 0;
p p;
minThresholdValue 8000;
forceBased 0;
value uniform (0 0 0);

View File

@ -45,16 +45,12 @@ boundaryField
inlet
{
type totalFlowRateAdvectiveDiffusive;
phi phi;
rho rho;
value uniform 1;
}
region0_to_pyrolysisRegion_coupledWall
{
type totalFlowRateAdvectiveDiffusive;
phi phi;
rho rho;
massFluxFraction 1.0;
value $internalField;
}

View File

@ -24,7 +24,6 @@ boundaryField
region0_to_pyrolysisRegion_coupledWall
{
type greyDiffusiveRadiation;
T T;
emissivityMode solidRadiation;
emissivity uniform 1.0;
value uniform 0;
@ -38,7 +37,6 @@ boundaryField
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -50,8 +50,6 @@ boundaryField
region0_to_pyrolysisRegion_coupledWall
{
type totalFlowRateAdvectiveDiffusive;
phi phi;
rho rho;
massFluxFraction 0.0;
value $internalField;
}

View File

@ -52,10 +52,9 @@ boundaryField
pyrolysisRegion pyrolysisRegion;
filmRegion filmRegion;
Tnbr T;
kappa fluidThermo;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
kappaName none;
filmDeltaDry 0.0;
filmDeltaWet 2e-4;
value $internalField;

View File

@ -38,7 +38,6 @@ boundaryField
side
{
type pressureInletOutletVelocity;
phi phi;
value $internalField;
}
@ -52,9 +51,7 @@ boundaryField
region0_to_pyrolysisRegion_coupledWall
{
type mappedFlowRate;
phi phi;
nbrPhi phiGas;
rho rho;
value uniform (0 0 0);
}
}

View File

@ -44,16 +44,12 @@ boundaryField
inlet
{
type fixedValue;
phi phi;
rho rho;
value uniform 0;
}
region0_to_pyrolysisRegion_coupledWall
{
type totalFlowRateAdvectiveDiffusive;
phi phi;
rho rho;
massFluxFraction 0.0;
value $internalField;
}

View File

@ -29,7 +29,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_pyrolysisRegion_coupledWall;
offset (0 0 0);
fieldName T;
field T;
setAverage no;
average 0;
value uniform 298;

View File

@ -38,7 +38,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_pyrolysisRegion_coupledWall;
offset (0 0 0);
fieldName Qr; // this is the name of Qr field in region0
field Qr; // this is the name of Qr field in region0
setAverage no;
average 0;
value uniform 0;

View File

@ -37,8 +37,7 @@ boundaryField
pyrolysisRegion pyrolysisRegion;
filmRegion filmRegion;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
filmDeltaDry 0.0;

View File

@ -40,15 +40,11 @@ boundaryField
burner
{
type totalFlowRateAdvectiveDiffusive;
phi phi;
rho rho;
value uniform 1.0;
}
"(region0_to.*)"
{
type totalFlowRateAdvectiveDiffusive;
phi phi;
rho rho;
value $internalField;
}
}

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -32,7 +31,6 @@ boundaryField
"(region0_to.*)"
{
type MarshakRadiation;
T T;
emissivityMode solidRadiation;
value uniform 0;
}

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -31,7 +30,6 @@ boundaryField
"(region0_to.*)"
{
type greyDiffusiveRadiation;
T T;
emissivityMode solidRadiation;
value uniform 0;
}

View File

@ -50,10 +50,9 @@ boundaryField
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa fluidThermo;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
kappaName none;
value $internalField;
}
}

View File

@ -37,16 +37,13 @@ boundaryField
"(top|sides)"
{
type pressureInletOutletVelocity;
phi phi;
value $internalField;
}
"(region0_to.*)"
{
type mappedFlowRate;
phi phi;
nbrPhi phiGas;
rho rho;
value uniform (0 0 0);
}
}

View File

@ -43,7 +43,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_panelRegion_fLeft_zone;
offset (0 0 0);
fieldName Qr;
field Qr;
setAverage no;
average 0;
value uniform 0;
@ -56,7 +56,7 @@ boundaryField
sampleMode nearestPatchFace;
samplePatch region0_to_panelRegion_fRight_zone;
offset (0 0 0);
fieldName Qr;
field Qr;
setAverage no;
average 0;
value uniform 0;

View File

@ -41,8 +41,7 @@ boundaryField
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
value uniform 298.15;

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1;
value uniform 0;

View File

@ -25,7 +25,6 @@ boundaryField
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
phi phi;
}
base

View File

@ -33,8 +33,6 @@ boundaryField
{
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho none;
psi none;
gamma 1;

View File

@ -33,8 +33,6 @@ boundaryField
{
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho none;
psi none;
gamma 1;

View File

@ -39,8 +39,6 @@ boundaryField
{
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho none;
psi none;
gamma 1;

View File

@ -36,8 +36,6 @@ boundaryField
type totalTemperature;
value uniform 297;
T0 uniform 297;
U U;
phi phi;
rho none;
psi thermo:psi;
gamma 1.4;

View File

@ -30,8 +30,6 @@ boundaryField
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermo:psi;
fieldInf 101325;
gamma 1.4;
@ -44,8 +42,6 @@ boundaryField
type totalPressure;
value uniform 101325;
p0 uniform 101325;
U U;
phi phi;
rho none;
psi thermo:psi;
gamma 1.4;

View File

@ -1241,8 +1241,6 @@ boundaryField
freestream
{
type totalTemperature;
U U;
phi phi;
psi thermo:psi;
gamma 1.4;
T0 uniform 297;

View File

@ -1233,8 +1233,6 @@ boundaryField
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermo:psi;
gamma 1.4;
fieldInf 101325;
@ -1272,8 +1270,6 @@ boundaryField
freestream
{
type totalPressure;
U U;
phi phi;
rho none;
psi thermo:psi;
gamma 1.4;

View File

@ -44,8 +44,6 @@ outlet
type totalPressure;
value uniform 1e5;
p0 uniform 1e5;
U U;
phi phi;
rho rho;
psi none;
gamma 1.4;

View File

@ -24,8 +24,6 @@ boundaryField
inlet
{
type flowRateInletVelocity;
phi phi;
rho rho;
massFlowRate 0.0001;
value uniform (0 0 0);
}
@ -51,8 +49,6 @@ boundaryField
plenum
{
type pressureInletVelocity;
phi phi;
rho rho;
value uniform (0 0 0);
}
}

View File

@ -28,7 +28,6 @@ boundaryField
outlet
{
type waveTransmissive;
phi phi;
psi thermo:psi;
gamma 1.3;
fieldInf 1e5;

View File

@ -39,8 +39,6 @@ boundaryField
{
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho none;
psi none;
gamma 1;

View File

@ -30,8 +30,6 @@ boundaryField
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermo:psi;
gamma 1.4;
fieldInf 1;

View File

@ -29,8 +29,6 @@ boundaryField
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermo:psi;
gamma 1.3;
fieldInf 100000;

View File

@ -59,8 +59,6 @@ functions
WALL10
);
pName p;
UName U;
log true;
rhoInf 1;
CofR (0 0 0);

View File

@ -30,8 +30,6 @@ boundaryField
{
type waveTransmissive;
field p;
phi phi;
rho rho;
psi thermo:psi;
gamma 1.3;
fieldInf 100000;

View File

@ -24,8 +24,7 @@ boundaryField
bottom
{
type compressible::thermalBaffle;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
side
@ -35,8 +34,7 @@ boundaryField
top
{
type compressible::thermalBaffle;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
}

View File

@ -9,18 +9,16 @@
T
{
type compressible::thermalBaffle;
kappa fluidThermo;
kappaName none;
kappaMethod fluidThermo;
value uniform 300;
regionName ${baffleRegionName};
active yes;
regionName ${baffleRegionName};
active yes;
# include "3DbaffleSolidThermo"
// New fvMesh (region) information
# include "extrudeModel"
}
// ************************************************************************* //

View File

@ -23,7 +23,6 @@ boundaryField
floor
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -32,7 +31,6 @@ boundaryField
fixedWalls
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -41,7 +39,6 @@ boundaryField
ceiling
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -50,7 +47,6 @@ boundaryField
box
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -23,7 +23,6 @@ boundaryField
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -52,24 +52,21 @@ boundaryField
type compressible::turbulentTemperatureCoupledBaffleMixed;
value uniform 300;
Tnbr T;
kappa fluidThermo;
kappaName none;
kappaMethod fluidthermo;
}
bottomWater_to_leftSolid
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
value uniform 300;
Tnbr T;
kappa fluidThermo;
kappaName none;
kappaMethod fluidthermo;
}
bottomWater_to_heater
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
value uniform 300;
Tnbr T;
kappa fluidThermo;
kappaName none;
kappaMethod fluidthermo;
}
}

View File

@ -70,8 +70,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa fluidThermo;
kappaName none;
kappaMethod fluidThermo;
value uniform 300;
}
}

View File

@ -47,8 +47,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
@ -56,8 +55,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
thicknessLayers (1e-3);
kappaLayers (5e-4);
value uniform 300;

View File

@ -43,8 +43,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
@ -52,8 +51,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
thicknessLayers (1e-3);
kappaLayers (5e-4);
value uniform 300;

View File

@ -43,8 +43,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
}

View File

@ -68,8 +68,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa fluidThermo;
kappaName none;
kappaMethod fluidThermo;
value uniform 300;
}
}

View File

@ -57,8 +57,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa fluidThermo;
kappaName none;
kappaMethod fluidThermo;
value uniform 300;
}
}

View File

@ -47,8 +47,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
minY

View File

@ -43,8 +43,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
}

View File

@ -43,8 +43,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
}

View File

@ -68,8 +68,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa fluidThermo;
kappaName none;
kappaMethod fluidThermo;
value uniform 300;
}
}

View File

@ -26,8 +26,8 @@ airToporous
nbrRegionName porous;
master false;
nbrModelName porousToair;
fieldNames (h);
nbrModel porousToair;
fields (h);
semiImplicit no;
}
}

View File

@ -26,8 +26,8 @@ porousToair
nbrRegionName air;
master true;
nbrModelName airToporous;
fieldNames (h);
nbrModel airToporous;
fields (h);
semiImplicit no;
}
}

View File

@ -55,10 +55,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa fluidThermo;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
kappaName none;
value uniform 300;
}
}
@ -148,7 +147,6 @@ dictionaryReplacement
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -157,7 +155,6 @@ dictionaryReplacement
"bottomAir_to_.*"
{
type MarshakRadiation;
T T;
emissivityMode solidRadiation;
value uniform 0;
}
@ -172,7 +169,6 @@ dictionaryReplacement
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -181,7 +177,6 @@ dictionaryReplacement
"bottomAir_to_.*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode solidRadiation;
value uniform 0;
}

View File

@ -48,10 +48,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa solidThermo;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
value uniform 300;
}
@ -59,10 +58,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa solidThermo;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
value uniform 300;
}
@ -70,8 +68,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
minY

View File

@ -44,10 +44,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa solidThermo;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
value uniform 300;
}
@ -55,10 +54,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa solidThermo;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
value uniform 300;
}
@ -66,8 +64,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
}

View File

@ -44,10 +44,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa solidThermo;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
value uniform 300;
}
@ -55,10 +54,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa solidThermo;
kappaMethod solidThermo;
QrNbr Qr;
Qr none;
kappaName none;
value uniform 300;
}
@ -66,8 +64,7 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureCoupledBaffleMixed;
Tnbr T;
kappa solidThermo;
kappaName none;
kappaMethod solidThermo;
value uniform 300;
}
}

View File

@ -66,10 +66,9 @@ dictionaryReplacement
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappa fluidThermo;
kappaMethod fluidThermo;
QrNbr none;
Qr Qr;
kappaName none;
value uniform 300;
}
}
@ -195,7 +194,6 @@ dictionaryReplacement
".*"
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -204,7 +202,6 @@ dictionaryReplacement
"topAir_to_.*"
{
type MarshakRadiation;
T T;
emissivityMode solidRadiation;
value uniform 0;
}
@ -219,7 +216,6 @@ dictionaryReplacement
".*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -228,7 +224,6 @@ dictionaryReplacement
"topAir_to_.*"
{
type greyDiffusiveRadiation;
T T;
emissivityMode solidRadiation;
value uniform 0;
}

View File

@ -39,8 +39,6 @@ boundaryField
{
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho none;
psi none;
gamma 1;

View File

@ -18,9 +18,7 @@ forces
log yes;
patches ( "propeller.*" );
pName p;
UName U;
rhoName rhoInf; // Indicates incompressible
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible

View File

@ -37,7 +37,7 @@ sixDoFRigidBodyMotionCoeffs
);
angularMomentum (0 0 -2);
g (0 -9.81 0);
rhoName rhoInf;
rho rhoInf;
rhoInf 1;
report on;

View File

@ -51,12 +51,10 @@ functions
{
type forces;
libs ( "libforces.so" );
writeControl timeStep;
writeInterval 10;
writeControl timeStep;
writeInterval 10;
patches (wing);
pName p;
UName U;
rhoName rhoInf;
rho rhoInf;
log true;
rhoInf 1;
CofR (0.4974612746 -0.01671895744 0.125);

View File

@ -29,8 +29,6 @@ boundaryField
(1 40)
);
p0 40; // only used for restarts
U U;
phi phi;
rho none;
psi none;
gamma 1;

View File

@ -25,8 +25,6 @@ boundaryField
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.01;
phi phi;
k k;
value uniform 200;
}
outlet1

View File

@ -24,7 +24,7 @@ momentumSource
{
selectionMode all;
fieldNames (U);
fields (U);
Ubar (0.1335 0 0);
}
}

View File

@ -54,7 +54,6 @@ functions
type streamLine;
writeControl writeTime;
setFormat vtk;
UName U;
trackForward true;
fields (p U);
lifeTime 10000;
@ -100,9 +99,7 @@ functions
writeControl timeStep;
writeInterval 1;
patches ( "motorBike.*" );
pName p;
UName U;
rhoName rhoInf;
rho rhoInf;
log true;
rhoInf 1;
liftDir (0 0 1);

View File

@ -14,9 +14,7 @@ forces
writeInterval 1;
patches ( "motorBike.*" );
pName p;
UName U;
rhoName rhoInf; // Indicates incompressible
rho rhoInf; // Indicates incompressible
log true;
rhoInf 1; // Redundant for incompressible
liftDir (0 0 1);

View File

@ -16,9 +16,6 @@ streamLines
setFormat vtk; //gnuplot; //xmgr; //raw; //jplot; //csv; //ensight;
// Velocity field to use for tracking.
UName U;
// Tracked forwards (+U) or backwards (-U)
trackForward true;

View File

@ -17,8 +17,8 @@ forceCoeffs1
log yes;
patches ( motorBikeGroup );
rhoName rhoInf; // Indicates incompressible
patches (motorBikeGroup);
rho rhoInf; // Indicates incompressible
rhoInf 1; // Redundant for incompressible
liftDir (0 0 1);
dragDir (1 0 0);
@ -27,14 +27,14 @@ forceCoeffs1
magUInf 20;
lRef 1.42; // Wheelbase length
Aref 0.75; // Estimated
/*
/*
binData
{
nBin 20; // output data into 20 bins
direction (1 0 0); // bin direction
cumulative yes;
}
*/
*/
}

View File

@ -19,9 +19,6 @@ streamLines
setFormat vtk; //gnuplot; //xmgr; //raw; //jplot; //csv; //ensight;
// Velocity field to use for tracking.
UName U;
// Tracked forwards (+U) or backwards (-U)
trackForward true;

View File

@ -48,7 +48,7 @@ wallBoundedStreamLines
setFormat vtk; //gnuplot; //xmgr; //raw; //jplot;
// Velocity field to use for tracking.
UName UNear;
U UNear;
// Interpolation method. Default is cellPoint. See sampleDict.
//interpolationScheme pointMVC;

View File

@ -60,9 +60,6 @@ functions
setFormat vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;
// Velocity field to use for tracking.
UName U;
// Tracked forwards (+U) or backwards (-U)
trackForward true;

View File

@ -60,9 +60,6 @@ functions
setFormat vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;
// Velocity field to use for tracking.
UName U;
// Tracked forwards (+U) or backwards (-U)
trackForward true;

View File

@ -24,7 +24,7 @@ disk
selectionMode cellZone;
cellZone rotatingZone;
fieldNames (U); // Names of fields on which to apply source
fields (U); // Names of fields on which to apply source
nBlades 3; // Number of blades
tipEffect 0.96; // Normalised radius above which lift = 0

View File

@ -22,7 +22,7 @@ disk1
actuationDiskSourceCoeffs
{
fieldNames (U);
fields (U);
selectionMode cellSet;
cellSet actuationDisk1;
@ -41,7 +41,7 @@ disk2
actuationDiskSourceCoeffs
{
fieldNames (U);
fields (U);
selectionMode cellSet;
cellSet actuationDisk2;

View File

@ -172,7 +172,7 @@ subModels
cohesionEnergyDensity 0;
};
UName U.air;
U U.air;
}
stochasticCollisionModel none;

View File

@ -24,7 +24,6 @@ boundaryField
top
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -32,7 +31,6 @@ boundaryField
bottom
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -40,7 +38,6 @@ boundaryField
walls
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -30,7 +30,7 @@ boundaryField
{
type zeroGradient;
// type mapped;
// fieldName Tsf;
// field Tsf;
// average 300;
// setAverage no;
// value uniform 300;

View File

@ -31,7 +31,7 @@ boundaryField
type uniformFixedValue;
uniformValue (0 0 0);
// type mapped;
// fieldName Usf;
// field Usf;
// average (0 0 0);
// setAverage no;
// value uniform (0 0 0);

View File

@ -23,7 +23,7 @@ dictionaryReplacement
wallFilm
{
type mapped;
fieldName Tsf;
field Tsf;
average 300;
setAverage no;
value uniform 300;
@ -38,7 +38,7 @@ dictionaryReplacement
wallFilm
{
type mapped;
fieldName Usf;
field Usf;
average (0 0 0);
setAverage no;
value uniform (0 0 0);

View File

@ -26,7 +26,7 @@ kinematicSingleLayerCoeffs
filmThermoModel constant;
constantCoeffs
{
specieName water;
specie water;
rho0 1000;
mu0 1e-3;
sigma0 0.07;

View File

@ -33,8 +33,6 @@ boundaryField
{
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho none;
psi none;
gamma 1;

View File

@ -24,7 +24,6 @@ boundaryField
walls
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1;
value uniform 0;
@ -35,7 +34,6 @@ boundaryField
inlet
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1;
value uniform 0;

View File

@ -24,7 +24,6 @@ boundaryField
walls
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1;
value uniform 0;
@ -35,7 +34,6 @@ boundaryField
inlet
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1;
value uniform 0;

View File

@ -32,7 +32,6 @@ boundaryField
walls
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;
@ -44,7 +43,6 @@ boundaryField
inlet
{
type MarshakRadiation;
T T;
emissivityMode lookup;
emissivity uniform 1.0;
value uniform 0;

View File

@ -136,7 +136,7 @@ FoamFile
// // values of field within certain range
// source fieldToCell;
// {
// fieldName U; // Note: uses mag(U) since volVectorField
// field U; // Note: uses mag(U) since volVectorField
// min 0.1;
// max 0.5;
// }

View File

@ -35,7 +35,6 @@ boundaryField
outlet
{
type pressureInletOutletVelocity;
phi phi;
value $internalField;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 13.36;
max 18.47;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 7.00;
max 18.47;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 3.67;
max 18.47;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 0.0;
max 0.64;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 0.0;
max 1.03;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 0.0;
max 1.94;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 0.0;
max 3.67;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 0.0;
max 7.00;
}

View File

@ -24,7 +24,7 @@ actions
source fieldToCell;
sourceInfo
{
fieldName radiusFieldXY;
field radiusFieldXY;
min 0.0;
max 13.36;
}

View File

@ -23,7 +23,6 @@ boundaryField
inlet
{
type totalPressure;
U U;
rho rho;
psi none;
gamma 1;

Some files were not shown because too many files have changed in this diff Show More