ufz / ogs5

OpenGeoSys THM/C simulator version 5
https://www.opengeosys.org/ogs-5
Other
39 stars 97 forks source link

output-directory ignored by RANDOM_WALK #123

Open MuellerSeb opened 5 years ago

MuellerSeb commented 5 years ago

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

wenqing commented 5 years ago

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.

MuellerSeb commented 5 years ago

Already found something about that?

wenqing commented 5 years ago

@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.