Skip to content
Snippets Groups Projects
Commit 43915907 authored by mattijs's avatar mattijs
Browse files

ENH: iglooWithFridges: updated for patchGroups

parent 53c130b8
Branches
Tags
No related merge requests found
Showing
with 36 additions and 151 deletions
......@@ -23,13 +23,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
type fixedValue;
value uniform 265;
}
igloo_region0
wall
{
type fixedValue;
value uniform 265;
......@@ -43,8 +37,7 @@ boundaryField
twoFridgeFreezers_herring_1
{
type fixedValue;
value uniform 303;
$twoFridgeFreezers_seal_0;
}
}
......
......@@ -23,25 +23,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
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
wall
{
type fixedValue;
value uniform (0 0 0);
......
......@@ -24,25 +24,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
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
wall
{
type epsilonWallFunction;
value uniform 0.01;
......
......@@ -24,25 +24,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
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
wall
{
type kqRWallFunction;
value uniform 0.1;
......
......@@ -24,28 +24,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
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
wall
{
type kappatJayatillekeWallFunction;
Prt 0.85;
......
......@@ -24,25 +24,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
type nutkWallFunction;
value uniform 0;
}
igloo_region0
{
type nutkWallFunction;
value uniform 0;
}
twoFridgeFreezers_seal_0
{
type nutkWallFunction;
value uniform 0;
}
twoFridgeFreezers_herring_1
wall
{
type nutkWallFunction;
value uniform 0;
......
......@@ -23,25 +23,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
type calculated;
value $internalField;
}
igloo_region0
{
type calculated;
value $internalField;
}
twoFridgeFreezers_seal_0
{
type calculated;
value $internalField;
}
twoFridgeFreezers_herring_1
wall
{
type calculated;
value $internalField;
......
......@@ -23,28 +23,7 @@ boundaryField
//- Set patchGroups for constraint patches
#include "${WM_PROJECT_DIR}/etc/caseDicts/setConstraintTypes"
ground
{
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
wall
{
type fixedFluxPressure;
rho rhok;
......
......@@ -78,7 +78,8 @@ boundary
ground
{
type wall;
type wall;
inGroups (wall);
faces
(
(0 3 2 1)
......
......@@ -15,6 +15,13 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs
(
"libincompressibleTurbulenceModel.so"
"libincompressibleRASModels.so"
"libincompressibleTransportModels.so"
);
application buoyantBoussinesqSimpleFoam;
startFrom startTime;
......
......@@ -15,9 +15,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
numberOfSubdomains 6;
numberOfSubdomains 2;
method hierarchical;
method scotch;
simpleCoeffs
{
......
......@@ -148,12 +148,28 @@ castellatedMeshControls
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.*"
{
// Surface-wise min and max refinement level
level (1 1);
// Optional specification of patch type (default is wall). No
// constraint types (cyclic, symmetry) etc. are allowed.
patchInfo
{
type wall;
inGroups (wall);
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment