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

TOPIC: OPTION FOR THE DIFFUSION OF TRACERS

OPTION FOR THE DIFFUSION OF TRACERS 9 years 2 weeks ago #18891

  • zqzuoan
  • zqzuoan's Avatar
Hi,everyone

There is a question that confused me. The eauqtion solved in telemac2d is non-conservative Saint-Venant equation in the depth-velocity form:
(dT/dt)+(u.grad(T))-(1/h.div(h.vt.grad(T)))=0
So the diffusion term is 1/h.div(h.vt.grad(T))

But when OPTION FOR THE DIFFUSION OF TRACERS=1,the diffusion term is div(vt*grad(T))
but when OPTION FOR THE DIFFUSION OF TRACERS=2,the diffusion term is 1/h*div(h*vt*grad(T))

I do not understand about it.

zqzuoan
The administrator has disabled public write access.

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18894

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Yes, only option 1 is correct in theory. Option 2 is a simplification that removes the problem of dry zones. However actually the diffusion in Shallow water equations also includes the dispersion due to the heterogeneity of velocities on the vertical, so it is in fact also impossible to state that option 1 is fully correct (sometimes the dispersion is even treated as an extra advection). It is a clear example showing that simplifying equations (by depth-averaging) brought unexpected extra problems and we do not have this problem in 3D.

With best regards,

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

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18900

  • zqzuoan
  • zqzuoan's Avatar
Thank you, sir

You mean that, If I chose OPTION FOR THE DIFFUSION OF TRACERS=1, the eauqtion solved in telemac2d is conservative Saint-Venant equation. And if OPTION FOR THE DIFFUSION OF TRACERS=2, the eauqtion solved in telemac2d is non-conservative Saint-Venant equation in the depth-velocity form. Is it right?

zqzuoan
The administrator has disabled public write access.

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18901

  • jmhervouet
  • jmhervouet's Avatar
Hello,

In fact option 2 is not even the non conservative form, it is just an approximation without justification, that is however true if the depth varies slowly in space.

With best regards,

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

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18902

  • zqzuoan
  • zqzuoan's Avatar
Thank you, sir

So, I had better chose option 1 if I consider the tidal flats? And the equation solved in option 1 is :
(dhT/dt)+div(hTu)-div(h.vt.grad(T)))=0

That is right?

zqzuoan
The administrator has disabled public write access.

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18903

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Actually not, in fact option 1 or 2 only changes the diffusion term, we always solve the equation in the form (dT/dt)+... or, to explain more in detail, we discretise the equation (d(hT)/dt)+... and transform it into (dT/dt)+... after discretisation, so that it is mathematically equivalent, and this gives us a mass conservation proof (except for the diffusion term...).

Regards,

JMH
The administrator has disabled public write access.

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18904

  • zqzuoan
  • zqzuoan's Avatar
OK, the equation solved in telemac2d is non-conservative Saint-Venant equation in the depth-velocity form, right? In option 1, the diffusion term is div(h*vt*grad(T)), so the equation is h*(dT/dt)+h(u.grad(T))-div(h*vt*grad(T))=0. In option 1,the diffusion term is 1/h*div(h*vt*grad(T)), the equation is divided by h, that is right?

zqzuoan
The administrator has disabled public write access.

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18905

  • jmhervouet
  • jmhervouet's Avatar
Hello,

Actually :

option 1 : dT/dt+u.grad(T)-div(vt*grad(T))=0

option 2 : dT/dt+u.grad(T)-(1/h)div(h*vt*grad(T))=0

Regards,

JMH
The administrator has disabled public write access.

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18906

  • zqzuoan
  • zqzuoan's Avatar
Soryy, I have not understand yet. Where is the h in option 1...the equation solved in telemac2d is non-conservative Saint-Venant equation in the depth-velocity form, shouldn't it be: h*dT/dt+h*u*grad(T)-div(h*vt*grad(T))=0 ?

zqzuoan
The administrator has disabled public write access.

OPTION FOR THE DIFFUSION OF TRACERS 9 years 1 week ago #18907

  • jmhervouet
  • jmhervouet's Avatar
Hello,

and the equation h*dT/dt+h*u*grad(T)-div(h*vt*grad(T))=0 is divided by h to give: dT/dt+u*grad(T)-(1/h)*div(h*vt*grad(T))=0.

JMH
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.