CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

what do global and cumulative terms in continuity refer to exactly?

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 2 Post By immortality
  • 3 Post By fumiya

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2013, 03:55
Default what do global and cumulative terms in continuity refer to exactly?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
at results there are 3 types of residuals of continuity equation.whats the definition of them and difference?if cumulative and or global be negative whats wrong in the problem?
kcavatar and vivek05 like this.
immortality is offline   Reply With Quote

Old   January 13, 2013, 05:17
Default
  #2
Senior Member
 
fumiya's Avatar
 
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18
fumiya is on a distinguished road
For the solvers of incompressible fluid, take a look at the
src/finiteVolume/cfdTools/incompressible/continuityErrs.H:

Code:
    volScalarField contErr(fvc::div(phi));

    scalar sumLocalContErr = runTime.deltaTValue()*
        mag(contErr)().weightedAverage(mesh.V()).value();

    scalar globalContErr = runTime.deltaTValue()*
        contErr.weightedAverage(mesh.V()).value();
    cumulativeContErr += globalContErr;

    Info<< "time step continuity errors : sum local = " << sumLocalContErr
        << ", global = " << globalContErr
        << ", cumulative = " << cumulativeContErr
        << endl;
From the above definitions, the difference between the local and global
continuity error is whether the magnitude of divergence is taken or not.
The "local" error is a measure of the continuity of each cell and the
"global" error represents the continuity in the whole computational domain.
If the global error converges to zero, I think the negative value is of no matter.

I have no idea about the importance of considering the cumulative error.

Fumiya
kiddmax, vbnhfylbh and kcavatar like this.
fumiya is offline   Reply With Quote

Old   January 16, 2013, 09:15
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 26
immortality is on a distinguished road
thanks fumiya
I cant grasp how the total continuity is calculated.my case is compressible.
What does mean cumulative continuity error?
Any hint is accepted here!
immortality is offline   Reply With Quote

Old   September 6, 2018, 03:05
Default
  #4
Senior Member
 
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10
kk415 is on a distinguished road
hey fumiya,


I am also not able to understand what is the meaning of these errors, if sumLocalcontErr is the continuity error for a cell then for what cell it is giving the value. I mean it should give value for all cell. Is it the maximum that is calculated too?
kk415 is offline   Reply With Quote

Old   September 6, 2018, 05:06
Question
  #5
Senior Member
 
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10
kk415 is on a distinguished road
I am interpolating the velocity field from coarser mesh to finer mesh and then checking the continuity error, this gives me SumLocalErr a relatively high value (inc. from 1e-9 to 1e-4) but globalErr remains of same (i.e. 1e-19 to 1e-20). What this implies? Is the interpolation wrong? Can this effect my solution?
kk415 is offline   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
Transient simulation not converging skabilan OpenFOAM Running, Solving & CFD 14 December 16, 2019 23:12
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 01:31.