build my own multi-region solver : pb with flux continuity
Hi !
I am currently trying to develop my own multi-region solver. For sake of simplicity, let's say I have two regions, a "solid" and a "fluid". I want to solve heat transfers in both regions, with continuity and flux continuity at the solid/fluid interface. Code:
fvScalarMatrix TsEqn Code:
Code:
scalarField &TsP = Ts.boundaryField()[labelSolid]; My problem concern the flux continuity at the region interface. I want to apply the flux continuity imposing the solid temperature gradient at the interface with Code:
vectorField n = fluidMesh.boundary()[labelFluid].nf(); best regards, Cyp |
There is a multiregion solver available:
http://www.cfd-online.com/Forums/ope...eheatfoam.html |
Yes I worked on its basis.
Actually, to solve the "problem" I mentionede above, one need to under-relax the flux boundary condition, and iterate until convergence. |
All times are GMT -4. The time now is 22:03. |