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

Differences between new and old versions of 1.5-dev

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2010, 17:37
Default Differences between new and old versions of 1.5-dev
  #1
Senior Member
 
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19
benk is on a distinguished road
I work with OpenFoam 1.5-dev at work and at home. At work we've had 1.5-dev installed for a long time (I'm not sure exactly when it was last updated but I'm guessing over a year ago).

Today, using my home computer, I installed 1.5-dev by

svn co https://openfoam-extend.svn.sourcefo...enFOAM-1.5-dev

The weird thing is that my model developed at work, which works with the 1.5-dev at work, doesn't work on my new installation of 1.5-dev at home.

Specifically, I'm using the coupledFvScalarMatrix functonality of 1.5-dev (also used in conjugateHeatFoam). Basically when I run my model at home, it works for the first time step and then starts to oscillate and never converges whereas at work, there are no problems. I'm not sure exactly what the problem is...the tutorial problems run on my new 1.5-dev installation.

Here's an example of a model which runs at work using an old version of 1.5-dev but doesn't run using 1.5-dev that I installed today: http://dl.dropbox.com/u/12812/OF/test.tgz

If anybody has time to run this on your 1.5-dev, just type:
tar -zxvf test.tgz
cd test/Aug29/testFoam
wclean;wmake
cd ../case
testFoam

I'm not sure what the problem is but like I said, this works perfectly on an old version of 1.5-dev but not on my new installation.
benk is offline   Reply With Quote

Old   August 29, 2010, 19:53
Default
  #2
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Do an 'svn info' on both installations, and track the file changes between the two versions. That should narrow down your search to what went wrong.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   August 29, 2010, 20:11
Default
  #3
Senior Member
 
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19
benk is on a distinguished road
This is from the old installation at work:


Path: .
URL: https://openfoam-extend.svn.sourcefo...enFOAM-1.5-dev
Repository Root: https://openfoam-extend.svn.sourcefo...penfoam-extend
Repository UUID: e4e07f05-0c2f-0410-a05a-b8ba57e0c909
Revision: 1397
Node Kind: directory
Schedule: normal
Last Changed Author: hjasak
Last Changed Rev: 1397
Last Changed Date: 2009-08-14 05:22:30 -0400 (Fri, 14 Aug 2009)


and this is on my home comp:


Path: .
URL: https://openfoam-extend.svn.sourcefo...enFOAM-1.5-dev
Repository Root: https://openfoam-extend.svn.sourcefo...penfoam-extend
Repository UUID: e4e07f05-0c2f-0410-a05a-b8ba57e0c909
Revision: 1822
Node Kind: directory
Schedule: normal
Last Changed Author: deepsterblue
Last Changed Rev: 1822
Last Changed Date: 2010-08-26 15:57:35 -0400 (Thu, 26 Aug 2010)


I'm guessing a lot of things could have changed between those two revisions.
benk is offline   Reply With Quote

Old   August 29, 2010, 20:29
Default
  #4
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Yup. What you could do is pick a revision somewhere in between and, in some weird sense, perform your own root-finding algorithm to pin-point a certain revision
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   August 29, 2010, 22:04
Default
  #5
Senior Member
 
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19
benk is on a distinguished road
It appears as if there is a problem with the CrankNicholson scheme in the new 1.5-dev revisions. Using the Euler scheme works though.
benk is offline   Reply With Quote

Old   August 29, 2010, 22:08
Default
  #6
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Perhaps you could file a bug-report, with a small suitable test-case that can reproduce the problem. I believe the Mantis system is appropriate for this - but I'm a newbie in that regard. Perhaps Bernhard / Martin can be of some assistance here.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   August 30, 2010, 09:03
Default
  #7
Senior Member
 
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19
benk is on a distinguished road
I'll have to look a bit more into this. In the conjugateHeatFoam tutorial that comes with the new revision of 1.5-dev, I was able to use the CrankNicholson time scheme but with my model posted above it only solves with the Euler time scheme.
benk is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 00:13.