erdc / cshore

cshore
10 stars 3 forks source link

modify SWL in CSHORE #3

Open GeneralU45 opened 1 month ago

GeneralU45 commented 1 month ago

How do I modify the SWL in CSHORE?

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

dangerbaby commented 1 month ago

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 commented 1 month ago

What is ilab and how do I change it?

I understand what you mean, regarding the second block of data Input. But I do not understand what you mean First, or the offshore boundary conditions block, where you reference the fifth column.

Thank you for responding to my post. Any additional help would be greatly appreciated.

This message is a PRIVATE communication. This message and all attachments are a private communication and may be confidential and/or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the information contained in or attached to this message is strictly prohibited. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you.

On Fri, Jul 12, 2024 at 14:37 dangerbaby @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/erdc/cshore/issues/3#issuecomment-2226162976, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ2QOJL5KG5QDGCFDZRGZ33ZMAO45AVCNFSM6AAAAABKZLZI2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGE3DEOJXGY . You are receiving this because you authored the thread.Message ID: @.***>

dangerbaby commented 1 month ago

Are you running the model as a Matlab script?

GeneralU45 commented 1 month ago

Yes

This message is a PRIVATE communication. This message and all attachments are a private communication and may be confidential and/or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the information contained in or attached to this message is strictly prohibited. Please notify the sender of the delivery error by replying to this message, and then delete it from your system. Thank you.

On Mon, Jul 15, 2024 at 08:30 dangerbaby @.***> wrote:

Are you running the model as a Matlab script?

— Reply to this email directly, view it on GitHub https://github.com/erdc/cshore/issues/3#issuecomment-2228392476, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ2QOJK7O4SGUNBLRGNP323ZMO6GVAVCNFSM6AAAAABKZLZI2SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYGM4TENBXGY . You are receiving this because you authored the thread.Message ID: @.***>

dangerbaby commented 1 month ago

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.