Welcome, Guest
Username: Password: Remember me

TOPIC: Water Depth (Variable H%R) not Initialized?

Water Depth (Variable H%R) not Initialized? 12 years 10 months ago #3511

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
Hello,

I was trying to modify the subroutine STRCHE in order to give Chezy Coeff. to each point. The idea is to assign a time and space-varying Chezy Coeff. to each node. But I failed to do this because the STRCHE seems to be invoked just at the beginning. So the Chezy Coeff. will not change over time. Besides I noticed that the water depth variable H%R seemed not initialized because the value I got was 1.798E+308.

CP1.PNG


How could I give a time and space-varying Chezy Coeff. to each node? Thanks!
The administrator has disabled public write access.

Re: Water Depth (Variable H%R) not Initialized? 12 years 10 months ago #3512

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Yes, you are right, the subroutine STRCHE is called only once. To specify time and space varying friction you must take subroutine CORSTR in your FORTRAN FILE, this one is called at every time step.

With best regards,

Jean-Michel Hervouet
The administrator has disabled public write access.

Re: Water Depth (Variable H%R) not Initialized? 12 years 10 months ago #3515

  • qilong
  • qilong's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 340
  • Thank you received: 33
I've modified subroutine CORSTR. Now it works well.
Thank you!
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.