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

adjustPhi bug in 1.5-dev?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 20, 2010, 15:24
Default adjustPhi bug in 1.5-dev?
  #1
Senior Member
 
David Boger
Join Date: Mar 2009
Location: Penn State Applied Research Laboratory
Posts: 146
Rep Power: 8
boger is on a distinguished road
Under 1.5-dev, in interDyMFoam/pEqn.H, the flux is converted to relative before calling adjustPhi, but a change was made in 1.5-dev wherein phi is converted to relative (and back) within adjustPhi. Isn't this then a bug, with the mesh motion being subtracted twice?

While I was staring at this, I was wondering what the case is that has
  1. incompressible fluids (constraint of interDyMFoam)
  2. relative flux at the moving boundary (requiring this change to adjustPhi in 1.5-dev), and
  3. no change of mass within the volume itself (such that sum flux=0 is a correct form for conservation of mass).
I guess a rigid mesh undergoing a solid body motion that included rotation would require this change. Is that the correct/only example?

Thanks,
David
__________________
David A. Boger
boger is offline   Reply With Quote

Old   February 22, 2010, 05:02
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
My fault - apologies. I have fixed it now and checked it in. This did not get detected for sucha long time since the solver you are looking at is almost never used nowdays - there is a much better one in the naval hydro pack.

Re other questions, only one comment: Yes, there will be a problem with adjustPhi if the total volume of the domain changes during a time-step. You are fine with the rest...

Thanks for that,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   March 30, 2010, 07:57
Default interDyMFoam, decompositionMethod and manualCoeffs
  #3
Member
 
Antoine Devesa
Join Date: Mar 2010
Posts: 36
Rep Power: 7
A.Devesa is on a distinguished road
Hi all,
Quote:
Originally Posted by hjasak View Post
since the solver you are looking at is almost never used nowdays - there is a much better one in the naval hydro pack.
- I'm pretty new to OpenFoam and am using at the moment interDyMFoam from the 1.5-dev version, combined with GGI. I'd have liked to have some more inputs on why you say that this solver would be quite unused at present? Did i miss something about interDyMFoam or about this "naval pack" you're mentioning?

- I was running into a combined adjustPhi / decomposition problem yesterday, and would like to use a manual decomposition this time. However i found no immediate possibility to change my cellDist type file into what i want, since i cannot easily access to cells coordinates. Any hint here?

Thanks in advance!
A.Devesa is offline   Reply With Quote

Old   April 2, 2010, 11:36
Default
  #4
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,758
Rep Power: 21
hjasak will become famous soon enough
This has been fixed now, by Henrik Rusche. It is interesting to see how long this has been in the code - presumably because we still do not do enough moving mesh

Naval pack is a set of codes developed by Wikki for naval hydro, currently used by people we directly collaborate with.

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.5 dev LVDH OpenFOAM 98 May 5, 2010 17:01
ParaView/ParaFoam in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 2 February 27, 2010 15:02
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Post-Processing 0 December 9, 2009 13:13
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 0 December 9, 2009 13:12
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


All times are GMT -4. The time now is 08:21.