mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Delay the call to solidThermo in Radiation BC constructor
in case the solid region has not being constructed yet
This commit is contained in:
@ -102,8 +102,10 @@ greyDiffusiveRadiationMixedFvPatchScalarField
|
|||||||
const scalarField& Tp =
|
const scalarField& Tp =
|
||||||
patch().lookupPatchField<volScalarField, scalar>(TName_);
|
patch().lookupPatchField<volScalarField, scalar>(TName_);
|
||||||
|
|
||||||
|
//NOTE: Assumes emissivity = 1 as the solidThermo might
|
||||||
|
// not be constructed yet
|
||||||
refValue() =
|
refValue() =
|
||||||
4.0*physicoChemical::sigma.value()*pow4(Tp)*emissivity()/pi;
|
4.0*physicoChemical::sigma.value()*pow4(Tp)/pi;
|
||||||
refGrad() = 0.0;
|
refGrad() = 0.0;
|
||||||
valueFraction() = 1.0;
|
valueFraction() = 1.0;
|
||||||
|
|
||||||
|
|||||||
@ -174,7 +174,6 @@ dictionaryReplacement
|
|||||||
type greyDiffusiveRadiation;
|
type greyDiffusiveRadiation;
|
||||||
T T;
|
T T;
|
||||||
emissivityMode lookup;
|
emissivityMode lookup;
|
||||||
Qro uniform 0;
|
|
||||||
emissivity uniform 1.0;
|
emissivity uniform 1.0;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
@ -184,7 +183,6 @@ dictionaryReplacement
|
|||||||
type greyDiffusiveRadiation;
|
type greyDiffusiveRadiation;
|
||||||
T T;
|
T T;
|
||||||
emissivityMode solidThermo;
|
emissivityMode solidThermo;
|
||||||
Qro uniform 0;
|
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -221,7 +221,6 @@ dictionaryReplacement
|
|||||||
type greyDiffusiveRadiation;
|
type greyDiffusiveRadiation;
|
||||||
T T;
|
T T;
|
||||||
emissivityMode lookup;
|
emissivityMode lookup;
|
||||||
Qro uniform 0;
|
|
||||||
emissivity uniform 1.0;
|
emissivity uniform 1.0;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
@ -231,7 +230,6 @@ dictionaryReplacement
|
|||||||
type greyDiffusiveRadiation;
|
type greyDiffusiveRadiation;
|
||||||
T T;
|
T T;
|
||||||
emissivityMode solidThermo;
|
emissivityMode solidThermo;
|
||||||
Qro uniform 0;
|
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user