Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: FLUX_hllc.f

FLUX_hllc.f 9 years 5 months ago #17283

  • jie
  • jie's Avatar
Hello prof,
yes, there are three subroutines which call flux_hllc.f. But in my case, I only need two of them(hyd_hllc and cdl_hllc), because, I choose the HLLC_scheme only.

I give you my cas file in which, I use saint venant equation and the 5er scheme (HLLC). so in fortran file, only hyd_hllc and cdl_hllc call flux_hllc.

And I changed the two file by adding the ZF1, ZF2. after the simulation, there is no the memory error but new error coming that thes variables don"t match ...
But I have checked that, for me, there seems no problems..

Thank you for your guiding
Attachments:
The administrator has disabled public write access.

FLUX_hllc.f 9 years 5 months ago #17285

  • jmhervouet
  • jmhervouet's Avatar
Hello,

The use of FLUX_HLLC is protected by interface_telemac2d, which checks the number of arguments, to avoid this, you can rename subroutine flux_hllc in your modified Fortran. For example if you rename it flux_hllc_ and modify accordingly your modified calls into call flux_hllc_ , the "use interface_telemac2d" will have no effect.
This "use interface_telemac2d" was missing in hyd_hllc.f, this is why it did not say anything when you started modifying the calls. I have corrected this this morning for the next version.

With best regards,

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

FLUX_hllc.f 9 years 5 months ago #17286

  • jie
  • jie's Avatar
Hello prof;

yes, that works!! just a litte problem saying my variable DERIVB has the value infinity, but I think my algorithem has a problem, but basically, the code can be runned.

Thank you very much.

JIe
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: pham

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