CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (http://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Discrete Inlet Velocity Profile (http://www.cfd-online.com/Forums/openfoam-pre-processing/62025-discrete-inlet-velocity-profile.html)

retech December 4, 2007 11:51

Hello all! I would like to
 
Hello all!

I would like to impose a velocity profile at the inflow boundary. My velocity profile is in the form of discrete values of the velocity magnitude at specific x, y, and z locations. What is the best way to impose this BC in OF 1.4.1?

Thanks for your time.

Joe

mattijs December 4, 2007 14:11

Have a look at timeVaryingMapp
 
Have a look at timeVaryingMappedFixedValue b.c. which interpolates in space and time.

Tutorial in $FOAM_TUTORIALS/simpleFoam/pitzDailyExptInlet

Sources in $FOAM_SRC/finiteVolume/lnInclude/timeVaryingMappedFixedValueFvPatchField.C

retech December 4, 2007 14:46

Thanks, Mattijs! I think I se
 
Thanks, Mattijs! I think I see what to do.

Joe

braennstroem September 9, 2008 14:14

Hi, does anyone know of a e
 
Hi,

does anyone know of a easy way to create those needed boundary field values from experimental data? I would like to impose a 2D velocity profile at the inlet, which are available in VTK format (some other format would be available as well by exporting the fields using visit).

Fabian

braennstroem November 12, 2008 07:20

just an info: I did the above
 
just an info: I did the above using visit and the available spreadsheet operator...


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