Implicit term in the continuity equation
Hello everyone,
I'm trying to use a continuity equation in chtMultiRegionFoam that looks like it (similarly to the one used in cavitatingFoam): Code:
fvScalarMatrix rhoEqn which basically has the second term implicit instead of explicit like in normal heat transfer solvers. I get this known problem: Code:
valueInternalCoeffs cannot be called for a calculatedFvPatchField I know this comes out if you set "calculated" b.c. type but I think mine should be fine: in the 0 folder: Code:
dimensions [1 -3 0 0 0 0 0]; In the fluid part changeDictionary: Code:
rho does anyone have any idea? thanks a lot |
Hello Tobi,
thanks a lot for your reply. In reality phi2 is not equal to the definition of phi in heat transfer solvers (rho*U), but it is defined like: Code:
surfaceScalarField phi2 = (fvc::interpolate(HbyA) & mesh.Sf()) Also, the initialization of rho in cavitatingFoam's tutorials is similar to mine: Code:
dimensions [1 -3 0 0 0]; thanks |
Quote:
|
All times are GMT -4. The time now is 07:57. |