|
[Sponsors] |
What is the advantage, if any, of the non-conservative form of conservation equation? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 18, 2018, 02:07 |
What is the advantage, if any, of the non-conservative form of conservation equation?
|
#1 |
Senior Member
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10 |
I have been trying to understand the conservative and non-conservative forms of the conservation equations in CFD. I do understand what they are from the various posts I have read, but all of them only ever talk about how the conservative form is useful for compressible flow and nothing is told about the non-conservative form of the equation. What is the use of the non-conservative form and where can it be used over conservative form?
|
|
September 18, 2018, 03:31 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
They are mathematically equivalent but not numerically. Mathematically, the quasi-linear form can have some advatage but numerically I strongly reccomend the use of the conservative form. Note that you find in literature the term "conservative" both for the differential form (divergence form) and integral form. The letter being formally more correct as it defines the conservation by means of the unicity of the integral of the flux function. |
||
September 18, 2018, 04:17 |
|
#3 |
Senior Member
Join Date: Mar 2009
Posts: 157
Rep Power: 17 |
They are only mathematically equivalent when density can be considered constant.
Also, the conservation form seems much more "logical" to use on a fixed mesh since it is derived on a volume fixed in space. The non-conservation form is derived for a volume moving with the flow.
__________________
"Trying is the first step to failure." - Homer Simpson |
|
September 18, 2018, 04:23 |
|
#4 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
No, this is not correct, you simply use the density equation to get the quasi linear form, no constraint on the density being necessary. Just consider as example the derivation of the quasi-linear form of the 1D Euler equations for compressible flows. |
||
September 18, 2018, 04:46 |
|
#5 |
Senior Member
Join Date: Mar 2009
Posts: 157
Rep Power: 17 |
Yes, of course you are correct, my bad.
__________________
"Trying is the first step to failure." - Homer Simpson |
|
September 18, 2018, 15:23 |
|
#6 | |
Senior Member
Mandeep Shetty
Join Date: Apr 2016
Posts: 188
Rep Power: 10 |
Quote:
|
||
September 18, 2018, 15:30 |
|
#7 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
I personally suggest using always the conservative form when the problem must be solved numerically. I don't see any gain in using the quasi-linear form in the numerical discretization. Conversely, some problems are typical of such a discretization. |
||
September 19, 2018, 14:01 |
|
#8 |
Senior Member
Martin Hegedus
Join Date: Feb 2011
Posts: 500
Rep Power: 19 |
In general, as has been stated above, the conservative form is used.
However, for higher order finite difference methods, getting the discretization "correct" (for lack of a better term) near a boundary is challenging. One method is Summation by Parts (SBP). As far as I can tell, (I don't claim to be all that knowledgeable about it) part of the premise is to minimize the error/difference between conservative and non-conservative forms. I think the motivation has something to do with energy methods involving d(u^2)/dx and an attempt is made to get d(u^2)/dx = u*du/dx numerically equal in addition to having the integral numerically equal to u^2. |
|
September 19, 2018, 17:25 |
|
#9 | |
Senior Member
Join Date: Oct 2011
Posts: 242
Rep Power: 17 |
Quote:
Studies about non-conservative form of Euler equations is, among other applications, a step towards building numerical schemes for hyperboolic PDE's which cannot be written under conservative form. Remind that hyperbolic conservative PDE's numerical schemes can be derived "easilly" through Rankine-Hugoniot jump relations. Some fluid flow models, such as multiphase flow models of Baer-Nunziato type for example typically involve a conservative part and non-conservative products which yield a non-conservative hyperbolic set of equations for which you cannot directly apply Rankine-Hugoniot relations and build a numerical scheme in a straighforward way. |
||
September 19, 2018, 17:48 |
|
#10 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
As far as the quasi-linear form is concerned, the hystory of CFD is written by the first simulations at Los Alamos, just consider the well known MAC method wherein the quasi-linear form was well suited to develop a lagrangian update. This approach has been one of the reasons for other hystorical approaches. For example the Arakawa method for the vorticity-stream function formulation. When the computational resources were enough to solve small turbulent flow, researchers tryied to make the method energy-conserving to gain stability in the simulation.
However, modern researches showed the superiority of the conservative methods. The book of Leveque has some nice comparison between the formulations. |
|
March 29, 2019, 13:27 |
|
#11 |
Senior Member
Reviewer #2
Join Date: Jul 2015
Location: Knoxville, TN
Posts: 141
Rep Power: 11 |
Dr. Denaro,
In the early implementation of K-Epsilon model of OpenFOAM, the following equation is used. Code:
fvm::ddt(epsilon_) + fvm::div(phi_, epsilon_) - fvm::Sp(fvc::div(phi_), epsilon_) It looks like they are using the quasi-linear form of the Epsilon. Dr. Jasak indicates "boundedness of k when the model is used with simpleFoam (and alike) and partial convergence of the pressure equation" in this post "https://www.cfd-online.com/Forums/openfoam/64602-origin-fvm-sp-fvc-div-phi_-epsilon_-kepsilon-eqn.html#post217245" I am very confused. It looks like they trying to use the quasi-linear form of Epsilon to improve the boundness??? Does the quasi-linear form have any numerical advantage over the conservative form in terms of boundness? Thanks, Rdf |
|
March 29, 2019, 13:38 |
|
#12 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
Quote:
Kinetic energy is not subject to a conservation equation, production terms being present coupling the dissipation of kinetic energy to internal energy. Only the total energy does. |
||
March 29, 2019, 14:02 |
|
#13 |
Senior Member
Reviewer #2
Join Date: Jul 2015
Location: Knoxville, TN
Posts: 141
Rep Power: 11 |
Dr. Denaro,
Here is another case regards to scalar transport. ("https://www.cfd-online.com/Forums/openfoam-solving/67964-scalartransportfoam-rtd-calculations.html#post280210") In the post of chegdan, he states that : Code:
solve ( fvc::ddt(C) + fvc::div(phi, C) - fvc::laplacian(D, C) - fvc::laplacian(Dturbulent, C) ); Code:
solve ( fvm::ddt(C) + fvm::div(phi, C) + fvm::SuSp(-fvc::div(phi), C) - fvm::laplacian(D, C) - fvm::laplacian(Dturbulent, C) ); Thanks, Rdf |
|
March 29, 2019, 14:18 |
|
#14 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,897
Rep Power: 73 |
The use of the laplacian operator can be not correct in a general conservation framework ... For example, the turbulent viscosity is a pointwise function, therefore Div (2*mu_t*S), that is the conservative form, is not equivalent to mu* Lap v. The same happens for the heat flux.
However, conservation is not related to boundness in the solution |
|
Tags |
conservative form, non conservative form |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Domain Reference Pressure and mass flow inlet boundary | AdidaKK | CFX | 75 | August 20, 2018 06:37 |
Hyperbolic equation in conservative form | TurbJet | Main CFD Forum | 9 | February 21, 2018 20:03 |
VOF conservative form | Pedro24 | OpenFOAM Programming & Development | 0 | February 10, 2014 12:32 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
volumetric conservation equation in PHOENICS code | mehdi | Main CFD Forum | 1 | July 29, 2000 20:14 |