running EDEM in batch mode
Hello,
I am Trying to Run EDEM on the command line as per the guidelines given on this web page
This is the command where i am trying to run a simulation
"C:\Program Files\Altair\2022.3\EDEM\bin\edem.exe" -c -i "C:\Users\satri\Desktop\AltairEDEM\transfer2\g1t1\Fiber_share.dem" -r 5.0e-7 -w 2.0e-7 -E 0 -t 1.12754e-10 -g 2.2222 -p 4
I am getting this warning and not seeing any files being written in the folder
Please let me know if i am doing anything wrong here because i think i am following everything given in this help page
Best Answer
-
Hi Shyam,
It looks like that you're running the command from C:\users\satri folder and your simulation is in the C:\Users\satri\Desktop\AltairEDEM\transfer2\g1t1\ folder. Make sure your command prompt is in the same folder as your simulation before running the batch command or specify the full path of the preference file in your api code.
Regards,
Renan1
Answers
-
Nothing is being written in this folder. I was hoping to get two files written after that command was executed. Please let me know. When I do this on the GUI everything works as I want, there is no logical error in my simulation
0 -
Hi Shyam,
It looks like you're using a custom factory model and that model is not finding Preference file 1. Make sure that the model dll and all preference files are in the same folder as your EDEM simulation. This should fix the error.
Regards,
Renan0 -
I have all the files required and I don't get any error when I run this using GUI
0 -
Hi Shyam,
Please run the following command and check the contents of the stderr.txt file:
"C:\Program Files\Altair\2022.3\EDEM\bin\edem.exe" -c -i "C:\Users\satri\Desktop\AltairEDEM\transfer2\g1t1\Fiber_share.dem" -r 5.0e-7 -w 2.0e-7 -E 0 -t 1.12754e-10 -g 2.2222 -p 4 > stdout.txt 2> stderr.txt
Regards,
Renan0 -
0
-
Besides what i do not understand is this is a warning not an error. what is preventing the simulation from running?
0 -
The above command did not give me any output.
But This is what I get when I run it on the GUI
all the h5 files are created and the API is reading those pref files because if it would not have read I would not have seen two different meta particles
0 -
Hi Shyam,
It looks like that you're running the command from C:\users\satri folder and your simulation is in the C:\Users\satri\Desktop\AltairEDEM\transfer2\g1t1\ folder. Make sure your command prompt is in the same folder as your simulation before running the batch command or specify the full path of the preference file in your api code.
Regards,
Renan1 -
Ohh that fixes it..i thought that won't be an issue because I am specifying the entire folder..but yeah when I switched directory it is running now. Thank you
0