sandialabs / SNL-Delft3D-CEC

14 stars 6 forks source link

Hey! New here, got this error while running my model: "ERROR Velocity reference point primary side outside domain for turbine: Tutorial Turbine" #5

Open jhst14 opened 11 months ago

jhst14 commented 11 months ago

Hi to all, I am a PhD student... I have this problem, so after I've already runned the tutorials succesfully, got the results and everything, when I try to test it with my model domain (using TPXO boundaries, uniform depth) I get the error: "*** ERROR Velocity reference point primary side outside domain for turbine: Tutorial Turbine" (we imagine that it is an error reading the curves.trb file). We used the turbine files that are from tutorial 2, we just changed the XY position of the turbine in order to be at the inlet. The files can be downloaded here:https://drive.google.com/file/d/1mRTrx6mw62gdDFmn4dPleVxyPycSJf5n/view?usp=drive_link Thanks in advance!

jnvn7 commented 11 months ago

@jhst14 The shared folder is not accessible. I just sent the request to download the files. Are you running this in parallel?

jhst14 commented 11 months ago

your access ir ready

El mié, 2 ago 2023 a las 14:19, Jessica Nguyen @.***>) escribió:

@jhst14 https://github.com/jhst14 The shared folder is not accessible. I just sent the request to download the files. Are you running this in parallel?

— Reply to this email directly, view it on GitHub https://github.com/sandialabs/SNL-Delft3D-CEC/issues/5#issuecomment-1662914898, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBV25LGL7CLCWXVEL5SC5XTXTKY6FANCNFSM6AAAAAA3BYXV6M . You are receiving this because you were mentioned.Message ID: @.***>

hrajagers commented 11 months ago

Your model domain seems to be many kilometers away from (0,0); x > 660 km, y > 2890 km. The turbine location is specified in metres: XYLoc = 90,199 # location of turbine, [meters] That is just 90 m east of 0 and 199 m north of 0, that is outside the model domain. It's logical that the velocity reference point is then also outside the domain ... We need to check why the model is not warning about the location of the turbine itself, but maybe you can check that you entered the correct location.

This analysis is based on the rar-file provided, not the Google drive.

On Thu, 3 Aug 2023 at 00:12, jhst14 @.***> wrote:

your access ir ready

El mié, 2 ago 2023 a las 14:19, Jessica Nguyen @.***>) escribió:

@jhst14 https://github.com/jhst14 The shared folder is not accessible. I just sent the request to download the files. Are you running this in parallel?

— Reply to this email directly, view it on GitHub < https://github.com/sandialabs/SNL-Delft3D-CEC/issues/5#issuecomment-1662914898>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BBV25LGL7CLCWXVEL5SC5XTXTKY6FANCNFSM6AAAAAA3BYXV6M>

. You are receiving this because you were mentioned.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/sandialabs/SNL-Delft3D-CEC/issues/5#issuecomment-1662971461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKKVWWWFWTKTCMC7XQ5JZLXTK7FRANCNFSM6AAAAAA3BYXV6M . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jnvn7 commented 11 months ago

@jhst14 Thanks for sharing the files. As @hrajagers pointed out, the issue is that you specified the turbine location using the grid coordinate system [M,N] instead of the projected physical location [X,Y] (See attached for both systems). If you change XYLoc = 90, 199 to the X and Y values shown in the plot below, it should run fine. Let me know if you have any other problem.

Delft3D_test001

jhst14 commented 10 months ago

Hey all! Me again, I keep investigating the use of the SNL-Delft3D-CEC, Does the version of this commit can run in parallel? Because I've tried to do it, and I got the error of the mismatch position of the turbine (because when doing the parallel run, the mesh is divided). I am just running an example of a bay using tides only. Thanks for your help! JHST

El jue, 3 ago 2023 a las 9:17, Jessica Nguyen @.***>) escribió:

@jhst14 https://github.com/jhst14 Thanks for sharing the files. As @hrajagers https://github.com/hrajagers pointed out, the issue is that you specified the turbine location using the grid coordinate system [M,N] instead of the projected physical location [X,Y] (See attached for both systems). If you change XYLoc = 90, 199 to the X and Y values shown in the plot below, it should run fine. Let me know if you have any other problem.

[image: Delft3D_test001] https://user-images.githubusercontent.com/67285162/257978796-01dd9f64-5bdd-42de-8093-3755c2e9c5ac.png

— Reply to this email directly, view it on GitHub https://github.com/sandialabs/SNL-Delft3D-CEC/issues/5#issuecomment-1664177976, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBV25LC5APJNQLSPWRV4LWTXTO6HXANCNFSM6AAAAAA3BYXV6M . You are receiving this because you were mentioned.Message ID: @.***>