Reply To: porous medium simulation issue
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › porous medium simulation issue › Reply To: porous medium simulation issue
Dear nipinl,
did you run the case from the example or another one? For me, it works as described there, even without a cluster. You should try to run that first and get accustomed to the parameters of the setup using that example.
The example case also comes with an explanation of the command line arguments:
<filename> <arrayname> <scaling-factor> <time-scaling-factor> <resolution> <pressure_drop>
So in the example you mentioned, rock.vti
would be the file with the geometry, "Tiff Scalars"
is the name of the array with the wanted data in that file.
Since the files are usually in different units, a scaling factor is provided. In this case the scaling factor is 2.5e-6
, but you can use anything else. A pretty side effect is that you can actually artificially increase and decrease your pore size. A similar scaling factor is given for time. In the example 1
is suggested, but this can be changed if you want to have a longer or shorter simulation. 200
refers to the resolution (it resolves the y-length (extent[1]
) with 200 cells -> physDeltaX
is calculated from it). Finally, you have to option to define a pressure drop, which is set to 1
.
What do you mean by “I replace 200 with number of slices”, how many slices do you have? It sounds like the resolution you’re using is much too high. Just start with a resolution of 200 or perhaps even 100 first and then perform grid independence studies to find the necessary resolution.
Best regards,
Jan