CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   how to caculate the Galerkin projection (https://www.cfd-online.com/Forums/main/10997-how-caculate-galerkin-projection.html)

ztdep March 15, 2006 07:46

how to caculate the Galerkin projection
 
hell0:

I don not how to caculate the Galerkin projection.

( laplace(T), phi )

Where phi is the basis, and i want to project the laplace(T) onto the phi, but 1), what is the meaning of ( ) , and i have the value of T only at discrete points, then how to caculate it.

regards!

al March 15, 2006 08:34

Re: how to caculate the Galerkin projection
 
Let us assume a(x) and b(x) two functions in an interval [0,1]. Then (a,b)=integral a(x) b(x) dx

means the inner product, (dot product), between the functions a and b. This can be considered as a projection of a() into b() and the other way around.

This is much more simple, for the case of simple vectors, e.g. a=[1 0 1] and b=[1 0 0] (a,b) = |a| |b| cos( angle (a,b) )

Equivalent, (laplace(T),phi) means that you want to determine the projection of laplace(T) into phi.

Why do you have only discrete points? Are you using a Galerkin spectral method?

Any way, if you have only T at some points, e.g. T[i] , then you can compute approximately laplace(T) at the same points, laplace(T)[i]. Then you can approximate the inner product as

(laplace(T),phi)= laplace(T)[1] phi[1] Deltax + laplace(T)[2] phi[2] Deltax+ ...

where Deltax is the space between the points.


ztdep March 15, 2006 20:36

Re: how to caculate the Galerkin projection
 
Hi,Wed:

thank you for your feedback!

would you like to give me your email address, i have some question!

regards!


Mike March 15, 2006 22:52

Re: how to caculate the Galerkin projection
 
See here

http://community.livejournal.com/res....html#comments

Mike

ztdep March 16, 2006 00:03

Re: how to caculate the Galerkin projection
 
Mike:

what have you give me! i can not get any information from it? then how to use it

Mike March 16, 2006 00:49

Re: how to caculate the Galerkin projection
 
My name is "Michail" and I'm Russian

in Russian it means "BEAR"

http://community.livejournal.com/ru_preved/

Bear is our natianal HERO



All times are GMT -4. The time now is 04:59.