CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Recreate forceCoeffs files (https://www.cfd-online.com/Forums/openfoam-solving/106202-recreate-forcecoeffs-files.html)

jferrari August 21, 2012 17:43

Recreate forceCoeffs files
 
I have already run a simulation with the proper forceCoeffs subdictionary in my control dictionary. However, I lost power during the simulation. I restarted it using the >> operator to append to my existing log file, but I didn't consider what would happen to my forceCoeffs file. It turns out that it has been overwritten. Is there any way to recreate it? I'm thinking it might be possible from the data in the log file, but I'm not sure.

Thanks

jferrari August 21, 2012 17:57

The gnuplot script in this link uses the log file to create the plot, so I think it should be possible to recreate the forceCoeffs file, though I'm still not sure how.

owayz August 22, 2012 05:37

Well principally it should start writing a new forceCoeffs file in a folder with the starting time as its name.
So you should have more than one folders on your forces folder. Each folder for the specific simulation start time.
Regards,
Awais

jferrari August 22, 2012 06:38

I think I realize what my problem is now. I was using my phone to transfer files between two FTP servers and something must have gotten jumbled along the way (I'm blaming Verizon) and the full file never made it. Going back to the computer where I first ran the simulation, the full files are there, exactly as you described Awais(owayz). Thanks for pointing that out.


All times are GMT -4. The time now is 04:20.