Fix: boundary names
This commit is contained in:
parent
c7678a2f0d
commit
42bedb8d60
@ -235,7 +235,7 @@ def computeFlow(case):
|
||||
|
||||
return returncode
|
||||
|
||||
openfoam.createPatch(dictfile = "system/createPatchDict.symetry")
|
||||
openfoam.createPatch(dictfile = "system/createPatchDict")
|
||||
|
||||
openfoam.foamDictionary(
|
||||
"constant/polyMesh/boundary",
|
||||
|
@ -12,7 +12,7 @@ format = "%(levelname)s: %(message)s"
|
||||
|
||||
[base]
|
||||
simple = true
|
||||
bodyCentered = true
|
||||
bodyCentered = false
|
||||
faceCentered = true
|
||||
|
||||
###
|
||||
|
@ -41,6 +41,12 @@ boundaryField
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
strips
|
||||
{
|
||||
type fixedValue;
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
{
|
||||
type fixedValue;
|
||||
|
@ -40,6 +40,11 @@ boundaryField
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
strips
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
{
|
||||
type zeroGradient;
|
||||
|
@ -1,131 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2012 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object createPatchDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
pointSync false;
|
||||
|
||||
// Patches to create.
|
||||
patches
|
||||
(
|
||||
{
|
||||
name inlet;
|
||||
|
||||
patchInfo
|
||||
{
|
||||
type patch;
|
||||
inGroups (inlet);
|
||||
}
|
||||
|
||||
constructFrom patches;
|
||||
patches (inlet_);
|
||||
}
|
||||
|
||||
{
|
||||
name outlet;
|
||||
|
||||
|
||||
patchInfo
|
||||
{
|
||||
type patch;
|
||||
inGroups (outlet);
|
||||
}
|
||||
|
||||
constructFrom patches;
|
||||
patches (outlet_);
|
||||
}
|
||||
|
||||
{
|
||||
name cyclicPlaneFW;
|
||||
|
||||
patchInfo
|
||||
{
|
||||
type cyclicAMI;
|
||||
neighbourPatch cyclicPlaneBW;
|
||||
transform translational;
|
||||
separationVector (2 2 0);
|
||||
matchTolerance 1e-4;
|
||||
inGroups (cyclic);
|
||||
}
|
||||
|
||||
constructFrom patches;
|
||||
patches (symetryPlaneFW_);
|
||||
}
|
||||
|
||||
{
|
||||
name cyclicPlaneBW;
|
||||
|
||||
patchInfo
|
||||
{
|
||||
type cyclicAMI;
|
||||
neighbourPatch cyclicPlaneFW;
|
||||
transform translational;
|
||||
separationVector (-2 -2 0);
|
||||
matchTolerance 1e-4;
|
||||
inGroups (cyclic);
|
||||
}
|
||||
|
||||
constructFrom patches;
|
||||
patches (symetryPlaneBW_);
|
||||
}
|
||||
|
||||
{
|
||||
name cyclicPlaneL;
|
||||
|
||||
patchInfo
|
||||
{
|
||||
type cyclicAMI;
|
||||
neighbourPatch cyclicPlaneR;
|
||||
transform translational;
|
||||
separationVector (-2 2 0);
|
||||
matchTolerance 1e-4;
|
||||
inGroups (cyclic);
|
||||
}
|
||||
|
||||
constructFrom patches;
|
||||
patches (symetryPlaneL_);
|
||||
}
|
||||
|
||||
{
|
||||
name cyclicPlaneR;
|
||||
|
||||
patchInfo
|
||||
{
|
||||
type cyclicAMI;
|
||||
neighbourPatch cyclicPlaneL;
|
||||
transform translational;
|
||||
separationVector (2 -2 0);
|
||||
matchTolerance 1e-4;
|
||||
inGroups (cyclic);
|
||||
}
|
||||
|
||||
constructFrom patches;
|
||||
patches (symetryPlaneR_);
|
||||
}
|
||||
|
||||
{
|
||||
name wall;
|
||||
|
||||
patchInfo
|
||||
{
|
||||
type wall;
|
||||
inGroups (wall);
|
||||
}
|
||||
|
||||
constructFrom patches;
|
||||
patches (wall_);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
Loading…
Reference in New Issue
Block a user