Hello Foamers.
I am a novice to openfoam. I tried to use chtMultiRegionFoam for a simple CHT calculation. What I calculated was flow pass through a hollow cylinder. FixedGradient boundary condition was given at the inner boundary of the cylinder. The calculation could finish successfully if I use fixedGradient boundary condition. But when I copied the fixedGradient directory and changed its name into myFixedGradient and used it in the calculation, the results became incorrect. It seemed that the flux at the inner boundary became zero. Then I printed the names of functions in fixedGradient. It seemed that the second constructor and the first constructor were called during the calculation, and the functions like gradientInternalCoeffs() were not called during the calculation. When I use myFixedGradient() condition,these functions were called, but the values of field gradient_ all equal to zero. The case directory and logs as well as source code for myFixedGradient boundary were attached. Do you have any ideas about these issues? Thanks a lot.