You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I do use VEGEtation before now, and it works. I tried to test the VEGCetation module within SWAN when coupled with ROMS, so it uses SVEG_COAWST instead of SVEG in computing vegetation dissipation. This however gives an error. First, within the file for SWAN vegetation dissipation, one can enter parameters (5 values even though it reads the vegetation parameters from ROMS, but no information on the drag coefficient it uses eventually) which often works:
Meanwhile to use SVEG_COAWST (where I believe the drag coefficient is varied and maybe recalculated), it becomes
&& VEGCEtation < [height] [diamtr] [nstems] [drag] >
&& to use coawst you need
VEGCETATION 0.3 0.23 300 0.2
However, this does not work, as it gives an error: 'Youngs modulus is negative or zero' which comes from (../src_coawst/swanpre1.f)
CALL INREAL ('YOUNGSMOD' ,YY,'REQ', 0.)
IF ( YY.LE.0. ) THEN
CALL MSGERR (2,'Youngs modulus is negative or zero')
However, if I add maybe a number at the end of it like the one below even though it should be just four values, then it works. But the model stops soon.
VEGCETATION 0.3 0.23 300 0.2 1
Is there something I am not getting correctly about it?
Thanks
The text was updated successfully, but these errors were encountered:
I have looked at this a while back. SVEGC would compute drag coefficient. You can output this using the netcdf file. Try following the example laid out in veg_test under projects. Young's modulus is irrelevant if you don't use flexible vegetation option.
Hello,
I do use VEGEtation before now, and it works. I tried to test the VEGCetation module within SWAN when coupled with ROMS, so it uses SVEG_COAWST instead of SVEG in computing vegetation dissipation. This however gives an error. First, within the file for SWAN vegetation dissipation, one can enter parameters (5 values even though it reads the vegetation parameters from ROMS, but no information on the drag coefficient it uses eventually) which often works:
INPGRID NPLANTS CURVILINEAR 0 0 460 510 EXC 9.999000e+003 &
NONSTATIONARY 20170815.000000 3 HR 20170914.000000
VEGEtation [iveg] < [height] [diamtr] [nstems] [drag] > (as seen from ../src_coawst/swanpre1.f)
VEGETATION 1 0.3 0.23 300 0.2
Meanwhile to use SVEG_COAWST (where I believe the drag coefficient is varied and maybe recalculated), it becomes
&& VEGCEtation < [height] [diamtr] [nstems] [drag] >
&& to use coawst you need
VEGCETATION 0.3 0.23 300 0.2
However, this does not work, as it gives an error: 'Youngs modulus is negative or zero' which comes from (../src_coawst/swanpre1.f)
CALL INREAL ('YOUNGSMOD' ,YY,'REQ', 0.)
IF ( YY.LE.0. ) THEN
CALL MSGERR (2,'Youngs modulus is negative or zero')
However, if I add maybe a number at the end of it like the one below even though it should be just four values, then it works. But the model stops soon.
VEGCETATION 0.3 0.23 300 0.2 1
Is there something I am not getting correctly about it?
Thanks
The text was updated successfully, but these errors were encountered: