-
Notifications
You must be signed in to change notification settings - Fork 57
Owc fix: no need for h5 #81
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dforbush2 this case isn't running for me. Can you please review and revise?
Error using wecSim (line 43)
Solver encountered an error while simulating model 'OWC_GBM' at time 2.71373531488104e-06
and cannot continue. Please check the model for errors.
Caused by:
Error using wecSim (line 43)
Nonlinear iteration is not converging with step size reduced to hmin (9.64112E-21) at time
2.71374E-06. Try reducing the minimum step size and/or relax the relative error
tolerance.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| % simu.solver = 'ode45'; % simu.solver = 'ode4' for fixed step & simu.solver = 'ode45' for variable step | ||
| simu.solver = 'ode23t'; % simu.solver = 'ode4' for fixed step & simu.solver = 'ode45' for variable step | ||
| simu.dt = 0.005; % Simulation time-step [s] | ||
| simu.cicEndTime = 15; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was unable to run this simulation. I attempted to run different solvers, different time-steps, but nothing worked. I got a convergence error each time.
| body(1) = bodyClass('./hydroData/test17a.h5'); | ||
| % body(1) = bodyClass('./hydroData/test17a.h5'); | ||
| body(1) = bodyClass('./hydroData/test17a_clean.h5'); | ||
| %Create the body(1) Variable, Set Location of Hydrodynamic Data File |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also tried running both the original and cleaned h5 files, and got the same convergence error.
|
@MShabara this is ready for your review. The OWC GBM case is still not running, so please see if you can debug it. Thanks! |
…tions into dforbush2-OWCFix
MShabara
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR is good to be merged
this places all the needed WAMIT output files into the hydroData directory with bemio.m, or, as recommended in readMe, badBemioFix_fcn.m