Hi all,
I combine two domains
Hi all,
I combine two domains in one simulation. I have coupledFvMatrix I found somewhere on MB and in presentation for Politecnico di Milano. It enables to solve variables in not coupled domains. Like temperature in solid and fluid(the example below). coupledFvScalarMatrix TEqns(2); TEqns.hook ( new fvScalarMatrix ( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(DT, T) ) ); TEqns.hook ( new fvScalarMatrix ( fvm::ddt(Tsolid) - fvm::laplacian(DTsolid, Tsolid) ) ); TEqns.solve(); But this is not applicable to for example to pressure - velocity coupled equations. So it will not work for fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(nu, U) ); solve(UEqn == -fvc::grad(p)); Did the implementation developed somewhere furhter (I have version dated end of January)? Is there maybe a coupled field class (like coupledFvScalarField/coupledFvVectorField)? Is there any other way to solve coupled fields with different dynamics? Thanks in advance, rafal |
All times are GMT -4. The time now is 23:46. |