|
[Sponsors] |
Some misleading about the treatment of coupled boundary |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 26, 2008, 01:39 |
Files:
fvMatrix.C
fvMatr
|
#1 |
New Member
Liu Huafei
Join Date: Mar 2009
Location: Shanghai, China
Posts: 20
Rep Power: 17 |
Files:
fvMatrix.C fvMatrixSolve.C lduMatrixATmul.C Some question about the coupled boundary. In fvMatrix.C In subroutine Foam::lduMatrix::solverPerformance Foam::fvMatrix<Type)::solve。 Firstly we call addBoundarySource(source),then the 'implicit' part of coupled boundary has been added to the source. void Foam::fvMatrix<type>::addBoundarySource ( .... if (!ptf.coupled()){ addToInternalField(lduAddr().patchAddr (patchI), pbc, source); } else if (couples) { ... forAll(addr, facei) { source[addr[facei]] += cmptMultiply(pbc[facei], pnf[facei]); } But in the following code, the updateMatrixInterface will add the 'implicit' part to the source once again. If the updateMatrixInterface has the same function, the addBoundarySource doesn't need including the coupled boundary part. Why need add the 'implicit' part twice? Another question,what the function of the initMatrixinterfaces In addition,In lduMatrix's AMul and TMul also call the initMatrixInterfaces and UpdateMatrixInterfaces,it seems that we needn't call the initMatrixInterfaces and Updatematrix in the solve subroutine. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 15 Misleading information in README about Qt 43x in openSUSE | alberto | OpenFOAM Bugs | 40 | November 7, 2008 09:20 |
Treatment of Boundary Conditions | Harun | CFX | 7 | August 10, 2007 12:36 |
Fluent Treatment of mixed boundary condition HELP | Amr | FLUENT | 0 | May 26, 2006 05:46 |
Treatment of inflow boundary | William M. | Main CFD Forum | 2 | June 1, 2005 02:46 |
Immersed boundary boundary treatment | AFP | Main CFD Forum | 0 | January 30, 2004 07:16 |