STYLE: unspecified intensity/mixingLength default to zero in porousZone

This commit is contained in:
Mark Olesen
2010-06-23 16:21:44 +02:00
parent 25d5690655
commit 1845122f02
2 changed files with 6 additions and 6 deletions

View File

@ -73,8 +73,8 @@ Foam::porousZone::porousZone
cellZoneID_(mesh_.cellZones().findZoneID(name)), cellZoneID_(mesh_.cellZones().findZoneID(name)),
coordSys_(dict, mesh), coordSys_(dict, mesh),
porosity_(1), porosity_(1),
intensity_(1e-2), intensity_(0),
mixingLength_(1e-3), mixingLength_(0),
C0_(0), C0_(0),
C1_(0), C1_(0),
D_("D", dimensionSet(0, -2, 0, 0, 0), tensor::zero), D_("D", dimensionSet(0, -2, 0, 0, 0), tensor::zero),

View File

@ -58,8 +58,8 @@ Description
note "some catalyst"; note "some catalyst";
coordinateSystem system_10; coordinateSystem system_10;
porosity 0.809; porosity 0.809;
intensity 0.001; // optional: default 1% turbulence intensity 0.001; // optional
mixingLength 0.0001; // optional: default 1mm mixingLength mixingLength 0.0001; // optional
printCoeffs yes; // optional: feedback for the user printCoeffs yes; // optional: feedback for the user
Darcy Darcy
@ -130,10 +130,10 @@ class porousZone
// Currently unused. // Currently unused.
scalar porosity_; scalar porosity_;
//- Turbulent intensity as fraction of the velocity (default: 0.01) //- Turbulent intensity as fraction of the velocity
scalar intensity_; scalar intensity_;
//- Turbulent length scale (default: 0.001) //- Turbulent length scale
scalar mixingLength_; scalar mixingLength_;
//- powerLaw coefficient C0 //- powerLaw coefficient C0