|
[Sponsors] |
December 16, 2013, 13:04 |
Updating data from a lookup table
|
#1 |
New Member
SJ
Join Date: Jul 2013
Posts: 1
Rep Power: 0 |
Hi,
I have a BC that uses groovyBC. The BC data is read from a table stored in a file (using lookuptables). The table/file is generated by an external code. The table changes from one time step to an other. The problem that is faced on this process is that the table is only read once at the beginning of the calculation. OpenFoam never updated the file/table. Therefore, the BC that is used by OpenFoam is the initial data that is given by the table/file that is loaded at the first time steps. How can I tell OpenFoam to update the table for each time step? I used something like functions ( fileUpdate1 { type timeActivatedFileUpdate; functionObjectLibs ("libutilityFunctionObjects.so"); outputControl outputTime; outputInterval 6; fileToUpdate "$FOAM_CASE/UVSX1.table"; timeVsFile ( (-1 "$FOAM_CASE/UVSX2.table") ); } ); but it did not update the table. It only copy UVSX2.table to UVSX1.table at the beginning of the calculation. Any thoughts on solving this? Thanks Last edited by sjendoubi; December 16, 2013 at 13:09. Reason: Correcting spelling |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 09:28 |
how to pickup the mesh data and vector data | oga_shin | OpenFOAM | 2 | October 27, 2011 23:42 |
Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 17:51 |
how to expend the table | limingtiger | Siemens | 0 | October 30, 2005 02:45 |