You are on page 1of 3

As I explained in my presentation, you can export surface

data from Paraview…

For example, in the folder I


shared, you can see another
folder “Height”, in which I
exported surface data at
each time step.

15/12/2021 Rahul Shukla 1


In the same folder, there is a MATLAB Code, which I used to
extract surface height at X-minimum coordinate at each time
step, which corresponds to the edge of cylinder in minimum
X-coordinate.

As you can see in this code,


I am reading data files that I
saved in folder “Height” as
shown in previous slide.

15/12/2021 Rahul Shukla 2


• I have attached MATLAB code with mail, in which I have
removed unnecessary steps, and mentioned small
description for each step in the code.

• You can place this code in a folder where you have


exported surface data from Paraview and run it with
necessary changes like:
1. File names
2. Column numbers of X & Z-coordinates in data files
you exported
3. Free surface height from origin in your geometry
4. How much distance from minimum X-coordinate you
want to include for extracting maximum Z-coordinate
of surface(height).

15/12/2021 Rahul Shukla 3

You might also like