Use wkb_wwave and parameters in croco_inter.in

Hello,

I am using MRL_WCI at my configuration with WKB_WWAVE, WAVE_STREAMING, WAVE_FRICTION and WAVE_RAMP. The WKB open boundaries are active at the north, south and west boundaries, and I generate the boundary forcing with make_bry_wkb_ERA5.

My question concerns the six parameters in croco_inter.in

amp, ang, prd, tide, B_tg, and gamma_tg

When the WKB boundary conditions are read from the NetCDF file, are all six parameters still used?

More specifically:

Are amp, ang, prd and tide used only for analytical WKB boundary conditions?

Are B_tg and gamma_tg still used for wave-breaking dissipation when the WKB forcing comes from the NetCDF file?

Which CPP option determines whether B_tg and gamma_tg are used?

Must the six values remain in croco_inter.in even when some of them are not used?

I would also appreciate a reference to the relevant documentation or source code routine.

Thank you.

Hi @SusyDuCol
you used ERA5 data?
err=95 can find missing. B_tg and gamma_tg are used for wave-breaking dissipation whether the offshore BC is analytical or NetCDF. The CPP switch is WKB_WWAVE itself. but !+ wkb_tide i dont know what its do.
Thank you with best regards.