post-processing problems after CFDEM running

kunzhang's picture
Submitted by kunzhang on Thu, 01/23/2014 - 18:14

Hi All,

I met a post-processing problems after CFDEM running. After the coupling running, two figures will bump up and I could check the results in paraview, however, sometimes if I close the figures and paraview, the dump*.** files in the DEM/post will disappear. It happens sometimes but not always! I am not sure where is the problem. Does anyone else have the same problem, and how to fix it? Thanks so much for the help and suggestions!

Thanks!

Kun

alice's picture

alice | Mon, 01/27/2014 - 08:29

Good morning,
if you run the cases with cfdemTestTUT, all the files generated are deleted again, after the generated files are closed again. This happens on purpose, as the complete run of all cases is only meant for testing the successful installation. If you'd like to work with one (ore more) of the cases, just copy the files to your user-directory. If you launch the case with the Allrun-script, or manually, the resulting files will persist.
Cheers,
Alice

kunzhang's picture

kunzhang | Thu, 01/30/2014 - 21:30

Hi Alice,

Thanks for your reply. I did copy the file to my directory and use ./Allrun.sh to run my test case. I just copy the examples to my own directory and modified to my case. But it still happens. For the test case, could you show me which file is written to do this on purpose?

Thanks!

Kun

kunzhang

alice's picture

alice | Fri, 01/31/2014 - 08:35

Good morning,
in the case directory you find a file called parCFDDEMrun.sh, which is called by the allrun script. At the bottom of the file you find a couple of lines starting with "rm". If you comment the whole block, no data is deleted.
Cheers,
Alice

cgoniva's picture

cgoniva | Tue, 02/04/2014 - 14:53

Dear Alice,

thank you for your kind explanations!
@ Kun: there is no magic happening behind the scenes - all commands that are executed can be found in the Allrun (bash) scripts.

Kind Regards,
Chris

kunzhang's picture

kunzhang | Tue, 02/04/2014 - 19:40

Hi Chris,

Thanks for your help and instruction. I have read the file of parCFDDEMrun.sh, and knew where the delete commands have been written.

Thanks so much!

Kun

kunzhang

kunzhang's picture

kunzhang | Fri, 01/31/2014 - 18:54

Hi Alice,

Thanks so much for your help!

Kun

kunzhang