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]; 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

View File

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

View File

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

View File

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

View File

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