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

why continuity doesn't solve when p be fixedGradient in groovyBC?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 4, 2013, 16:09
Default why continuity doesn't solve when p be fixedGradient in groovyBC?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
I have set p in outlet be:
Code:
(internalField(p)-50000)
in a period of time in start of run.
but it seems continuity doesn't solve for that as can be seen in the attached image.why?
Attached Images
File Type: png cont.png (6.8 KB, 17 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 6, 2013, 20:27
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Rotterdam, The Netherlands
Posts: 1,594
Rep Power: 24
ngj will become famous soon enoughngj will become famous soon enough
How come that you are not satisfied with 1e-18? I would say it was perfect from a continuity perspective.

Kind regards,

Niels
ngj is offline   Reply With Quote

Old   July 7, 2013, 07:40
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
hi Niels
in first time steps its a straight line without fluctuations.I think maybe it be an issue.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 8, 2013, 15:07
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
hi Niels
in first time steps its a straight line without fluctuations.I think maybe it be an issue.
No. For continuity error of 1e-18 to be a problem the system has to be really tiny. If your system is really that tiny the question is whether the continuum assumption is still valid (if it isn't then of course the question is whether the standard OF-solvers are still the right thing for you)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   July 8, 2013, 15:25
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
dear Bernhard.I don't want that residuals to be less than 1e-18 ar such thing.
I focus on time 0 till around time 2e-5 that the continuity is a stright horizontal line.I ask why in this period (in figure) there are not any fluctuations in residuals.is it normal?how and why?!
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   July 8, 2013, 16:20
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
I found out why its so!
in first time steps the residuals are of order 0f 1e-22 or 1e-21 and are very low in compare with later times(2e-5 to next)(I don't know the exact reason) then they appear as a line without fliuctuations,in next time steps continuity errors are a bit higher but are low enough as dear Benhard and dear Niels told to say continuity is satisfied.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality 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
build my own multi-region solver : pb with flux continuity Cyp OpenFOAM Programming & Development 2 November 27, 2013 13:19
pimpleFoam: turbulence->correct(); is not executed when using residualControl hfs OpenFOAM Running, Solving & CFD 3 October 29, 2013 09:35
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 04:34
Modeling in micron scale using icoFoam m9819348 OpenFOAM Running, Solving & CFD 7 October 27, 2007 00:36


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