CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   What does Foam::fvMatrix<Type>::solveSegregatedOrCoupled do? (https://www.cfd-online.com/Forums/openfoam-programming-development/241257-what-does-foam-fvmatrix-type-solvesegregatedorcoupled-do.html)

Dmo February 16, 2022 09:54

What does Foam::fvMatrix<Type>::solveSegregatedOrCoupled do?
 
Hi,

Could someone shed some light on this function:

Code:

    SolverPerformance<Type> solveSegregatedOrCoupled(const dictionary&)
I can't find much in the way of explaination in the source code or online.

It seems to be always called when solve is called, and called explicitly in some of the motion solvers (apparently to "bypass all matrix manipulation").

I understood OpenFOAM always solved equations in a segregated fashion and I'm not sure what coupled means in terms of a single matrix (i.e. single equation).

Thanks :)


All times are GMT -4. The time now is 23:14.