1 /*--------------------------------*- C++ -*----------------------------------*\
3 | \\ / F ield | foam-extend: Open Source CFD |
4 | \\ / O peration | Version: 3.2 |
5 | \\ / A nd | Web: http://www.foam-extend.org |
6 | \\/ M anipulation | |
7 \*---------------------------------------------------------------------------*/
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
17 dimensions [0 1 -1 0 0 0 0];
19 // Re = 1 = rho=(rho U H)/mu; rho=1.144, mu=1.861e-5; H=0.01
20 internalField uniform (1.62589e-4 0 0);
28 variables "UTarget=1.62589e-4;yMax=max(pts().y);";
29 valueExpression "vector(1,0,0)*6*UTarget*pos().y/yMax*(1-pos().y/yMax)";
39 value uniform (0 0 0);
44 value uniform (0 0 0);
48 // ************************************************************************* //