ogs5 icon indicating copy to clipboard operation
ogs5 copied to clipboard

output-directory ignored by RANDOM_WALK

Open MuellerSeb opened this issue 7 years ago • 3 comments

If I call ogs with the "--output-directory" argument, the RWPT vtk files are not stored to the specified output dir but instead to the root folder of the model.

Could be reproduced by:

ogs 2d_grains --output-directory out/

in /ogs5-benchmarks/RWPT/2DGrains

MuellerSeb avatar Jan 13 '19 11:01 MuellerSeb

In the source code, the given path is considered (see https://github.com/ufz/ogs5/blob/master/FEM/rf_random_walk.cpp#L6389)

I am going to take a further look.

wenqing avatar Jan 14 '19 08:01 wenqing

Already found something about that?

MuellerSeb avatar Apr 30 '19 14:04 MuellerSeb

@wenqing Sorry for my delayed response. I just tested it with the benchmark of 2d_grains with a specified output directory. I found that the option of --output-directory works well. With the option, vtu and vtp files of my test were written to my specified directory. Please try it again. If it is still a problem, please let me know.

wenqing avatar May 02 '19 09:05 wenqing