https://linen.dev logo
So I am running into this issue, the boundary cond...
# programming
g
So I am running into this issue, the boundary condition I am using for conjugate heat transfer only updates the temperature on its own region instead of updating the temperature of the neighbor patch to be equal to that side this leads to using different type of patches. I use
mixedFvPatchFields
, while
turbulentTemperatureCoupledBaffleFvPatchScalarField
uses
fixedValueFvPatchScalarField
, so the difference is then when running the solver coupled to my code it has some issue with the enthalpy field when initializing the code I get the error
h is not a generic patch field
, but using the other BC that is then not the case. The main (only) difference in the code lies in :
Copy code
mixedFvPatchScalarField::updateCoeffs();
Copy code
fixedValueFvPatchScalarField::updateCoeffs();
I dont know if anyone else has come across this issue with that error during initialisation. The boundary conditions comes from: https://github.com/tandise/ConjugateHeatTransfer-OpenFOAM, and is pretty much rewrite of it