coolingSphere tutorial: update for consistency with singleFluidCHT template case
This commit is contained in:
@ -13,7 +13,7 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
Uinlet (10 0 0);
|
||||
Uinlet 10;
|
||||
|
||||
dimensions [0 1 -1 0 0 0 0];
|
||||
|
||||
@ -23,14 +23,15 @@ boundaryField
|
||||
{
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform $Uinlet;
|
||||
type flowRateInletVelocity;
|
||||
meanVelocity constant $Uinlet;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
outlet
|
||||
{
|
||||
type pressureInletOutletVelocity;
|
||||
value uniform $Uinlet;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
wall
|
||||
|
||||
@ -24,13 +24,13 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform $pInitial;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
inlet
|
||||
{
|
||||
type calculated;
|
||||
value uniform $pInitial;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
wall
|
||||
|
||||
@ -15,7 +15,7 @@ FoamFile
|
||||
|
||||
#include "$FOAM_CASE/constant/initialConditions"
|
||||
|
||||
dimensions [ 1 -1 -2 0 0 0 0 ];
|
||||
dimensions [1 -1 -2 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
|
||||
@ -24,13 +24,13 @@ boundaryField
|
||||
outlet
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
inlet
|
||||
{
|
||||
type fixedFluxPressure;
|
||||
value uniform 0;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
wall
|
||||
|
||||
@ -13,18 +13,6 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
/*
|
||||
fixedTemperature
|
||||
{
|
||||
type fixedTemperatureConstraint;
|
||||
select all;
|
||||
|
||||
mode uniform;
|
||||
|
||||
temperature constant 300; // Set temperature (K)
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
fixedPower
|
||||
{
|
||||
|
||||
@ -13,14 +13,16 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// fixedTemperature
|
||||
// {
|
||||
// type fixedTemperatureConstraint;
|
||||
// select all;
|
||||
/*
|
||||
fixedTemperature
|
||||
{
|
||||
type fixedTemperatureConstraint;
|
||||
select all;
|
||||
|
||||
// mode uniform;
|
||||
mode uniform;
|
||||
|
||||
// temperature constant 300; // Set temperature (K)
|
||||
// }
|
||||
temperature constant 300; // Set temperature (K)
|
||||
}
|
||||
*/
|
||||
|
||||
//************************************************************************** //
|
||||
|
||||
Reference in New Issue
Block a user