mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: circuitBoardCooling: update to createBafflesDict
This commit is contained in:
@ -44,10 +44,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -46,10 +46,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -45,10 +45,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -44,10 +44,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -44,10 +44,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -45,10 +45,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -45,10 +45,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -45,10 +45,6 @@ boundaryField
|
|||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
"baffle1Wall.*"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -13,15 +13,11 @@ unset FOAM_SETNAN
|
|||||||
unset FOAM_SIGFPE
|
unset FOAM_SIGFPE
|
||||||
|
|
||||||
# Create first baffle
|
# Create first baffle
|
||||||
runApplication createBaffles baffleFaces '(baffle1Wall_0 baffle1Wall_1)' -overwrite
|
runApplication createBaffles -overwrite
|
||||||
|
|
||||||
# Create region
|
# Create region
|
||||||
runApplication extrudeToRegionMesh -overwrite
|
runApplication extrudeToRegionMesh -overwrite
|
||||||
|
|
||||||
# Set the BC's for the baffle
|
|
||||||
runApplication changeDictionary -dict system/changeDictionaryDict.baffle
|
|
||||||
rm log.changeDictionary
|
|
||||||
|
|
||||||
# Set Bc's for the region baffle
|
# Set Bc's for the region baffle
|
||||||
runApplication changeDictionary -dict system/changeDictionaryDict.baffleRegion -literalRE
|
runApplication changeDictionary -dict system/changeDictionaryDict.baffleRegion -literalRE
|
||||||
rm log.changeDictionary
|
rm log.changeDictionary
|
||||||
|
|||||||
@ -84,28 +84,6 @@ boundary
|
|||||||
(4 5 6 7)
|
(4 5 6 7)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
baffle1Wall_0
|
|
||||||
{
|
|
||||||
type mappedWall;
|
|
||||||
sampleMode nearestPatchFace;
|
|
||||||
sampleRegion region0;
|
|
||||||
samplePatch baffle1Wall_1;
|
|
||||||
offsetMode uniform;
|
|
||||||
offset (0 0 0);
|
|
||||||
faces ();
|
|
||||||
}
|
|
||||||
|
|
||||||
baffle1Wall_1
|
|
||||||
{
|
|
||||||
type mappedWall;
|
|
||||||
sampleMode nearestPatchFace;
|
|
||||||
sampleRegion region0;
|
|
||||||
samplePatch baffle1Wall_0;
|
|
||||||
offsetMode uniform;
|
|
||||||
offset (0 0 0);
|
|
||||||
faces ();
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
|
|
||||||
mergePatchPairs
|
mergePatchPairs
|
||||||
|
|||||||
@ -44,6 +44,6 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable true;
|
runTimeModifiable true;
|
||||||
|
|
||||||
libs ("libthermoBaffleModels.so");
|
libs ("libthermoBaffleModels.so" "libcompressibleRASModels.so");
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user