# OpenFoam-examples/U at master · alda30/OpenFoam-examples · GitHub
Example files of OpenFoam for tutorial purposes. Contribute to alda30/OpenFoam-examples development by creating an account on GitHub.

Skip to content
alda30 / OpenFoam-examples Public

- Notifications
- Fork 2
- Star 0

Permalink
master

## OpenFoam-examples / (01)cavity / 0 /U

Go to file
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cannot retrieve contributors at this time
44 lines (38 sloc) 1.3 KB
Raw Blame

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//For more info on dimensions refer to file entitled "P"
dimensions [0 1 -1 0 0 0 0];
//Initial velocity field in 3 directions.
internalField uniform (0 0 0);
boundaryField
{
movingWall
{
type fixedValue;
//A velocity of 1 m/s in x direction
value uniform (1 0 0);
}
fixedWalls
{
type fixedValue;
value uniform (0 0 0);
}
frontAndBack
{
type empty;
}
}
// ************************************************************************* //

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.