CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Size variable boundary conditions (https://www.cfd-online.com/Forums/openfoam-solving/231583-size-variable-boundary-conditions.html)

IC01 November 10, 2020 21:56

Size variable boundary conditions
 
Hello Foamers
I'm trying to have Y component of velocity that depends on x and z coordinates for the axialVelocity RadialVelocity and rpm in cylindricalInletVelocity boundary. Could you suggest me the Function1 type? Would be simpler to have A(x+z)^2 (for example) instead of csv or table file.

Thank you

Code:

        type            cylindricalInletVelocity;
        value          uniform (0 0 0);
        axis            (0 1 0);
        origin          (0 0 0);
        axialVelocity  polynomial
                        (
                        (1 1)
                        );
        radialVelocity  constant 0;
        rpm            constant 0;



All times are GMT -4. The time now is 05:28.