|
[Sponsors] |
CrankNicholson returns wrong dimensions and sound speed when mesh is moving |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
|
Hi,
I've found that the fvc::ddtPhiCorr(rUA, rho, U, phi) function returns wrong dimensions for CrankNicholson when the mesh is moving. Also, the sound speed is approx. half the physical value for an planar acoustic wave when the mesh is moving and CN is used. Has nothing to do with ddtPhiCorr. Looking at the source it seems that the handling of moving meshes is quite different from e.g. backward. All other time schemes works Ok. If mesh.update() is removed from the application code everything works fine. Best regards /Eric |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 21 ![]() |
Which version of OpenFOAM are you running and which solver?
H |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
|
Sorry, not used to posting bugs ;-)
Latest git version Home made solver for FSI using the couple manager /Eric |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
|
I didn't get the code truough but I'm pretty sure you could reproduce the problem by introducing a dynamicFvMesh and a mesh.update() in for example the coodles code.
/Eric |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
|
Yepp, changing your ordinary coodles code by adding a dynamicFvMesh and doing mesh.update() at the same time as using CN timeScheme reproduces the bug.
I ran it on a simple 2D channel with slip walls, waveTransmissive outlet, an oscillating inlet velocity at 100 Hz and air as medium. The fvcDdtPhiCorr returns wrong dimensions, and if it's commented out the soundspeed is reduced to half its physical value. /Eric |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
|
Hi Henry,
Any news on this bug? /Eric |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Join Date: Mar 2009
Posts: 854
Rep Power: 21 ![]() |
Eric,
I haven't forgotten, it is still on my list of things to do and I will deal with it shortly. H |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
speed of sound panel in VOF model | bohis | FLUENT | 2 | February 20, 2009 11:36 |
Abt: the speed of sound in incompressible flows | jinwon park | Main CFD Forum | 3 | August 21, 2008 21:44 |
negative speed of sound | Bearcat | Main CFD Forum | 5 | August 6, 2008 13:55 |
wrong dimensions when reading mesh file | stella | FLUENT | 3 | October 12, 2005 13:30 |
Sound Speed Extimation | jkl | FLUENT | 0 | June 9, 2003 07:06 |