Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify SWL in CSHORE #3

Open
GeneralU45 opened this issue Jul 12, 2024 · 5 comments
Open

modify SWL in CSHORE #3

GeneralU45 opened this issue Jul 12, 2024 · 5 comments

Comments

@GeneralU45
Copy link

How do I modify the SWL in CSHORE?

Is it possible to have the water surface different than z=0 ?

@dangerbaby
Copy link
Contributor

Yes, the SWL is supplied as a time-varying offshore boundary condition. If ilab = 1, SWL is the 5th column of the offshore boundary conditions block. If ilab = 0; SWL is provided as a second block of input data, after the Hrms, Tp, angle. The Matlab ( or Octave) scripts should take care of this.

@GeneralU45
Copy link
Author

GeneralU45 commented Jul 12, 2024 via email

@dangerbaby
Copy link
Contributor

Are you running the model as a Matlab script?

@GeneralU45
Copy link
Author

GeneralU45 commented Jul 15, 2024 via email

@dangerbaby
Copy link
Contributor

move to the example_application directory. Within the run_model.m script, you will find in.swlbc. You can set this variable to the moving SWL values at the boundary. Don't worry about ilab at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants