Error occurs when ‘referenceTime’ is non-zero in waves2Foam with Grid2Grid
Hi,
I’ve successfully compiled Grid2Grid and waves2Foam, and everything works perfectly when referenceTime = 0. But if I choose referenceTime = -20, error log:
Courant Number mean: 0 max: 0 Interface Courant Number mean: 0 max: 0 deltaT = 0.0011976 Time = 0.0011976
Grid2Grid Time : 0.0011976 PIMPLE: iteration 1 smoothSolver: Solving for alpha.water, Initial residual = 0, Final residual = 0, No Iterations 0 Phase-1 volume fraction = 0.9 Min(alpha.water) = 0 Max(alpha.water) = 1 MULES: Correcting alpha.water Phase-1 volume fraction = 0.9 Min(alpha.water) = 0 Max(alpha.water) = 1 [ERROR] InterpEta_typV2VInterp2D
Error evaluating 2D eta spline: Error in db*val: y value out of bounds
Environment:
- OpenFOAM version: v2206
- waves2Foam + Grid2Grid (compiled successfully)
Configuration snippet (waveProperties.input):
Grid2GridCoeffs { waveType Grid2Grid;
Tsoft 0; referenceTime 20; referencePosition (12.5664 0 0); referenceTheta 0; Grid2GridInputFileName Grid2Grid.json;};
Regardless of whether referenceTime is positive or negative, the same error message appears.
My HOS-ocean simulation runs for more than 120 seconds, and I’ve confirmed that the referencePosition does not exceed the domain boundary.
Could you please advise what might cause this error or how to properly use referenceTime in this context?
Thank you very much for your help!
Best regards