ENH: iglooWithFridges: updated for patchGroups

This commit is contained in:
mattijs
2012-12-07 11:27:32 +00:00
parent 53c130b89b
commit 439159076b
12 changed files with 36 additions and 151 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -78,7 +78,8 @@ boundary
ground ground
{ {
type wall; type wall;
inGroups (wall);
faces faces
( (
(0 3 2 1) (0 3 2 1)

View File

@ -15,6 +15,13 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs
(
"libincompressibleTurbulenceModel.so"
"libincompressibleRASModels.so"
"libincompressibleTransportModels.so"
);
application buoyantBoussinesqSimpleFoam; application buoyantBoussinesqSimpleFoam;
startFrom startTime; startFrom startTime;

View File

@ -15,9 +15,9 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 6; numberOfSubdomains 2;
method hierarchical; method scotch;
simpleCoeffs simpleCoeffs
{ {

View File

@ -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);
}
} }
} }