Initialise Particle Velocity as a Function of Horizontal and Vertical Coordinate

Hello all,

I'm new to DualSPHysics. My application requires to specify a sinusoidal free-surface and a spatially varying velocity field initially (t=0) in two dimensions (x-y plane). And the initial velocity field is a function of both x and y. I noticed that the possble way to implement this setup is to use "meshData" functionality to read a .csv file as suggested by CaseTemplate.xml. However, there seems no explanation on how the data structure of the .csv file is arranged. Could anyone give me any hint on how to complete such a csv file for initial conditions? For example, how many columns should be included and the order of the columns corresponding to different variables?

Thanks in advance.

BYY

Sign In or Register to comment.