Hello!
I am trying to do a simulation in a channel.
I would like to start from an initial condition where I have a water depth of 2 meters only in the main channel, and 0 everywhere else in the domain (picture of the domain is attached).
I tried with a fortran file USER_CONDI3D_H.
I added to my .cas file:
FORTRAN FILE : 'USER_CONDI3D_H.f'
INITIAL CONDITIONS = SPECIAL
and in my fortran file I specified the x,y coordinates of the main channel in MODULE CHANNEL_POLYGON, and afterward I set a water depth of 2 m for the points inside those borders.
I tried to run the simulation but a lot of errors appear...
I am a beginner with Fortran programming so my code might be full of errors. I would be very grateful if anybody could help me to correct my mistakes.
I attach fortran file, error screenshot and .cas
Thank you so much
Giulia