CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

OpenFoam & Sobolev spaces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2008, 06:16
Default OpenFoam & Sobolev spaces
  #1
Dan
Guest
 
Posts: n/a
Hi,

(i am not expert in theory of FVM) i want to know that which sobolev space is available in OpenFoam?

it seems that H^1 space should be commonly available as at least weak formulation of transport equations needs at least square integrability of function and its gradient

but if we need a C^1 space (i.e., global continuty of field derivative), is it available?

if we need local hessian of field variable, is it possible to compute in in FVM (in classic lagrange based FEM, it is not possible, of course a simple way is to use post-process to recover higher order quantity)?

in FEM computation these spaces are very clear, but i do not know any reference that address them in FVM, can someone suggest me a reference?

  Reply With Quote

Old   October 4, 2008, 11:07
Default Re: OpenFoam & Sobolev spaces
  #2
unimportant
Guest
 
Posts: n/a
FVM formulation is obtained through weak formulation by using the test functions that guarantee week partial derivatives of order 1 while preserving the square integrability. In other words, FVM formulation guarantees generalized derivatives that are equivalent to delta function and solutions that are equivalent to Heaviside function. The particular notion of generalized derivatives and associated spaces is really only used to demonstrate that hyperbolic equations that dominate compressible fluid dynamics lead to week solutions that observe basic conservation principles. Unlike FEM, test functions do not appear directly in the formulation of the discrete problem and their presence is not obvious. However, they are implicitly present in any FVM formulation as the whole formulation represents a week form of equations. Problems such as selection of the appropriate week solution is solved usually using the entropy arguments but that is not the topic of this discussion. In the case of incompressible flows without discontinuities, FVM formulation yields C1 continuity. However, it is worth knowing that in FVM second order discretization is always used for the smooth part of the solution thus satisfying C1 continuity requirements by using even smoother function than it is required. Of course, in the presence of the discontinuity, generalized derivatives are recovered by a special procedure usually practiced through so called "upwind formulation". To answer the question directly, Hessians with respect to spatial coordinates can be computed in the smooth part of the domain whereas Hessians with respect to flow variables for the purpose of iterative and optimization algorithms can (almost) always be computed.

FOAM implements FVM principles consistently and it allows you to compute generalized and classical solutions while computing gradients and Hessians is also possible. FOAM also has set of limiters that guarantee bounded solutions that are second order away from the discontinuities. I would suggest for mathematically inclined reader to check the theory of discontinuous Galerkin methods if more insight in theory is required but other than for formal proofs, this is not truly required. As in the case of many other methods, FVM has proven to be very reliable and valuable method in CFD and its properties are well understood but many many lack formal mathematical proof. This is not a show-stopper for the use of FVM in practical computations, however.

In summary, FVM solutions are usually of second order away from the discontinuity and they are of first order in the presence of discontinuity.

  Reply With Quote

Old   October 4, 2008, 13:57
Default Re: OpenFoam & Sobolev spaces
  #3
Dan
Guest
 
Posts: n/a
hi unimportant,

lot of thanks for your comments

> FVM formulation guarantees generalized derivatives that are equivalent to delta function

please clarify more, delta function implies to me the lowe regularity, like a Borel measure which is not like a proper function to be amenable for numerical computing

> generalized derivatives

what this mean? do you mean higher order derivatives as well?

> and solutions that are equivalent to Heaviside function

please give more details about this

you say about C^1 continuty of solution far from discontinuty, how we have this: is it due to continuty of flux accross cell faces?

then what is the related sobolev space our test function (consider weak formulation)? is it an H^2 function?

do you know some reference in this regard?

about DG, it seems that there is some similarity between DG and FVM, consider cell centered FVM (and linear flux interpolation, like OF), is there any DG which is equivalent with it?

probably we should consider lowest order, but does it ensure C^1 continuty?

about DG which book you recommned?
  Reply With Quote

Old   October 4, 2008, 15:07
Default Re: OpenFoam & Sobolev spaces
  #4
unimportant
Guest
 
Posts: n/a
>> FVM formulation guarantees generalized derivatives that >>are equivalent to delta function

>please clarify more, delta function implies to me the lowe >regularity, like a Borel measure which is not like a proper >function to be amenable for numerical computing

What I mean here is that if you take a derivative of the weak solution that represent a discontinuity, the result will be a delta function. Therefore, FVM solutions due to their weak formulation will seek functions only within the class of solutions whose derivatives behave this way. Whatever functional space is associated with them, they have to have these properties at the minimum.

>> generalized derivatives

>what this mean? do you mean higher order derivatives as >well?

Here I mean weak derivatives. Any good book on PDEs will have the definition of weak derivatives. One good book is "Partial Differential Equations" by Wloka (Cambridge Univ. Press)

>> and solutions that are equivalent to Heaviside function

>please give more details about this

Discontinuous solutions in FVM formulation are equivalent to Heaviside function. Shock waves, slip lines, etc. can be seen as Heaviside functions. Their derivatives are delta functions.

>you say about C^1 continuty of solution far from >discontinuty, how we have this: is it due to continuty of >flux accross cell faces?

Conservative (flux) variables are always continuous across the discontinuities. However, here I even think of primitive variables that can have C1 continuity because all of these functions are piecewise and the solver always knows where the discontinuity is. This is what I meant by a discretization methods that are capable of "upwinding". This is a bread and butter of CFD and FVM.

>then what is the related sobolev space our test function >(consider weak formulation)? is it an H^2 function?

>do you know some reference in this regard?

"Hyperbolic Systems of Conservation Laws and the mathematical Theory of Shock Waves" by Peter D. Lax. There you will find many answers to you questions.

>about DG, it seems that there is some similarity between DG >and FVM, consider cell centered FVM (and linear flux >interpolation, like OF), is there any DG which is >equivalent with it?

>probably we should consider lowest order, but does it >ensure C^1 continuty?

>about DG which book you recommned?

Bernardo Cockburn - search the web for references...
  Reply With Quote

Old   October 4, 2008, 16:50
Default Re: OpenFoam & Sobolev spaces
  #5
Dan
Guest
 
Posts: n/a
thanks for continuing

first forget about any discontinuty (shock, etc.) and assume a physically smooth solution)

but it would be better to talk in a more rigorous mathematical framework

in classic FEM we also knowe concept of weak solution. but let me to clear bit about weak solution, in this language, when we solve 2nd order pde, we actually need a C^2 space (or at least H^2) but we use weak formulation and so we can use more larger space, e.g., H^1 space, then our derivative is L^2, so it is not essentialy continuous without regard to field discontinuty you talk about, it is immediate result from our formulation. but this derivative is more regular than a delta function

i see some contradiction in your speech, maybe my miss understanding. from one side you say about C^1 solution of FVM and in the other side you say derivatives of solution are delta distribution property (delta distribution has the worst regularity)

i expect regularity of derivative more than L^2 from FVM

btw, thanks again for your contribution

other comments is wellcome!

  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 07:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 06:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25


All times are GMT -4. The time now is 03:47.