Below pictures show the clipped case simulation based on source case of cavity.
Re = 10. Solver = icoFoam.
Under cavityClipped directory, use command:
cp -r 0 0.5
In mapFieldsDict dictionary,
The lid of "cavityClipped" inherits values from a corresponding patch of movingWall in the source field.
patchMap
(
lid movingWall
);
The fixedWalls generated by clipping inherit from internal field in the source field.
cuttingPatches
{
fixedWalls
};
Then use command to mapfields from source file of cavity to cavityClipped.
mapFields ../cavity
Re = 10. Solver = icoFoam.
Under cavityClipped directory, use command:
cp -r 0 0.5
In mapFieldsDict dictionary,
The lid of "cavityClipped" inherits values from a corresponding patch of movingWall in the source field.
patchMap
(
lid movingWall
);
The fixedWalls generated by clipping inherit from internal field in the source field.
cuttingPatches
{
fixedWalls
};
Then use command to mapfields from source file of cavity to cavityClipped.
mapFields ../cavity