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

Problem using large writeInterval values in Modified interPhaseChangeFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 11, 2014, 04:29
Default Problem using large writeInterval values in Modified interPhaseChangeFoam
  #1
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
I use openFoam 2.3.0. I was exploring possibilities of simulating evaporation-condensation phenomena with openFoam and I came across instructions by Martin Andersen (Link). It is of notice that these instructions are for OF2.0.x.

I modified and compiled interPhaseChangeFoam following these instructions without any problems.

For test example my deltaT is 1e-8. The problem is when I run the test case using a large
writeInterval value e.g. 0.0001 or 0.001 the case diverges with large Courant number error. But when I use a smaller value e.g. 1e-7 or 1e-8 it runs without any problem. This is bit annoying a I have to keep an eye on the hard disk space all the time and delete the additional time steps manually.

Attached are solver from Martin Andersen (OF 2.0.x, myInterPhaseChangeFoam), the test case and OF2.3.0 solver (evapCondFoam).

Any comments??
vasava is offline   Reply With Quote

Old   September 11, 2014, 07:51
Default
  #2
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
I checked once again. While compiling I get three warnings:
Code:
/opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H: In function ‘int main(int, char**)’:
/opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H:17:6: warning: unused variable ‘alphaApplyPrevCorr’ [-Wunused-variable]
/opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H:23:8: warning: unused variable ‘icAlpha’ [-Wunused-variable]
/opt/openfoam230/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable]
Perhaps the problem has something to do with these errors. Any comments on that?
vasava is offline   Reply With Quote

Old   January 27, 2015, 01:24
Default Helo
  #3
New Member
 
ARUN
Join Date: Jan 2015
Location: Kerala
Posts: 18
Rep Power: 11
ARUN K RAJ is on a distinguished road
I am facing a similar situation
/opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H: In function ‘int main(int, char**)’:
/opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H:17:6: warning: unused variable ‘alphaApplyPrevCorr’ [-Wunused-variable]
/opt/openfoam230/src/finiteVolume/lnInclude/alphaControls.H:23:8: warning: unused variable ‘icAlpha’ [-Wunused-variable]
/opt/openfoam230/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable]


the same errors i do get while trying to compile the solver. Have u solved this issue?
ARUN K RAJ is offline   Reply With Quote

Old   January 27, 2015, 03:43
Default
  #4
Senior Member
 
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23
vasava will become famous soon enough
No. I could run the test case without any additional errors but I am not sure if the results are reliable. I havent tested or verified the solver or the solutions since then.
vasava is offline   Reply With Quote

Old   January 27, 2015, 04:02
Default
  #5
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,938
Rep Power: 39
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

As interPhaseChangeFoam uses PIMPLE algorithm, can you post your PIMPLE dictionary from fvSolution file? What convergence criterion do you utilize within time step?
alexeym is offline   Reply With Quote

Reply

Tags
evaporation condensation, modified solver, openfoam 2.0.x, openfoam 2.3.0, own solver


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 problem w/ initial values Julie FLUENT 8 June 6, 2014 08:22
strange node values @ solid/fluid interface - help JB FLUENT 2 November 1, 2008 13:04
Problem with CD and CDv for an airship envelope Luis Díaz FLUENT 0 March 11, 2008 13:14
Transient initial values problem CC CFX 2 August 31, 2007 11:27
Initial Values in Transient problem Xobile Siemens 1 January 19, 2005 05:42


All times are GMT -4. The time now is 10:52.