Transient Boundary Syntax Changed in OpenFOAM v1.5

Sometimes, implementing time varying boundary conditions for a transient simulation is interesting. A series of pressure (or other varibles) values should be read from a text file, and update the boundary at each timestep.

the boundary scalar value type should be set as timeVaryingUniformFixedValue, and timeDataFileName should be set with the filename. for example:

type timeVaryingUniformFixedValue; 
timeDataFileName "inlet.dat"; 
value uniform 1e5; 

However, the data file should be in the following format, if the boundary is set as pressure, a scalor variable:

(t0 p0) 
(t1 p1) 
(t2 p2) 
(tN pN) 

This file should be located in the case directory.

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see


This site uses Akismet to reduce spam. Learn how your comment data is processed.