Escolar Documentos
Profissional Documentos
Cultura Documentos
http://www.hach.ulg.ac..be
Volumes finis
http://www.hach.ulg.ac..be
1
Mthodes volumesfinis :introduction
Principes de base :
Dcoupage du domaine en volumes de contrle
Intgration des quations sur chaque volume
Diffrentesapproches:principalementdeuxfamillesdemthodesVF
2
Principesdelamthode
s f g
t dS dS b dS
S
x y
S n S S
t
S
f nx g ny d S b dS
s dS
h pour S s f nx g ny c c S b
n
C l l approch
Calcul
c
t c 1
Exemple : discrtisation temporelle explicite maillage structur
1 nc
l
s l 1 s l
f y g x c b 0
yc
nxc
S n yc t S c 1
xc
ArGEnCo MSF Hydrologie,HydrodynamiqueAppliqueetConstructionsHydrauliques(HACH)
Ordredeprcisiondelamthode:termeinstationnaire
Par Taylor,
l sii P est le
l centre de
d gravit
i ded S:
f dS f
S
P S O(h 4 )
1 s s
S S t
dS O(h )
t P
Inconnue au centre de gravit
3
Ordredeprcisiondelamthode:termeconvectif
Formulation conservative
Thorme de Green
f g
x y dS fn
S S
x gn y d S
Fi ,
j (i
(i,j)
j) j
qi-1/2 qi+1/2
Fi , j i
Ordredeprcisiondelamthode:termeconvectif
Nb pts de Gauss
Intgration du flux sur le contour Maillage 1 2
Utilisation de nG points de Gauss : non-structur 1er ordre 3me ordre
nc nG
fn
x gn y d f n
c 1 p 1
p x g ny
p ,c
c
4
Organisationtypiqueduncodevolumesfinis
Lecturedesdonnesetinitialisations
Calculdesfacteursdepondrationspourlesdrives
ouclesurletemps
Evaluationdupasdetemps
Reconstructiondesinconnuesauxbords
Evaluationdesflux(FVS,FDS,)
http://www.hach.ulg.ac..be
Misejourdesinconnuesauxnuds
Reconstructiondesvariables dterminelaprcisiondesflux
Constante Linaire
5
Reconstructiondesvariables dterminelaprcisiondesflux
Reconstruction constante :
u r U j r j u r u r s
Reconstruction linaire :
T
u r U j r rj u r j u r u r s 2
j
Reconstructiondesvariableslimites
T
u r U j K j r r j avec K j r r rj u
j
min U k U j K j r max U k U j r j
http://www.hach.ulg.ac..be
k
k
0 0
6
Reconstructiondesvariableslimites
min U k U j K j r max U k U j r j
k
k
0 0
min U k U j
k si K j r 0
K j r
max U k U j
k
si K j r 0
K j r
http://www.hach.ulg.ac..be
1 si K j r 0
Exemplesdelimiteurs
u v
u R ui xR
y R ui R
x i y i
i min R
R
z2 2z
z
z2 z 2
uimax ui
z si R 0
R
z ui ui
min
si R 0
R
7
Calculdesfluxdiffusifs
Lestimation des flux diffusifs requiert galement la
connaissance des gradients des inconnues aux bords
Schma diamond
bilan dans un volume de contrle particulier, dlimit
par deux centres de mailles voisines et deux nuds
du maillage
S Q U
http://www.hach.ulg.ac..be
B C
BPCQ
d
BPCQ
d R
P
T
Calculdesfluxdiffusifs
BPCQ
d
BPCQ
d
xy C Q y 2 Q B y 2 B P y 2 P C y 2
BC
2 2 x 2 2 x 2 2 x 2 2 x 2
B Q S R P 4 C U Q P T 4
C B U T 2 S R 2
x x 2x
S Q U
http://www.hach.ulg.ac..be
BC
B C
Q P R T
y y P
BC
8
Maillages multibloc
a b c
Domain boundary
Fluxes evaluation
Ghost point
Calculdesfluxauxartes
u
t i
1
x 2
Fi 1 Fi 1
2
1
y
G j 1 G j 1
2 2
1
H 1 Hk 1
z k 2 2
Essentiel pour la stabilit du schma
Ncessit
N i de
d considrer
id le l sens de
d propagation
i des
d ondes
d
Fi+
http://www.hach.ulg.ac..be
i i+1
9
Calculdesfluxauxartes
u f u u
0 a ... 0
t x t x
n 1
at
Si a>0, il faut discrtiser par : u i u i a u i u i 1 ... 0 et satisfaire : 0 1 avec :
n n n
t x x
n 1
Si a<0, il faut discrtiser par : u i u i a u i 1 u i ... 0 1 0
n n n
http://www.hach.ulg.ac..be
t x
Incohrenceduneformulationnonconservative
u a (u u i 1 )
Si a in 0 i i i ... 0
http://www.hach.ulg.ac..be
10
Fluxenformulationconservative
Si a in 0 i
u
f n
i u f n i1 u 0
t i x
http://www.hach.ulg.ac..be
"ce
ce qui part de i
u f u f i u
n n
arrive en i+1"
i 1 0
t i 1 x
Nonunicitdesfluxenformulationconservative
Si a in 0 et a in1 0
u
f n
i u f n i 1 u 0
http://www.hach.ulg.ac..be
t i x
"ce qui part de i
u f i 2 u f i 1 u
n n
n'arrive pas en i+1"
0
t i 1 x
Dcouplage !
11
Unicitdesfluxforceenvolumesfinis
u
Si a in 0 et a in1 0 x Fn bordi
b di 1/2 F bord
b d i 1/2 0
http://www.hach.ulg.ac..be
Mthodesdefractionnement
f f s f s f f s ,s
Rsolution
l i dun
d problme
bl de
d Riemann
i en chaque
h arte
Dcomposition du flux en deux contributions
Roe : rsolution exacte dun problme de Riemann
La matrice convective f+/s a des valeurs propres positives ou nulles
linaire
La matrice convective f -/s a des valeurs propres ngatives ou nulles
http://www.hach.ulg.ac..be
OOn prend d li
linfo
f
du ct o elle arrive
i.e. respect du sens physique de
propagation des ondes
12
Mise sous forme quasi-linaire et tude des caractristiques
0 n
K r1 rn
En multipliant par K 1
dcouplage des m quations :
U U
K 1 K 1 K K 1 0
t x
K 1U K U 0
1
http://www.hach.ulg.ac..be
t x
W W
0
t x
13
Mthode de Fractionnement des flux
A K K 1 f AU
A K K 1
A K K 1 f AU
u u
Pour llquation
quation de convection pure 1D
http://www.hach.ulg.ac..be
a 0 ; a 0
t x
a Fi 1 aui
2
Faire voluer cette solution constante par partie selon lquation pour
obtenir u x, tn1
S l ti au pas suivant
Solution i t = moyenne sur le l volume
l fini
fi i de
d
u x, tn
http://www.hach.ulg.ac..be
x x
Valeurs Valeurs
moyennes volues
u x, t u x, t
n 1
n
14
Mthode Flux difference splitting : Mthode de Godunov
E l i de
Evolution d u x, tn = translation
l i vitesse
i a
u x, t n
x=at
http://www.hach.ulg.ac..be
x x
Valeurs
u x, tn u x, tn 1
Valeurs
moyennes volues
Moyennage de u x, tn 1 :
xi 1
1 2 at at
u x, tn 1 u x, tn 1 u xi 1 , tn 1 u xi , tn
x x 1 x x
i
2
t
u xi , tn au xi , tn au xi 1 , tn
x
Fi 12 Fi 1
2
u x, t n
x=at
http://www.hach.ulg.ac..be
x x
u x, tn 1
u ux, xtn,tn
Valeurs Valeurs
moyennes volues
15
Mthode Flux difference splitting : Mthode de Godunov
x x
Valeurs
moyennes u x, tn ????
x=0 x
http://www.hach.ulg.ac..be
16
Mise sous forme quasi-linaire et tude des caractristiques
N quations indpendantes :
w1 w
1 1 0
t x
wn w
n n 0
t x
dx dwi
Le long de i , on a donc 0
dt dt
d ondes vitesse i
Solution : Propagation dondes
http://www.hach.ulg.ac..be
wi x, t wi x i t , 0 wi initial x i t
1
n
wi x, t wi initial x i t
http://www.hach.ulg.ac..be
17
Mise sous forme quasi-linaire et tude des caractristiques
Comme W K 1U
Linconnue U des quations conservatives scrit
U KW
n
U wi x, t ri
i 1
quantit wi
uL uL x-a.t<0
x
uR uR U 0 x-a.t>0
t uL
uR
x=0 x x=0 d=a.t x
Fi 1 F U xt 0 au L
2
ArGEnCo MSF Hydrologie,HydrodynamiqueAppliqueetConstructionsHydrauliques(HACH)
18
Mthode Flux difference splitting : Problme de Riemann
w1L w2R x
k k+1
Solution = combinaison linaire m
http://www.hach.ulg.ac..be
UL UR x
x0
U ( x 0, t ) U ( ) U (0), t 0
t
19
Mthode Flux difference splitting : Problme de Riemann
Solution =
n x
U wi x, t ri t U ( x, t ) U ( ), t 0
i 1
k k+1 t
n m
U wi x i t , 0 ri 1
http://www.hach.ulg.ac..be
i 1
n n
U wi , R x, t ri wi , L x, t ri
UL UR
x x
i: p i: p
t t
x
x0
U ( x 0, t ) U ( ) U (0), t 0
t
n n n n
U x
wi , R x, t ri x
wi , L x, t ri x
wi , L x, t ri x
wi , L x, t ri
i: p i: p i: p i: p
t
t
t
t
UL
n
U UL w x , t w x, t r
x
i,R i,L i
i: p
t
n n n n
U wi , R x, t ri wi , R x, t ri wi , L x, t ri wi , R x, t ri
http://www.hach.ulg.ac..be
x x x x
i: p i: p i: p i: p
t
t
t t
UR
n
U UR w x, t w x , t r
x
i,R i,L i
i: p
t
20
Problme de Riemann : Equations dEuler
Equations non-linaires !!
Dcomposition en ondes possibles, mais trs complexe
Combinaison de trois types dondes
t Onde de
contact
Choc
Onde
d'expansion
http://www.hach.ulg.ac..be
x
!! Calcul analytique possible, mais trs coteux !!
U w
n n
F U R wi , R wi , L ri F wi , L ri
R i i,R
i: p 0 i: p 0
http://www.hach.ulg.ac..be
1 1
Ex. 1 inc. : Fi 1 auL auR a uR uL
2 2 2
ArGEnCo MSF Hydrologie,HydrodynamiqueAppliqueetConstructionsHydrauliques(HACH)
21