CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Reusing the inlet time directories in timeVaryingMappedFixedValue (http://www.cfd-online.com/Forums/openfoam-solving/112247-reusing-inlet-time-directories-timevaryingmappedfixedvalue.html)

ngj_22 January 24, 2013 11:22

Reusing the inlet time directories in timeVaryingMappedFixedValue
 
Hello,


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/0/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
Nina


All times are GMT -4. The time now is 10:39.