|
[Sponsors] |
Problem using large writeInterval values in Modified interPhaseChangeFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 11, 2014, 04:29 |
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 |
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?? |
|
September 11, 2014, 07:51 |
|
#2 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
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] |
|
January 27, 2015, 01:24 |
Helo
|
#3 |
New Member
ARUN
Join Date: Jan 2015
Location: Kerala
Posts: 18
Rep Power: 11 |
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? |
|
January 27, 2015, 03:43 |
|
#4 |
Senior Member
Paritosh Vasava
Join Date: Oct 2012
Location: Lappeenranta, Finland
Posts: 732
Rep Power: 23 |
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.
|
|
January 27, 2015, 04:02 |
|
#5 |
Senior Member
|
Hi,
As interPhaseChangeFoam uses PIMPLE algorithm, can you post your PIMPLE dictionary from fvSolution file? What convergence criterion do you utilize within time step? |
|
Tags |
evaporation condensation, modified solver, openfoam 2.0.x, openfoam 2.3.0, own solver |
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |