Author Topic: Displaying Velocity for each node.  (Read 136 times)

bakjee

  • Posts: 4
    • View Profile
Displaying Velocity for each node.
« on: June 17, 2020, 05:53:47 am »
Hi all, noob user for the MIKE series software.

There weren't that many examples or tutorials to study with available online besides the step by step guides (which by the way is very helpful in most ways but some of them are not updated and also alittle vague on details) but managed to run a 21fm file and got myself a dfsu file.

I was hoping to display the velocity at each time step for all the nodes in my domain, something that might look like the image in the attatchment. I have a feeling that this could be the with the result viewer tool but have no clue how this can be achieved?

If any one could guide me on how i might be able to display the velocities and also If you have any study materials (besides the step by step guides) that is available on-line, will be much appreciated.

Thanks

========================================================================================
Edit:

So, im not sure if this is the correct way however but I converted dfsu to a reasonably sized grid files where I can kinda achieve what I wanted to do in the tabular view but i'm guessing there is an easier and more appropriate way. Also converting into grid files takes very long and a lot of computing powers...
« Last Edit: June 17, 2020, 06:17:43 am by bakjee »

Sebastian

  • Posts: 16
    • View Profile
Re: Displaying Velocity for each node.
« Reply #1 on: June 17, 2020, 07:55:33 am »
Hey,


I was hoping to display the velocity at each time step for all the nodes in my domain, something that might look like the image in the attatchment. I have a feeling that this could be the with the result viewer tool but have no clue how this can be achieved?

(...)

Edit:

So, im not sure if this is the correct way however but I converted dfsu to a reasonably sized grid files where I can kinda achieve what I wanted to do in the tabular view but i'm guessing there is an easier and more appropriate way. Also converting into grid files takes very long and a lot of computing powers...

I think your solution is one way to go, but as you mentioned it doesn't show the velocity at the nodes. As far as i know, there is no build-in function to achieve this, since MIKE21FM uses an Finite Volume approach, which means that the values are calculated at the center of the mesh elements. In case you have Matlab you can check the DHI-Matlab-Toolbox.

Another way is MIKE2SHP (Mike Zero Toolbox), which converts the dfsu-file to a shapefile. But due to the the Finite Volume Approach and the way MIKE2SHP works, the result only shows the velocity for each element and not at the nodes.

Greetings,
Sebastian

bakjee

  • Posts: 4
    • View Profile
Re: Displaying Velocity for each node.
« Reply #2 on: June 17, 2020, 08:34:07 am »
Thank you Sebastian for your kind reply,

The way that I am doing things is a process since I need to re-assign all the xyz co-ordinates accordingly then re-load the newly assigned

data onto a plotting software hence I am quite keen on trying this MATLAB toolbox.

I actually do have a copy of an academic version of MATLAB, would this be sufficient enough to run the DHI MATLAB TOOLBOX?

Also tried googling the said toolbox and found a Github page for DHI, is this where I should be able to get all the necessary info?

Thank you

Regards

Sebastian

  • Posts: 16
    • View Profile
Re: Displaying Velocity for each node.
« Reply #3 on: June 17, 2020, 09:30:44 am »
Quote

I actually do have a copy of an academic version of MATLAB, would this be sufficient enough to run the DHI MATLAB TOOLBOX?

I don't really know, sorry. Give it a try :-).
Quote
Also tried googling the said toolbox and found a Github page for DHI, is this where I should be able to get all the necessary info?
Yes, exactly: https://github.com/DHI/DHI-MATLAB-Toolbox
Note, that there is a short UserGuide: https://github.com/DHI/DHI-MATLAB-Toolbox/blob/master/Documentation/DHI_MATLAB_Toolbox_User_Guide.pdf
On page 15 it says, that there is an approach to interpolate element center values to the node positions.

Greetings
Sebastian