CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   uniformFixedValue boundary condition (https://www.cfd-online.com/Forums/main/162171-uniformfixedvalue-boundary-condition.html)

meth November 4, 2015 23:16

uniformFixedValue boundary condition
 
Hi,

I could successfully apply a time dependent boundary condition for the velocity on the inlet patch using "uniformFixedValue" boundary condition. I applied boundary condition on inlet patch as
Code:

inlet
    {
        type                  uniformFixedValue;
        uniformValue    tableFile;       
        tableFileCoeffs
        {
            dimensions          [0 1 -1 0 0]; // optional dimensions
            fileName          "$FOAM_CASE/Table_";    // name of data file
            outOfBounds        repeat;      // optional out-of-bounds handling
            interpolationScheme linear;      // optional interpolation method
        };
    }

and my table file contains the following
[CODE](
( 150 ( 1 0.0 0 ))
( 150.1 ( 1 0.05 0 ))
( 150.2 ( 1 0.06 0 ))
( 150.3 ( 1 0.08 0 ))
( 150.4 ( 1 0.09 0 ))
( 150.5 ( 1 0.1 0 ))
( 150.6 ( 1 0.08 0 ))
( 150.7 ( 1 0.06 0 ))
( 150.8 ( 1 0.04 0 ))
( 150.9 ( 1 0.001 0 ))
( 151 ( 1 0.03 0 ))
);/CODE]

NOTE; Time starts from 150 and increment by 0.1.

Best,
Methma


All times are GMT -4. The time now is 15:24.