diff --git a/src/thermophysicalModels/radiation/derivedFvPatchFields/boundaryRadiationProperties/boundaryRadiationPropertiesFvPatchField.C b/src/thermophysicalModels/radiation/derivedFvPatchFields/boundaryRadiationProperties/boundaryRadiationPropertiesFvPatchField.C index aa3e086e20ef374b0b48ae479bc49fdc8c2ae211..7e4f7f4bdce81b60b9948ff726265f62be28bcf3 100644 --- a/src/thermophysicalModels/radiation/derivedFvPatchFields/boundaryRadiationProperties/boundaryRadiationPropertiesFvPatchField.C +++ b/src/thermophysicalModels/radiation/derivedFvPatchFields/boundaryRadiationProperties/boundaryRadiationPropertiesFvPatchField.C @@ -136,7 +136,7 @@ boundaryRadiationPropertiesFvPatchField ); } - // if (dict.found("transmissivityModel")) + // if (dict.found("transmissivityModel")) { transmissivity_.reset ( @@ -230,9 +230,11 @@ transmissiveModel() const } -Foam::tmp<Foam::scalarField> Foam::radiation:: -boundaryRadiationPropertiesFvPatchField:: -emissivity(const label bandI) const +Foam::tmp<Foam::scalarField> +Foam::radiation::boundaryRadiationPropertiesFvPatchField::emissivity +( + const label bandI +) const { switch (method_) { @@ -304,8 +306,8 @@ emissivity(const label bandI) const } -Foam::tmp<Foam::scalarField> Foam::radiation:: -boundaryRadiationPropertiesFvPatchField::absorptivity +Foam::tmp<Foam::scalarField> +Foam::radiation::boundaryRadiationPropertiesFvPatchField::absorptivity ( const label bandI ) const @@ -380,9 +382,11 @@ boundaryRadiationPropertiesFvPatchField::absorptivity } -Foam::tmp<Foam::scalarField> Foam::radiation:: -boundaryRadiationPropertiesFvPatchField:: -transmissivity(const label bandI) const +Foam::tmp<Foam::scalarField> +Foam::radiation::boundaryRadiationPropertiesFvPatchField::transmissivity +( + const label bandI +) const { switch (method_) { @@ -457,9 +461,11 @@ transmissivity(const label bandI) const -Foam::tmp<Foam::scalarField> Foam::radiation:: -boundaryRadiationPropertiesFvPatchField:: -reflectivity(const label bandI) const +Foam::tmp<Foam::scalarField> +Foam::radiation::boundaryRadiationPropertiesFvPatchField::reflectivity +( + const label bandI +) const { const tmp<scalarField> tt = transmissivity(bandI); const tmp<scalarField> ta = absorptivity(bandI); @@ -468,16 +474,18 @@ reflectivity(const label bandI) const } -void Foam::radiation::boundaryRadiationPropertiesFvPatchField:: -write(Ostream& os) const +void Foam::radiation::boundaryRadiationPropertiesFvPatchField::write +( + Ostream& os +) const { calculatedFvPatchScalarField::write(os); os.writeKeyword("mode") << methodTypeNames_[method_] << token::END_STATEMENT << nl; - switch (method_) - { + switch (method_) + { case MODEL: { word modelType