|
[Sponsors] |
Strange rhoCentralFoam behavior after restart... |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 10, 2011, 12:01 |
|
#21 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Other problem that was going to happen: the stored "phi" was the one declared in createFields. The one locally re-declared in main was not stored at all, since its IOobject write option is not set to AUTO_WRITE. This would have led to an inconsistent value of phi at restart, which was causing the problem. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
November 10, 2011, 12:02 |
|
#22 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
http://www.openfoam.org/git.php
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
November 10, 2011, 12:04 |
|
#23 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Phi is passed to the turbulence model using via the autoPtr. The two fluxes phiUp and phiEp are not required outside the main() function, so it is perfectly fine not to declare them outside of it.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
November 10, 2011, 12:18 |
|
#24 |
Super Moderator
|
Thanks. I was still looking at 1.7 and hence did not see that phi is used in the turbulence model in 2.0
|
|
November 10, 2011, 12:22 |
|
#25 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||
November 19, 2013, 03:05 |
|
#26 |
New Member
Rahul Soni
Join Date: Feb 2013
Location: IIT Kanpur
Posts: 13
Rep Power: 13 |
Hello Mr. Vesselin Krastev,
I went through your post and I was wondering where should in make chnages as outlined by you regarding the bug. Reagrds, Rahul Originally Posted by vkrastev Hi all, there was actually a problem in the updating of the flux phi, which has been fixed today with the following OF-2.0.x commit commit dc17e722ab2a9539775eec59650e6dc0e7eb9360 The bug is present both in OF-1.7.x and OF-2.0.x families, and can be fixed in the same way also for 1.7.x. I think it is important to know for all users that if not fixed, that bug can lead to significantly erroneous results using rhoCentralFoam, as an error seems to propagate through time because of the incorrect phi update (see this page for more details http://www.openfoam.com/mantisbt/view.php?id=332 ) Best V. |
|
November 19, 2013, 09:34 |
|
#27 | |
Senior Member
Vesselin Krastev
Join Date: Jan 2010
Location: University of Tor Vergata, Rome
Posts: 368
Rep Power: 20 |
Quote:
if you are using a recent OpenFOAM release (any release from 2.0.x till the present 2.2.2/2.2.x) the problem is already fixed and you don't need to do anything. Otherwise, follow the link which points to the Mantis bug tracker discussion about this issue and you will see how to fix it. Regards V. |
||
November 19, 2013, 13:04 |
|
#28 |
New Member
Rahul Soni
Join Date: Feb 2013
Location: IIT Kanpur
Posts: 13
Rep Power: 13 |
Hi, Mr. Vesselin,
Many thanks for your reply I am using the latest version that means the bug is already fixed, once again thank you for you prompt reply. Regards, Rahul |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with multiframe restart of two-way fsi coupled problem | Dimone | CFX | 26 | December 20, 2011 11:10 |
Restart for solidification | atulverma | FLOW-3D | 2 | May 15, 2009 07:25 |
Restart for Solidification | atulverma | FLOW-3D | 3 | May 6, 2009 18:40 |
v4 restart bug | optima prime | Siemens | 3 | February 2, 2009 23:51 |
Restart of FSI simulation | V. Kumar | CFX | 3 | July 20, 2006 14:23 |