coolingSphere tutorial: update for consistency with singleFluidCHT template case

This commit is contained in:
Chris Greenshields
2023-07-07 12:06:50 +01:00
parent d0183af829
commit e7f75df23f
5 changed files with 19 additions and 28 deletions

View File

@ -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

View File

@ -24,13 +24,13 @@ boundaryField
outlet
{
type calculated;
value uniform $pInitial;
value $internalField;
}
inlet
{
type calculated;
value uniform $pInitial;
value $internalField;
}
wall

View File

@ -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

View File

@ -13,18 +13,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
/*
fixedTemperature
{
type fixedTemperatureConstraint;
select all;
mode uniform;
temperature constant 300; // Set temperature (K)
}
*/
/*
fixedPower
{

View File

@ -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)
}
*/
//************************************************************************** //