Importing Particle Positions into New Simulation

Dear MFIX Community,

I would like to import the final particle positions from a prior DEM simulation into a new simulation with new boundary conditions. Is there a method of accomplishing this through the GUI or will I need to implement a UDF?

Best,

Tanner

I have a feeling that this can be achieved via GUI itself. However with mfx file, this is straight-forward. You just have to set the gener_part_config to false.

gener_part_config = .False.
particles = 2

This would disable the in-built particle generator and would look for file named particle_input.dat containing the particles. Additionally, you would have to specify the number of particles as show above. The file would be in the following format with 8 columns:

x y z radius density vel_x vel_y vel_z

For example, an example particle_input.dat with 2 particles:

0.1200D-01 0.8750D-01 0.2375D-02 0.2500D-02 0.1000D+04 0.00D+00 0.00D+00 0.00D+00
0.1200D-01 0.8750D-01 0.7125D-02 0.2500D-02 0.1000D+04 0.00D+00 0.00D+00 0.00D+00

2 Likes

Thank you for the prompt response! I will go ahead and try this.

Best,

Tanner

Would you happen to know where I can locate information regarding particle position in order to create the particle_input.dat file? Are these generated through the VTP files?

Best,

Tanner

You can export these by opening the VTP files in Paraview -> Spreadsheet View.

2 Likes

Please see 8.4. Frequently Asked Questions — MFiX 19.3.0 documentation

1 Like