mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove deprecated constraints format from tutorials
This commit is contained in:
@ -17,22 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -126,6 +110,38 @@ structuredCoeffs
|
|||||||
method scotch;
|
method scotch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches,
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
}
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
processors
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -17,27 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Keep owner and neighbour of baffles on same processor (i.e. keep it
|
|
||||||
// detectable as a baffle). Baffles are two boundary face sharing the
|
|
||||||
// same points.
|
|
||||||
//preserveBaffles true;
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -130,6 +109,37 @@ structuredCoeffs
|
|||||||
method scotch;
|
method scotch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches,
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
}
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
processors
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -17,27 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Keep owner and neighbour of baffles on same processor (i.e. keep it
|
|
||||||
// detectable as a baffle). Baffles are two boundary face sharing the
|
|
||||||
// same points.
|
|
||||||
//preserveBaffles true;
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -130,6 +109,37 @@ structuredCoeffs
|
|||||||
method scotch;
|
method scotch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches,
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
}
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
processors
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -17,27 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 5;
|
numberOfSubdomains 5;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Keep owner and neighbour of baffles on same processor (i.e. keep it
|
|
||||||
// detectable as a baffle). Baffles are two boundary face sharing the
|
|
||||||
// same points.
|
|
||||||
//preserveBaffles true;
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -130,6 +109,37 @@ structuredCoeffs
|
|||||||
method scotch;
|
method scotch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches,
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
}
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
processors
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -17,22 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -125,6 +109,36 @@ structuredCoeffs
|
|||||||
method scotch;
|
method scotch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches,
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
}
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
processors
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -27,9 +24,8 @@ method scotch;
|
|||||||
coeffs
|
coeffs
|
||||||
{
|
{
|
||||||
n (2 2 1);
|
n (2 2 1);
|
||||||
//delta 0.001; // default=0.001
|
|
||||||
//order xyz; // default=xzy
|
|
||||||
dataFile "decompositionData";
|
dataFile "decompositionData";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,11 +16,7 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
|
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
// method manual;
|
// method manual;
|
||||||
@ -44,4 +40,16 @@ coeffs
|
|||||||
n (2 2 1);
|
n (2 2 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
|
|
||||||
regions
|
regions
|
||||||
@ -26,7 +23,7 @@ regions
|
|||||||
heater
|
heater
|
||||||
{
|
{
|
||||||
numberOfSubdomains 1;
|
numberOfSubdomains 1;
|
||||||
method simple;
|
method simple;
|
||||||
|
|
||||||
coeffs
|
coeffs
|
||||||
{
|
{
|
||||||
@ -40,4 +37,16 @@ coeffs
|
|||||||
n (2 2 1);
|
n (2 2 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,10 +16,18 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -37,4 +34,16 @@ scotchCoeffs
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -18,15 +18,19 @@ numberOfSubdomains 4;
|
|||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
|
|
||||||
preserveFaceZones
|
|
||||||
(
|
|
||||||
cycLeft
|
|
||||||
cycRight
|
|
||||||
);
|
|
||||||
|
|
||||||
coeffs
|
coeffs
|
||||||
{
|
{
|
||||||
n (2 2 1);
|
n (2 2 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (cycLeft cycRight);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -17,27 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Keep owner and neighbour of baffles on same processor (i.e. keep it
|
|
||||||
// detectable as a baffle). Baffles are two boundary face sharing the
|
|
||||||
// same points.
|
|
||||||
//preserveBaffles true;
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -79,15 +58,12 @@ multiLevelCoeffs
|
|||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
n (2 1 1);
|
n (2 1 1);
|
||||||
delta 0.001;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hierarchicalCoeffs
|
hierarchicalCoeffs
|
||||||
{
|
{
|
||||||
n (1 2 1);
|
n (1 2 1);
|
||||||
delta 0.001;
|
|
||||||
order xyz;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
metisCoeffs
|
metisCoeffs
|
||||||
@ -131,6 +107,49 @@ structuredCoeffs
|
|||||||
method scotch;
|
method scotch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
zones
|
||||||
|
{
|
||||||
|
type preserveFaceZones;
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches;
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
processors
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep owner and neighbour of baffles on same processor
|
||||||
|
// (i.e. keep it detectable as a baffle).
|
||||||
|
// Baffles are two boundary face sharing the same points.
|
||||||
|
baffles
|
||||||
|
{
|
||||||
|
type preserveBaffles;
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -17,27 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 5;
|
numberOfSubdomains 5;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Keep owner and neighbour of baffles on same processor (i.e. keep it
|
|
||||||
// detectable as a baffle). Baffles are two boundary face sharing the
|
|
||||||
// same points.
|
|
||||||
//preserveBaffles true;
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -79,15 +58,12 @@ multiLevelCoeffs
|
|||||||
|
|
||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
n (2 1 1);
|
n (2 1 1);
|
||||||
delta 0.001;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hierarchicalCoeffs
|
hierarchicalCoeffs
|
||||||
{
|
{
|
||||||
n (1 2 1);
|
n (1 2 1);
|
||||||
delta 0.001;
|
|
||||||
order xyz;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
metisCoeffs
|
metisCoeffs
|
||||||
@ -123,14 +99,57 @@ manualCoeffs
|
|||||||
|
|
||||||
structuredCoeffs
|
structuredCoeffs
|
||||||
{
|
{
|
||||||
|
// Method to use on the 2D subset
|
||||||
|
method scotch;
|
||||||
|
|
||||||
// Patches to do 2D decomposition on. Structured mesh only; cells have
|
// Patches to do 2D decomposition on. Structured mesh only; cells have
|
||||||
// to be in 'columns' on top of patches.
|
// to be in 'columns' on top of patches.
|
||||||
patches (movingWall);
|
patches (movingWall);
|
||||||
|
|
||||||
// Method to use on the 2D subset
|
|
||||||
method scotch;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
zones
|
||||||
|
{
|
||||||
|
type preserveFaceZones;
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches;
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
processors
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep owner and neighbour of baffles on same processor
|
||||||
|
// (i.e. keep it detectable as a baffle).
|
||||||
|
// Baffles are two boundary face sharing the same points.
|
||||||
|
baffles
|
||||||
|
{
|
||||||
|
type preserveBaffles;
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -18,11 +18,15 @@ numberOfSubdomains 3;
|
|||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
|
|
||||||
preserveFaceZones
|
constraints
|
||||||
(
|
{
|
||||||
cycLeft
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
cycRight
|
faces
|
||||||
);
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (cycLeft cycRight);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -17,27 +17,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 2;
|
numberOfSubdomains 2;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in patches:
|
|
||||||
// (makes sense only for cyclic patches)
|
|
||||||
//preservePatches (cyclic_half0 cyclic_half1);
|
|
||||||
|
|
||||||
//- Keep all of faceSet on a single processor. This puts all cells
|
|
||||||
// connected with a point, edge or face on the same processor.
|
|
||||||
// (just having face connected cells might not guarantee a balanced
|
|
||||||
// decomposition)
|
|
||||||
// The processor can be -1 (the decompositionMethod chooses the processor
|
|
||||||
// for a good load balance) or explicitly provided (upsets balance).
|
|
||||||
//singleProcessorFaceSets ((f0 -1));
|
|
||||||
|
|
||||||
|
|
||||||
//- Keep owner and neighbour of baffles on same processor (i.e. keep it
|
|
||||||
// detectable as a baffle). Baffles are two boundary face sharing the
|
|
||||||
// same points.
|
|
||||||
//preserveBaffles true;
|
|
||||||
|
|
||||||
//- Use the volScalarField named here as a weight for each cell in the
|
//- Use the volScalarField named here as a weight for each cell in the
|
||||||
// decomposition. For example, use a particle population field to decompose
|
// decomposition. For example, use a particle population field to decompose
|
||||||
// for a balanced number of particles in a lagrangian simulation.
|
// for a balanced number of particles in a lagrangian simulation.
|
||||||
@ -79,14 +58,11 @@ multiLevelCoeffs
|
|||||||
simpleCoeffs
|
simpleCoeffs
|
||||||
{
|
{
|
||||||
n (2 1 1);
|
n (2 1 1);
|
||||||
delta 0.001;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
hierarchicalCoeffs
|
hierarchicalCoeffs
|
||||||
{
|
{
|
||||||
n (1 2 1);
|
n (1 2 1);
|
||||||
delta 0.001;
|
|
||||||
order xyz;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
metisCoeffs
|
metisCoeffs
|
||||||
@ -122,14 +98,58 @@ manualCoeffs
|
|||||||
|
|
||||||
structuredCoeffs
|
structuredCoeffs
|
||||||
{
|
{
|
||||||
|
// Method to use on the 2D subset
|
||||||
|
method scotch;
|
||||||
|
|
||||||
// Patches to do 2D decomposition on. Structured mesh only; cells have
|
// Patches to do 2D decomposition on. Structured mesh only; cells have
|
||||||
// to be in 'columns' on top of patches.
|
// to be in 'columns' on top of patches.
|
||||||
patches (movingWall);
|
patches (movingWall);
|
||||||
|
|
||||||
// Method to use on the 2D subset
|
|
||||||
method scotch;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
zones
|
||||||
|
{
|
||||||
|
type preserveFaceZones;
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep owner and neighbour on same processor for faces in patches:
|
||||||
|
// (makes sense only for cyclic patches)
|
||||||
|
patches
|
||||||
|
{
|
||||||
|
type preservePatches;
|
||||||
|
patches (cyclic_half0 cyclic_half1);
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep all of faceSet on a single processor. This puts all cells
|
||||||
|
// connected with a point, edge or face on the same processor.
|
||||||
|
// (just having face connected cells might not guarantee a balanced
|
||||||
|
// decomposition)
|
||||||
|
// The processor can be -1 (the decompositionMethod chooses the processor
|
||||||
|
// for a good load balance) or explicitly provided (upsets balance).
|
||||||
|
singleProcessorFaceSets
|
||||||
|
{
|
||||||
|
type singleProcessorFaceSets;
|
||||||
|
sets ((f0 -1));
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//- Keep owner and neighbour of baffles on same processor
|
||||||
|
// (i.e. keep it detectable as a baffle).
|
||||||
|
// Baffles are two boundary face sharing the same points.
|
||||||
|
baffles
|
||||||
|
{
|
||||||
|
type preserveBaffles;
|
||||||
|
enabled false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//// Is the case distributed? Note: command-line argument -roots takes
|
//// Is the case distributed? Note: command-line argument -roots takes
|
||||||
//// precedence
|
//// precedence
|
||||||
//distributed yes;
|
//distributed yes;
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -45,4 +42,16 @@ scotchCoeffs
|
|||||||
//strategy "b";
|
//strategy "b";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
// method scotch;
|
// method scotch;
|
||||||
method hierarchical;
|
method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -45,4 +42,16 @@ scotchCoeffs
|
|||||||
//strategy "b";
|
//strategy "b";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones;
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -45,4 +42,16 @@ scotchCoeffs
|
|||||||
//strategy "b";
|
//strategy "b";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -45,4 +42,16 @@ scotchCoeffs
|
|||||||
//strategy "b";
|
//strategy "b";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -45,4 +42,16 @@ scotchCoeffs
|
|||||||
//strategy "b";
|
//strategy "b";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -16,9 +16,6 @@ FoamFile
|
|||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
//- Keep owner and neighbour on same processor for faces in zones:
|
|
||||||
// preserveFaceZones (heater solid1 solid3);
|
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
// method hierarchical;
|
// method hierarchical;
|
||||||
// method simple;
|
// method simple;
|
||||||
@ -45,4 +42,16 @@ scotchCoeffs
|
|||||||
//strategy "b";
|
//strategy "b";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
constraints
|
||||||
|
{
|
||||||
|
//- Keep owner and neighbour on same processor for faces in zones:
|
||||||
|
faces
|
||||||
|
{
|
||||||
|
type preserveFaceZones,
|
||||||
|
zones (heater solid1 solid3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user