Welcome, Guest
Username: Password: Remember me

TOPIC: CDL_HLLC

CDL_HLLC 9 years 5 months ago #17337

  • jie
  • jie's Avatar
Hello,

I have two questions:
1, in the subroutine file "hyd_hllc" , there are two variables ZF1 and ZF2, they mean the left and right state of each node??
2, I need to creat these two variables in subroutine file "CDL_hllc", too. In this cas, how can I do that?

Thank you.
jie
The administrator has disabled public write access.

CDL_HLLC 9 years 5 months ago #17342

  • riadh
  • riadh's Avatar
Hello

yes ZF1 and ZF2 are the bathymetries of left and right states at each nodes. They are a local copy of ZF%R(node1) and ZF%R(node2).

You can do the same for cdl_hllc: introduce all the array ZF and then use it locally as done in hyd_hllc

with my best regards

Riadh
The administrator has disabled public write access.

CDL_HLLC 9 years 5 months ago #17345

  • jie
  • jie's Avatar
Hello prof,

ZF1 and ZF2 appeared in the loop of "loop over global list of edges" of "Hyd_hllc" and ZF1=ZF(NUBO1) and ZF2=ZF(NUBO2). in my opinion, the NUBO1 and NUBO2 are the edge extremities. So that means we give the bathymetris values to all the frontier nodes, am I right, prof??
So I'm a litte confused why we only give the bathymetris values to the frontier nodes, while the objectiv of hyd_hllc is to compute all the fluxes for INTERNAL INTERFACES.

For cdl_hllc: I added ZF in this subroutine parametres, I defined ZF1, ZF2, and in the loop of "loop over boundary noeds" I did something to copy the ZF to my ZF1 and ZF2 in "slipping condition" and in "weak imposition". I add the modified file below (light parts)

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

CDL_HLLC 9 years 5 months ago #17346

  • jie
  • jie's Avatar
file
Attachments:
The administrator has disabled public write access.

CDL_HLLC 9 years 5 months ago #17348

  • riadh
  • riadh's Avatar
No
the loop in hyd_hllc is on all mesh nodes not only boundary nodes.
I do not understand what are doing and what is your aim ! hyd_hllc computes fluxes on all mesh edges and cdl_hllc is prescribing boundary conditions.

kind regards
Riadh
The administrator has disabled public write access.

CDL_HLLC 9 years 5 months ago #17358

  • jie
  • jie's Avatar
Hello sir,

I'am sorry that I was wrong .

I want ot add myself the term of topographie in the subroutine "flux_hllc.f', because I think your file "flux_hllc.f" is for the homogeneous case. so I want to add the ZF into the flux. and I need to use ZF1 and ZF2 stocked in the subroutine "hyd_hllc.f". :(

thank you
jie
The administrator has disabled public write access.

CDL_HLLC 9 years 5 months ago #17359

  • riadh
  • riadh's Avatar
Actually the bathymetry is handled with Telemac, subroutine Hyd_hllc deals with bathymetry and you do not need to add any thing.

with my best regards
Riadh
The administrator has disabled public write access.
Moderators: pham

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