Hello c.coulet,
Thank you for your answer. In this process, my simulation results are as shown in the figure, and the longitudinal velocity of the measuring points is compared. As can be seen from the figure, there is a big gap between the results of physical model test and the results of numerical simulation. The stability analysis is also carried out, and the model is stable. I adjusted the roughness, and now I have rebuilt the model. This is my new cas file:
/
INITIAL CONDITIONS : 'CONSTANT DEPTH'
INITIAL DEPTH : 0.16
PRESCRIBED FLOWRATES : 0.006;0.009;0
/
/
PRESCRIBED ELEVATIONS : 0;0.;0.22
/LOGARITHMIC PROFILE
VELOCITY VERTICAL PROFILES = 2;2;2
/
TIDAL FLATS = NO
/
VARIABLES FOR 2D GRAPHIC PRINTOUTS = U,V,H,B,S
VARIABLES FOR 3D GRAPHIC PRINTOUTS = Z,U,V,W,RI,NUZ,TA1,NAZ1,EPS,K
MASS-BALANCE = YES
NON-HYDROSTATIC VERSION = YES
PRANDTL NUMBER = 0.71
KARMAN CONSTANT = 0.41
/
/ CONVECTION-DIFFUSION
/
SCHEME FOR ADVECTION OF VELOCITIES : 4
SCHEME FOR ADVECTION OF TRACERS : 4
SCHEME FOR ADVECTION OF K-EPSILON : 4
/
/ K-EPSILON
/
HORIZONTAL TURBULENCE MODEL = 3
/
/ Viscosite constante
/
/ HORIZONTAL TURBULENCE MODEL = 1
/ COEFFICIENT FOR HORIZONTAL DIFFUSION OF VELOCITIES = 5.D-3
/
/ K-EPSILON
/
VERTICAL TURBULENCE MODEL = 3
/
/ MIXING LENGTH + PRANDTL + VIOLLET
/
/ VERTICAL TURBULENCE MODEL = 2
/ MIXING LENGTH MODEL = 1
/ DAMPING FUNCTION = 2
/
/ TERMES SOURCES
/
FRICTION COEFFICIENT FOR THE BOTTOM = 63.4505
TURBULENCE REGIME FOR THE BOTTOM = 1 / LISSE
LAW OF BOTTOM FRICTION = 1 / HAALAND
/
/ PROPAGATION
/
MAXIMUM NUMBER OF ITERATIONS FOR PPE = 400
MAXIMUM NUMBER OF ITERATIONS FOR PROPAGATION = 1600
MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF VELOCITIES = 1600
MAXIMUM NUMBER OF ITERATIONS FOR DIFFUSION OF K-EPSILON = 1600
ACCURACY FOR DIFFUSION OF VELOCITIES = 1.E-4
ACCURACY FOR DIFFUSION OF K-EPSILON = 1.E-4
ACCURACY FOR DIFFUSION OF TRACERS = 1.E-4
ACCURACY FOR PROPAGATION = 1.E-4
ACCURACY FOR PPE = 1.E-4
/
IMPLICITATION FOR DEPTH = 1.
/
/ SEDIMENT
/
/
/ NO FRICTION
LAW OF FRICTION ON LATERAL BOUNDARIES : 0
/
IMPLICITATION FOR DIFFUSION : 2.
/
/ DEFAULT VALUES UNTIL V8P0 KEPT FOR NON REGRESSION
SCHEME OPTION FOR ADVECTION OF VELOCITIES = 1
IMPLICITATION FOR VELOCITIES = 1.
SCHEME OPTION FOR ADVECTION OF TRACERS = 1
SCHEME OPTION FOR ADVECTION OF K-EPSILON = 1
The following error occurred when running this new cas file:
ITERATION 400 TIME 0 D 0 H 0 MN 1.0000 S ( 1.0000 S)
================================================================================
ADVECTION STEP
MURD3D OPTION: 4 1 ITERATIONS
MURD3D OPTION: 4 1 ITERATIONS
MURD3D OPTION: 4 1 ITERATIONS
DIFFUSION OF WN
GRACJG (BIEF) : 1 ITERATIONS, ABSOLUTE PRECISION: 0.2634724E-06
PROPAGATION AND DIFFUSION WITH WAVE EQUATION
GMRES (BIEF) : 1 ITERATIONS, ABSOLUTE PRECISION: 0.2203300E-08
DYNAMIC PRESSURE STAGE
GMRES (BIEF) : 1 ITERATIONS, ABSOLUTE PRECISION: 0.3540126E-04
VELOCITY PROJECTION STEP
ADVECTION-DIFFUSION OF K-EPSILON OR OMEGA STEP
MURD3D OPTION: 4 1 ITERATIONS
DIFFUSION OF AKN
GRACJG (BIEF) : 0 ITERATIONS, ABSOLUTE PRECISION: 0.5969664E-06
MURD3D OPTION: 4 1 ITERATIONS
DIFFUSION OF EPN
GRACJG (BIEF) : 0 ITERATIONS, ABSOLUTE PRECISION: 0.9702098E-04
MASS BALANCE
WATER
VOLUME AT THE PREVIOUS TIME STEP : 0.2202897
VOLUME AT THE PRESENT TIME STEP : 0.2203351
VOLUME LEAVING DOMAIN DURING THIS TIME STEP : -0.4542840E-04
ERROR ON THE VOLUME DURING THIS TIME STEP : -0.6279446E-11
BOUNDARY FLUXES FOR WATER IN M3/S ( >0 : ENTERING )
FLUX BOUNDARY 1 : 0.6000000E-02
FLUX BOUNDARY 2 : 0.9000000E-02
FLUX BOUNDARY 3 : 0.3171362E-02
job aborted:
[ranks] message
[0-7] terminated
[8] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 2, comm rank 8
[9-11] terminated
---- error analysis
[8] on CHINAMI-IHM506L
C:\TELEMAC\V8P4\LT\model\model_yuan\HYDRO_bottom\90\mesh\heshidecasfangan\001mesh\3_2\ly15\viollet\t3d_viollet.cas_2025-02-18-01h50min39s\out_telemac3d.exe aborted the job. abort code 2
---- error analysis
Traceback (most recent call last):
File "C:\TELEMAC\V8P4\scripts\python3\telemac3d.py", line 7, in <module>
main('telemac3d')
File "C:\TELEMAC\V8P4\scripts\python3\runcode.py", line 288, in main
run_study(cas_file, code_name, options)
File "C:\TELEMAC\V8P4\scripts\python3\execution\run_cas.py", line 169, in run_study
run_local_cas(my_study, options)
File "C:\TELEMAC\V8P4\scripts\python3\execution\run_cas.py", line 65, in run_local_cas
my_study.run(options)
File "C:\TELEMAC\V8P4\scripts\python3\execution\study.py", line 644, in run
self.run_local()
File "C:\TELEMAC\V8P4\scripts\python3\execution\study.py", line 465, in run_local
run_code(self.run_cmd, self.sortie_file)
File "C:\TELEMAC\V8P4\scripts\python3\execution\run.py", line 182, in run_code
raise TelemacException('Fail to run\n'+exe)
utils.exceptions.TelemacException: Fail to run
mpiexec -n 12 C:\TELEMAC\V8P4\LT\model\model_yuan\HYDRO_bottom\90\mesh\heshidecasfangan\001mesh\3_2\ly15\viollet\t3d_viollet.cas_2025-02-18-01h50min39s\out_telemac3d.exe
I referred to the manual, but I don't know how to modify the model. How can I modify the model? Thank you for taking the time to answer my questions. Attached are my cas file and Fortran file.
Best wishes
Abandoned