Welcome, Guest
Username: Password: Remember me

TOPIC: Problem to load Liquid Boundaries File

Problem to load Liquid Boundaries File 6 years 7 months ago #29521

  • shenh
  • shenh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 148
  • Thank you received: 37
Esther, you cannot determine the order of the boundaries once your mesh is generated. Telemac will determine which is the first, second, and so on based on x + y coordinate values. Blue Kenue respects this order when creating a boundary condition file. You just need to set your bottom right boundary as inflow, and top left boundary as water level in Blue Kenue, see the attached screenshot.

For continued simulation, check tel2d user manual section 4.1.3 Continuing a computation. General steps:
- run model with constant inflow and water level. I noticed you have Q = 0 at time 0. I guess you can use Q = 0 and SL = 1.2 as the constant. If the model does not run you may need to use a very small Q.

- follow the manual (just add two keywords to case file) to continue a computation.

Hope this helps,

Hailiang
The administrator has disabled public write access.

Problem to load Liquid Boundaries File 6 years 7 months ago #29522

  • shenh
  • shenh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 148
  • Thank you received: 37
I noticed the attachment cannot go through. Alternatively you can refer to Blue Kenue manual page 148 (Figure 2.14 Boundary segment editor). For the boundary code, just select Open boundary with prescribed Q for inflow boundary (455), and Open boundary with prescribed H (544).
The administrator has disabled public write access.

Problem to load Liquid Boundaries File 6 years 7 months ago #29527

  • Esther Chai
  • Esther Chai's Avatar
Thanks Hailiang once again for the reply, I have private message. Do you mind to check them out?
By the way, is that meant I have to produce two steering files?
One for the initial stage and another for continuing a computation?
Sorry for asking a lot of questions, how do I enter constant inflow and water level in the steering file? It should be under which part? Is it Initial condition but there is no keywords for constant water level?
Thanks once again.

Regards,
Esther
The administrator has disabled public write access.

Problem to load Liquid Boundaries File 6 years 7 months ago #29538

  • shenh
  • shenh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 148
  • Thank you received: 37
Yes it is better to do it with two steering files for clarity.

For steering file 1, do these edits:
- comment line LIQUID BOUNDARIES FILES with forward slash / so your model do not use transient boundaries as in the liquid boundaries file.

- set PRESCRIBED FLOWRATES and PRESCRIBED ELEVATIONS to the constant values I suggested. Pay attention to the correct order of boundaries.

- set RESULTS FILE = 'hot.slf'

- your NUMBER OF TIME STEPS may not need this long, start with smaller number and if the results do not seem stable (eg depths between last two output time steps barely change), increase the number then.

For steering file 2, do these edits:
- uncomment line LIQUID BOUNDARIES FILES so your model will use transient boundaries.

- add keywords COMPUTATION CONTINUED = YES and PREVIOUS COMPUTATION FILE = 'hot.slf'.

- set RESULTS FILE = 'MAXCC_SP_results.slf' so it does not overwrite your previous hot start file.

- reset NUMBER OF TIME STEPS = 120960
The administrator has disabled public write access.
The following user(s) said Thank You: Esther Chai

Problem to load Liquid Boundaries File 6 years 7 months ago #29540

  • Esther Chai
  • Esther Chai's Avatar
Thanks Hailiang for being so helpful :)
I have attached the latest steering files and changed according to what I understood from your words. But a little bit confused about the forward slash, am I correct in that way? (sorry for being so ignorant) I have changed the time step to 86400s (one day)compared to before which were 7 days.

The second cas file (transient), am I supposed to remove the / for LIQUID BOUNDARIES FILES or the whole comment, if I deleted the comment, how about the Q and SL inside the txt file that I need to run for 7 days?
Lastly, how about the boundary condition? PRESCRIBED FLOWRATE AND ELEVATIONS remain the same as first cas file? Do I need to add in Rainfall here? Following my previous early cas file ? Where I can look for examples for mass balance in rainfall? How do I include them in the cas file?

Your help will be so so appreciated. :)))
Attachments:
The administrator has disabled public write access.

Problem to load Liquid Boundaries File 6 years 7 months ago #29547

  • Esther Chai
  • Esther Chai's Avatar
From the first steering file, this is the result, how about the final volume and initial volume here? Is it consider stable?

Results:


================================================================================
ITERATION 84600 TIME: 4 D 21 H 30 MN 0.0000 S ( 423000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9564078E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113617E+08 M3
FLUX BOUNDARY 1: 0.1911731 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4230E+06 S : 0.4154188E-10

================================================================================
ITERATION 84700 TIME: 4 D 21 H 38 MN 20.0000 S ( 423500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9799255E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113630E+08 M3
FLUX BOUNDARY 1: 0.3009354 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4235E+06 S : 0.1942236E-11

================================================================================
ITERATION 84800 TIME: 4 D 21 H 46 MN 40.0000 S ( 424000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 32 ITERATIONS, ABSOLUTE PRECISION: 0.9619719E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113646E+08 M3
FLUX BOUNDARY 1: 0.3295949 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4240E+06 S : 0.9416263E-11

================================================================================
ITERATION 84900 TIME: 4 D 21 H 55 MN 0.0000 S ( 424500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 23 ITERATIONS, ABSOLUTE PRECISION: 0.9792235E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113661E+08 M3
FLUX BOUNDARY 1: 0.2710212 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4245E+06 S : -0.6127630E-10

================================================================================
ITERATION 85000 TIME: 4 D 22 H 3 MN 20.0000 S ( 425000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9940827E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113672E+08 M3
FLUX BOUNDARY 1: 0.1412273 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4250E+06 S : -0.4611866E-10

================================================================================
ITERATION 85100 TIME: 4 D 22 H 11 MN 40.0000 S ( 425500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 25 ITERATIONS, ABSOLUTE PRECISION: 0.9839149E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113675E+08 M3
FLUX BOUNDARY 1: -0.2471276E-01 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4255E+06 S : -0.7676867E-10

================================================================================
ITERATION 85200 TIME: 4 D 22 H 20 MN 0.0000 S ( 426000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9378990E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113669E+08 M3
FLUX BOUNDARY 1: -0.1838123 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4260E+06 S : -0.3201528E-10

================================================================================
ITERATION 85300 TIME: 4 D 22 H 28 MN 20.0000 S ( 426500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 22 ITERATIONS, ABSOLUTE PRECISION: 0.9886187E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113657E+08 M3
FLUX BOUNDARY 1: -0.2923509 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4265E+06 S : -0.4021341E-10

================================================================================
ITERATION 85400 TIME: 4 D 22 H 36 MN 40.0000 S ( 427000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 30 ITERATIONS, ABSOLUTE PRECISION: 0.9668745E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113641E+08 M3
FLUX BOUNDARY 1: -0.3232391 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4270E+06 S : -0.6473544E-11

================================================================================
ITERATION 85500 TIME: 4 D 22 H 45 MN 0.0000 S ( 427500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 22 ITERATIONS, ABSOLUTE PRECISION: 0.9847958E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113626E+08 M3
FLUX BOUNDARY 1: -0.2682179 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4275E+06 S : 0.4399407E-10

================================================================================
ITERATION 85600 TIME: 4 D 22 H 53 MN 20.0000 S ( 428000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9938114E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113616E+08 M3
FLUX BOUNDARY 1: -0.1429014 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4280E+06 S : 0.6973325E-10

================================================================================
ITERATION 85700 TIME: 4 D 23 H 1 MN 40.0000 S ( 428500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 25 ITERATIONS, ABSOLUTE PRECISION: 0.9752475E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113613E+08 M3
FLUX BOUNDARY 1: 0.1964176E-01 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4285E+06 S : 0.6597378E-10

================================================================================
ITERATION 85800 TIME: 4 D 23 H 10 MN 0.0000 S ( 429000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9589975E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113618E+08 M3
FLUX BOUNDARY 1: 0.1752246 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4290E+06 S : 0.4855138E-10

================================================================================
ITERATION 85900 TIME: 4 D 23 H 18 MN 20.0000 S ( 429500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9446016E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113629E+08 M3
FLUX BOUNDARY 1: 0.2843643 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4295E+06 S : -0.1983445E-12

================================================================================
ITERATION 86000 TIME: 4 D 23 H 26 MN 40.0000 S ( 430000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 31 ITERATIONS, ABSOLUTE PRECISION: 0.9815534E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113645E+08 M3
FLUX BOUNDARY 1: 0.3167564 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4300E+06 S : 0.1765692E-11

================================================================================
ITERATION 86100 TIME: 4 D 23 H 35 MN 0.0000 S ( 430500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9610981E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113660E+08 M3
FLUX BOUNDARY 1: 0.2652808 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4305E+06 S : -0.8698769E-11

================================================================================
ITERATION 86200 TIME: 4 D 23 H 43 MN 20.0000 S ( 431000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 25 ITERATIONS, ABSOLUTE PRECISION: 0.9754315E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113670E+08 M3
FLUX BOUNDARY 1: 0.1440469 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4310E+06 S : -0.6110379E-10

================================================================================
ITERATION 86300 TIME: 4 D 23 H 51 MN 40.0000 S ( 431500.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 25 ITERATIONS, ABSOLUTE PRECISION: 0.9913019E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113673E+08 M3
FLUX BOUNDARY 1: -0.1411664E-01 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4315E+06 S : -0.7909495E-10

================================================================================
ITERATION 86400 TIME: 5 D 0 H 0 MN 0.0000 S ( 432000.0000 S)
ADVECTION STEP
DIFFUSION-PROPAGATION STEP
RESCJG (BIEF) : 24 ITERATIONS, ABSOLUTE PRECISION: 0.9458386E-05
BALANCE OF WATER VOLUME
VOLUME IN THE DOMAIN : 0.2113669E+08 M3
FLUX BOUNDARY 1: -0.1683054 M3/S ( >0 : ENTERING <0 : EXITING )
FLUX BOUNDARY 2: -0.000000 M3/S ( >0 : ENTERING <0 : EXITING )
RELATIVE ERROR IN VOLUME AT T = 0.4320E+06 S : -0.2314614E-10
FINAL BALANCE OF WATER VOLUME

RELATIVE ERROR CUMULATED ON VOLUME: 0.1559846E-05

INITIAL VOLUME : 0.1383507E+08 M3
FINAL VOLUME : 0.2113669E+08 M3
VOLUME THAT ENTERED THE DOMAIN: 7301646. M3 ( IF <0 EXIT )
TOTAL VOLUME LOST : 32.96999 M3

END OF TIME LOOP

CORRECT END OF RUN

ELAPSE TIME :
3 HOURS
29 MINUTES
8 SECONDS


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... handling result files

+> sgphgmax-steady.cas
moving: hot.slf
copying: sgphgmax-steady.cas_2018-04-11-13h17min18s.sortie


My work is done



C:\opentelemac-mascaret\v7p1\examples\sgphg>
The administrator has disabled public write access.

Problem to load Liquid Boundaries File 6 years 7 months ago #29552

  • shenh
  • shenh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 148
  • Thank you received: 37
Esther, you really need to read the previous discussions more carefully. Your boundary order in the steering file is still wrong. Your bottom right boundary should be first, and top right boundary should be second - as dictated by your mesh and nothing else. As mentioned, Blue Kenue will figure out this order correctly when creating a boundary conditions file. I strongly recommend you to use FUDDA to create two files: boundary conditions file and steering file. The boundary conditions file will be the same as the one created by Blue Kenue, but the steering file will include the CORRECT order of the boundaries.

PRESCRIBED FLOWRATES = 0;0 is correct
PRESCRIBED ELEVATIONS = 1.2;0 is wrong. it should be PRESCRIBED ELEVATIONS = 0;1.2. (1.2 should be on the second representing order 2)

You should delete duplicate keywords in your steering file (COMPUTATION CONTINUED = NO). You can just attach the .sortie file without pasting the file text.

Hailiang
The administrator has disabled public write access.
The following user(s) said Thank You: Esther Chai

Problem to load Liquid Boundaries File 6 years 7 months ago #29553

  • Esther Chai
  • Esther Chai's Avatar
Thanks Hailiang again,

"- as Coulet has pointed out, your first boundary is SL, and second boundary is Q, as dictated by the order of appearing in boundary condition file (.cli). All other files need to respect this order. So the order is correct in the liquid file. However, you still did not update this order in the cas file. PRESCRIBED FLOWRATES = 1012;0 should be PRESCRIBED FLOWRATES = 0;1012, and PRESCRIBED ELEVATIONS = 0;3 should be PRESCRIBED ELEVATIONS = 3;0"

These are the previous statement mentioned, I am confusing again when you said that PRESCRIBED ELEVATIONS= 0;1.2.

Below attached is the sortie file for the first steering file. Is it steady enough to be continued computation in second steering file?

Thanks.
Best regards.
The administrator has disabled public write access.

Problem to load Liquid Boundaries File 6 years 7 months ago #29555

  • shenh
  • shenh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 148
  • Thank you received: 37
That is because your previous configuration had the first boundary as SL and second boundary as Q. You reversed it at some point. My current understanding is the first is Q and second is SL.
The administrator has disabled public write access.

Problem to load Liquid Boundaries File 6 years 7 months ago #29556

  • Esther Chai
  • Esther Chai's Avatar
However I didn't change the boundary conditions, it still remains the same as the previous configuration. :)

Hence, I will remain 1.2;0.

Thanks so much Hailiang, you have been helping me a lot.
The administrator has disabled public write access.
Moderators: pham

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