I am new to Palabos and C++! Trying to run the dambreak3d example in Linux (ubuntu) and getting the following error message:
Error missing some input parameter
Palabos IO error: Can’t read command-line argument 1: there are no command-line arguments
The parameters for this program are :
Output directory name.
kinematic viscosity in physical Units (m^2/s) .
Bond number (Bo = rho * g * L^2 / gamma).
Contact angle (in degrees).
number of lattice nodes for lz .
delta_t .
maxIter .
Reasonable parameters on a desktop computer are: ./damBreak3d tmp 1.e-5 100 80.0 40 1.e-3 80000
Reasonable parameters on a parallel machine are: ./damBreak3d tmp 1.e-6 100 80.0 100 1.e-4 80000
How can I input the values in Linux platform? I would highly appreciate any help.
the error message tells you how to do it. Under Linux, you probably tried starting the program by writing “./dambreak3d” into your terminal. To pass additional arguments, you simply write them after the name of the executable, separating them with spaces. As the error message suggests, you could start the program by entering