Hi everyone, I'm trying to develop a new solver base on the cfdemSolverPiso.
First, I don't know how to set the settings of Make/files :
"EXE=$(CFDEM_APP_DIR)/cfdemSolverPisoRec"
I don't know where to address in EXE above? like in OpenFOAM where we set $FOAM_USER_APPBIN should we set $CFDEM_USER_APP_DIR or $CFDEM_APP_USER_DIR ?
Second, where should I compile my solver? should I place it in directory of "home/ CFDEM/ CFDEMcoupling-PUBLIC-5.x/applications/solvers/cfdemSolverPisoRec/" or "home/ CFDEM/ $USERNAME-PUBLIC-5.x/applications/solvers/cfdemSolverPisoRec/" ?
Thanks in advance
best regards
mofazli | Thu, 07/02/2020 - 00:59
Hi Hamed,
Hi Hamed,
Please take a look at this tutorial:
https://www.youtube.com/watch?v=MiUDCOhbQaM
It is completely the same as OpenFoam procedure and it is better to place and compile your new solver in your user directory. Indeed, it's better for you to not change your original CFDEM source codes and libraries. I think this location is a suitable one: home/ CFDEM/ $USERNAME-PUBLIC-5.x/applications/solvers/cfdemSolverPisoRec/
Furthermore, a sample for how to change your Make/files:
EXE=$(CFDEM_USER_APP_DIR)/periodiccfdemSolverIB
hamedhoori | Mon, 07/06/2020 - 09:33
Thanks a lot, mofazli
Thanks a lot, mofazli
That was really helpful . I know about developing a new solver in OpenFoam, but for cfdem or liggghts, there are no such documents or tutorials to help to develop them.
thanks a lot for your help