Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

The forbidden value of M #34

Open
zuiwohuaqian opened this issue Dec 29, 2023 · 3 comments
Open

The forbidden value of M #34

zuiwohuaqian opened this issue Dec 29, 2023 · 3 comments

Comments

@zuiwohuaqian
Copy link

Hello recently I got an error about changing the value of order of HOS.
I decided to calculate a 2D irregular wave with mHOS=6, however, it didn't work and showed the error message with 'initiate_parameters: forbidden value of M.'
I tried to change p1 or wave condition but it still didn't work.
What should I do to deal with it?

@gducrozet
Copy link
Member

As the message indicated, in this version of the code, this value for mHOS was forbidden for concerns related to computational efficiency. If you want to overcome this test, you need to modify directly the code (just one line to modify) and recompile the code.

@NQ405
Copy link

NQ405 commented Apr 17, 2024

@gducrozet
Dear professor,recently I try to observe the change of wave eta after wavemaker stops.How can I individually control the runtime of the wavemaker?

@gducrozet
Copy link
Member

You need to modify directly the code for this purpose since this feature is not implemented yet. It is probably just few lines to modify in the main time loop.

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

No branches or pull requests

3 participants