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];
|
dimensions [0 1 -1 0 0 0 0];
|
||||||
|
|
||||||
@ -23,14 +23,15 @@ boundaryField
|
|||||||
{
|
{
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type flowRateInletVelocity;
|
||||||
value uniform $Uinlet;
|
meanVelocity constant $Uinlet;
|
||||||
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type pressureInletOutletVelocity;
|
type pressureInletOutletVelocity;
|
||||||
value uniform $Uinlet;
|
value uniform (0 0 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
wall
|
wall
|
||||||
|
|||||||
@ -24,13 +24,13 @@ boundaryField
|
|||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
value uniform $pInitial;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
value uniform $pInitial;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
wall
|
wall
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
|
|
||||||
#include "$FOAM_CASE/constant/initialConditions"
|
#include "$FOAM_CASE/constant/initialConditions"
|
||||||
|
|
||||||
dimensions [ 1 -1 -2 0 0 0 0 ];
|
dimensions [1 -1 -2 0 0 0 0];
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
@ -24,13 +24,13 @@ boundaryField
|
|||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 0;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
inlet
|
inlet
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
value uniform 0;
|
value $internalField;
|
||||||
}
|
}
|
||||||
|
|
||||||
wall
|
wall
|
||||||
|
|||||||
@ -13,18 +13,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
/*
|
|
||||||
fixedTemperature
|
|
||||||
{
|
|
||||||
type fixedTemperatureConstraint;
|
|
||||||
select all;
|
|
||||||
|
|
||||||
mode uniform;
|
|
||||||
|
|
||||||
temperature constant 300; // Set temperature (K)
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
fixedPower
|
fixedPower
|
||||||
{
|
{
|
||||||
|
|||||||
@ -13,14 +13,16 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// fixedTemperature
|
/*
|
||||||
// {
|
fixedTemperature
|
||||||
// type fixedTemperatureConstraint;
|
{
|
||||||
// select all;
|
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