tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Compatibility of tutorials with OpenFOAM 10

Open MakisH opened this issue 2 years ago • 1 comments

I ported the adapter to OpenFOAM 10, but there are also a few configuration changes for the tutorials and all cases. I am not sure at the moment how to handle this, so I am for now describing what changes I have collected:

  • cannot find file "constant/physicalProperties"
    • We need to rename the constant/transportProperties file for laplacianFoam (affects all our CHT cases).
  • The buoyantPimpleFoam solver has been replaced by the more general buoyantFoam solver which can be used for both steady and transient cases.
    • We need to replace buoyantPimpleFoam with buoyantFoam in system/controlDict (affects all our CHT cases).
  • fvMeshStitcher for changing mesh not found. Valid fvMeshStitchers are : 1(stationary)
    • No clue what this means right now, seems to affect our FSI cases.

MakisH avatar Jul 17 '22 21:07 MakisH

Feedback by @jheylmun: regarding the fvMeshStitcher error, it looks like a lot has changed regarding mesh motion in this release. We need to modify the dynamicMeshDict as follows:

libs ("libfvMeshStitchers.so");

mover
{
   type motionSolver;

   libs ("libfvMeshMovers.so" "libfvMotionSolvers.so");

   motionSolver displacementLaplacian;
   diffusivity quadratic inverseDistance (flap);
}

Solving this made another checkpointing-related issue pop up, which I am now investigating. (related to reading V0). For explicit coupling, the perpendicular-flap case seems to complete and results look reasonable.

MakisH avatar Jul 19 '22 08:07 MakisH