Hello,
I am going through the ErgunTestMPI_restart tutorial and found that in the controlDict file (), the application is set to pisoFoam instead of cfdemSolverPiso. This is the file, I'm referring to: https://github.com/CFDEMproject/CFDEMcoupling-PUBLIC/blob/master/tutoria...
I ran the case, two times, once with pisoFoam and once with cfdemSolverPiso. The results were exactly the same.
Does this mean, the application definition in the control dictionary is just a dummy and the solver definition in parCFDDEMrun is the one that is called?
Thanks,.
Regards,
Yesaswi
alice | Mon, 01/29/2018 - 10:47
Hi Yesaswi,
Hi Yesaswi,
exactly, in CFDEM(R)coupling, and also when you run OpenFOAM cases by directly calling the solvers, the application entry is simply ignored. But of course you are right, good style would be to use the name of the solver for which this case is actually developed ;)
Cheers,
Alice
yesaswi92 | Mon, 01/29/2018 - 20:45
Thank you for the reply!!
Thank you for the reply!!
Alma | Thu, 01/28/2021 - 15:21
Another way of running OpenFOAM solvers?
Except directly calling the solvers, is there another way of running an OpenFOAM case? Could I call the controlDict file to run a case?
lavdwall | Tue, 02/02/2021 - 05:38
Read application from controlDict using getApplication
OpenFOAM has a built-in tool for that: getApplication (this basically reads the application from controlDict)
It is used in a lot of OpenFOAM tutorials. You should first make the getApplication tool available by adding the following line to your bashrc after sourcing $FOAM_BASH:
source $WM_PROJECT_DIR/bin/tools/RunFunctions
Then you can run the solver as specified in controlDict using:
$(getApplication)
Best regards,
Laurien