Hi,
I've found that the fvc
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 |
Which version of OpenFOAM are
Which version of OpenFOAM are you running and which solver?
H |
Sorry, not used to posting bug
Sorry, not used to posting bugs ;-)
Latest git version Home made solver for FSI using the couple manager /Eric |
I didn't get the code truough
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 |
Yepp, changing your ordinary c
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 |
Hi Henry,
Any news on this bug? /Eric |
Eric,
I haven't forgotten, it is still on my list of things to do and I will deal with it shortly. H |
All times are GMT -4. The time now is 03:53. |