CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Continuity errrors deltaT

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   November 20, 2014, 10:57
Default Continuity errrors deltaT
  #1
New Member
 
Dominic Chandar
Join Date: Mar 2009
Location: Singapore
Posts: 20
Rep Power: 8
dominic is on a distinguished road
Send a message via Skype™ to dominic
Hello folks,

Why is there a deltaT multiplied with div(phi) to compute the continuity errors in continuityerrs.H ?


Shouldn't there be just div(phi) ?

Dominic
dominic is offline   Reply With Quote

Old   November 25, 2014, 23:11
Default
  #2
New Member
 
Dominic Chandar
Join Date: Mar 2009
Location: Singapore
Posts: 20
Rep Power: 8
dominic is on a distinguished road
Send a message via Skype™ to dominic
I'm posting this again. Pardon me if this question is trivial.

Why is there a deltaT multiplied with div(phi) ?. As the name goes- time step continuity errors, how significant is this compared to the case without multiplying deltaT. ?

Excerpt from continuityErrs.H:


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;
dominic is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
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 19:07


All times are GMT -4. The time now is 11:02.