CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Reusing the inlet time directories in timeVaryingMappedFixedValue (

ngj_22 January 24, 2013 11:22

Reusing the inlet time directories in timeVaryingMappedFixedValue

Iím using the timeVaryingMappedFixedValue as boundary condition for my inlet in an LES. For the inlet I have time folders from another simulation that I use. These are placed in constant/boundaryData/INLET/.

Is there a way to reuse the data in INLET automatically when the LES simulation has run through the time provided in the INLET. If I just let the LES run further beyond the time provided in the INLET directory it keeps the last time folder as inlet data.

For example if I have the following time folders containing inlet data for U:

constant/boundaryData/ INLET /1/U
constant/boundaryData/ INLET /2/U
constant/boundaryData/ INLET /3/U

And I put my endTime to 7 the U INLET boundary conditions for simulation times 4, 5, 6 and 7 are taken from folder 3. Instead I would like it to start again from the first time folder given and reuse the data in INLET. So for simulation time 4, 5, 6, 7 it would use the U provided in INLET/0, 1, 2, 3 and so on.

Thank you in advance

All times are GMT -4. The time now is 23:59.