mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: iglooWithFridges: updated for patchGroups
This commit is contained in:
@ -23,13 +23,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 265;
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform 265;
|
value uniform 265;
|
||||||
@ -43,8 +37,7 @@ boundaryField
|
|||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
twoFridgeFreezers_herring_1
|
||||||
{
|
{
|
||||||
type fixedValue;
|
$twoFridgeFreezers_seal_0;
|
||||||
value uniform 303;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -23,25 +23,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform (0 0 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform (0 0 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_seal_0
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform (0 0 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
|
||||||
{
|
{
|
||||||
type fixedValue;
|
type fixedValue;
|
||||||
value uniform (0 0 0);
|
value uniform (0 0 0);
|
||||||
|
|||||||
@ -24,25 +24,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type epsilonWallFunction;
|
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
|
||||||
type epsilonWallFunction;
|
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_seal_0
|
|
||||||
{
|
|
||||||
type epsilonWallFunction;
|
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
|
||||||
{
|
{
|
||||||
type epsilonWallFunction;
|
type epsilonWallFunction;
|
||||||
value uniform 0.01;
|
value uniform 0.01;
|
||||||
|
|||||||
@ -24,25 +24,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type kqRWallFunction;
|
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
|
||||||
type kqRWallFunction;
|
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_seal_0
|
|
||||||
{
|
|
||||||
type kqRWallFunction;
|
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
|
||||||
{
|
{
|
||||||
type kqRWallFunction;
|
type kqRWallFunction;
|
||||||
value uniform 0.1;
|
value uniform 0.1;
|
||||||
|
|||||||
@ -24,28 +24,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type kappatJayatillekeWallFunction;
|
|
||||||
Prt 0.85;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
|
||||||
type kappatJayatillekeWallFunction;
|
|
||||||
Prt 0.85;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_seal_0
|
|
||||||
{
|
|
||||||
type kappatJayatillekeWallFunction;
|
|
||||||
Prt 0.85;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
|
||||||
{
|
{
|
||||||
type kappatJayatillekeWallFunction;
|
type kappatJayatillekeWallFunction;
|
||||||
Prt 0.85;
|
Prt 0.85;
|
||||||
|
|||||||
@ -24,25 +24,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type nutkWallFunction;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
|
||||||
type nutkWallFunction;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_seal_0
|
|
||||||
{
|
|
||||||
type nutkWallFunction;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
|
||||||
{
|
{
|
||||||
type nutkWallFunction;
|
type nutkWallFunction;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
|
|||||||
@ -23,25 +23,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_seal_0
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
value $internalField;
|
value $internalField;
|
||||||
|
|||||||
@ -23,28 +23,7 @@ boundaryField
|
|||||||
//- Set patchGroups for constraint patches
|
//- Set patchGroups for constraint patches
|
||||||
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
|
||||||
|
|
||||||
ground
|
wall
|
||||||
{
|
|
||||||
type fixedFluxPressure;
|
|
||||||
rho rhok;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
igloo_region0
|
|
||||||
{
|
|
||||||
type fixedFluxPressure;
|
|
||||||
rho rhok;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_seal_0
|
|
||||||
{
|
|
||||||
type fixedFluxPressure;
|
|
||||||
rho rhok;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
twoFridgeFreezers_herring_1
|
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
rho rhok;
|
rho rhok;
|
||||||
|
|||||||
@ -78,7 +78,8 @@ boundary
|
|||||||
|
|
||||||
ground
|
ground
|
||||||
{
|
{
|
||||||
type wall;
|
type wall;
|
||||||
|
inGroups (wall);
|
||||||
faces
|
faces
|
||||||
(
|
(
|
||||||
(0 3 2 1)
|
(0 3 2 1)
|
||||||
|
|||||||
@ -15,6 +15,13 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libincompressibleTurbulenceModel.so"
|
||||||
|
"libincompressibleRASModels.so"
|
||||||
|
"libincompressibleTransportModels.so"
|
||||||
|
);
|
||||||
|
|
||||||
application buoyantBoussinesqSimpleFoam;
|
application buoyantBoussinesqSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|||||||
@ -15,9 +15,9 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
numberOfSubdomains 6;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
method hierarchical;
|
method scotch;
|
||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
|
|||||||
@ -148,12 +148,28 @@ castellatedMeshControls
|
|||||||
level (3 3);
|
level (3 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Optional specification of patch type (default is wall). No
|
||||||
|
// constraint types (cyclic, symmetry) etc. are allowed.
|
||||||
|
patchInfo
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
inGroups (wall);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
"iglo.*"
|
"iglo.*"
|
||||||
{
|
{
|
||||||
// Surface-wise min and max refinement level
|
// Surface-wise min and max refinement level
|
||||||
level (1 1);
|
level (1 1);
|
||||||
|
|
||||||
|
// Optional specification of patch type (default is wall). No
|
||||||
|
// constraint types (cyclic, symmetry) etc. are allowed.
|
||||||
|
patchInfo
|
||||||
|
{
|
||||||
|
type wall;
|
||||||
|
inGroups (wall);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user