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

Bug in reconstructPar

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2009, 07:14
Default Hi everybody I found a bug
  #1
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Hi everybody

I found a bug in the reconstruction of decomposed cases with moving (not deforming) meshes. The new positions of the mesh points are reconstructed correctly if reconstructPar is used without any optional parameters. When the parameters -time or -latestTime are used, the points are not being reconstructed. The problem occurs with OpenFOAM-1.4.1 and 1.5.

Regards
David

see also:
http://www.cfd-online.com/OpenFOAM_D...es/1/9644.html
david is offline   Reply With Quote

Old   January 12, 2009, 06:40
Default Thanks. Attached a fix. Could
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Thanks. Attached a fix. Could you let us know whether it works in general and I'll push it into 1.5.x.

reconstructPar.C
mattijs is offline   Reply With Quote

Old   January 12, 2009, 10:52
Default Hi Mattijs The fix is worki
  #3
Member
 
David Hora
Join Date: Mar 2009
Location: Zürich, Switzerland
Posts: 63
Rep Power: 17
david is on a distinguished road
Hi Mattijs

The fix is working. Thanks a lot.

Regards
David
david is offline   Reply With Quote

Old   April 22, 2009, 04:51
Default
  #4
New Member
 
Andreas Feymark
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 18
Rep Power: 17
feymark is on a distinguished road
Hi everyone!

I'm having problem using reconstructPar -latestTime on a moving mesh. The problem is that the polyMesh-directory is not reconstructed. reconstructPar -time TIME works aslong as I don't use the latest time as TIME. I have tried the latest version of reconstructPar from the svn and also the code Mattijs posted here, it did not work.

Regards,
Feymark
feymark is offline   Reply With Quote

Old   April 23, 2009, 13:35
Default
  #5
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Hi Feymark,

I've pushed a change to 1.5.x which worked on my testcase. Could you let me know if there are any problems with it?

Thanks,

Mattijs
mattijs is offline   Reply With Quote

Old   April 27, 2009, 07:33
Default
  #6
New Member
 
Andreas Feymark
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 18
Rep Power: 17
feymark is on a distinguished road
It works, thanks a lot!

/Feymark
feymark is offline   Reply With Quote

Old   April 27, 2009, 09:50
Default
  #7
New Member
 
Andreas Feymark
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 18
Rep Power: 17
feymark is on a distinguished road
Hi,

I have another problem regarding but decomposePar this time. When I try to run decomposePar the polyMesh-dir isn't decomposed.

Best regards,
Feymark
feymark is offline   Reply With Quote

Old   April 27, 2009, 10:02
Default
  #8
New Member
 
Andreas Feymark
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 18
Rep Power: 17
feymark is on a distinguished road
I should add that I have, before doing reconstructPar and removing the processor*-folders, 2 different polyMesh-folders under each processor*/-folder. After performing decomposePar the polyMesh in processor*/constant/ is there but not the one in processor*/TIME.

Regards,
Feymark
feymark is offline   Reply With Quote

Old   April 28, 2009, 04:44
Default
  #9
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Does it work with -time? (so directly point at the time-with-polyMesh)
mattijs is offline   Reply With Quote

Old   April 28, 2009, 05:50
Default
  #10
New Member
 
Andreas Feymark
Join Date: Mar 2009
Location: Gothenburg, Sweden
Posts: 18
Rep Power: 17
feymark is on a distinguished road
reconstructPar works perfectly fine now. This is a problem with decomposePar and -time is not a valid option there. The polyMesh-folder that is suppose to be in the processor*/TIME-folder is not there after decomposing, only the polyMesh in processor*/constant.

/Feymark
feymark is offline   Reply With Quote

Old   May 26, 2009, 12:11
Default
  #11
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Hi Feymark,

I pushed a few small changes into 1.5.x which should fix the problem for decomposing cases with meshes in time directories. If the original mesh (at the specified time) originates from anything other than 'constant' it will write the mesh to the time directory. E.g. original case has
- full mesh in constant
- polyMesh/points in 0.3
and current time is 0.5 it will create a full mesh in processor*/0.5/polyMesh and not create a constant folder.

Thanks for reporting.
mattijs 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ReconstructPar kupiainen OpenFOAM Post-Processing 12 April 21, 2009 01:47
[mesh manipulation] Error with reconstructPar skabilan OpenFOAM Meshing & Mesh Conversion 3 June 10, 2008 18:34
ReconstructPar maka OpenFOAM Bugs 6 August 22, 2007 04:23
Problem with reconstructPar fabianpk OpenFOAM 5 August 14, 2007 09:17
ReconstructPar error r2d2 OpenFOAM Pre-Processing 7 September 12, 2006 09:37


All times are GMT -4. The time now is 16:19.