Creates a zero directory with fields appropriate for the chosen solver and turbulence model. Operates on both single and multi-region cases. More...
Go to the source code of this file.
Creates a zero directory with fields appropriate for the chosen solver and turbulence model. Operates on both single and multi-region cases.
Original source file createZeroDirectory.C
initialConditions
{
U uniform (0 0 0);
p uniform 0;
}
boundaryConditions
{
topWall
{
category wall;
patches (movingWall);
type noSlip;
options
{
wallFunction highReynolds;
motion moving;
};
values
{
U uniform (1 0 0);
}
}
walls
{
category wall;
patches (fixedWalls);
type noSlip;
options
{
wallFunction highReynolds;
motion stationary;
};
}
}
Definition in file createZeroDirectory.C.