I'm solving a case with big nu
I'm solving a case with big number of nodes and I need to save the instantaneous data. I need to modify the reconstructPar to delete the reconstructed parallel directories (within the reconstruction loop). I need to add an option to the command -savestorage which let the reconstructPar delete the reconstructed directory after reconstructing it. This can not be done at the end since the data are near a terra bite. I would be gratefule if any body can help.
I checked util/parallel/recost
I checked util/parallel/recostructPar.C. I know where (end of time-directories loop) to put the delete statement but I can't figure out what should I write to delete the folder. Can any body help.
Try for(label np = 0; np <
for(label np = 0; np < nProcs; np++)
or something similar.
Foam wrappers for a lot of system commands can be found in Unix.C.
|All times are GMT -4. The time now is 01:37.|