CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

difference between solveSegregated and solveCoupled

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2014, 05:56
Default difference between solveSegregated and solveCoupled
  #1
New Member
 
Fujiang Yu
Join Date: Jan 2014
Posts: 12
Rep Power: 12
yfjok22 is on a distinguished road
Hi, foamers, I'm new here. These days, I have been reading the class of fvmatrix, and met a small problem: what is the difference between solveSegregated and solveCoupled?
I can see from the code that solveSegregated method stands for solving the vector equation separately, like Ux, Uy, Uz each at one time. But what does solveCoupled mean, does it mean we solve the Ux, Uy, Uz together with a big block matrix A or just solve Ux, Uy, Uz each at one time with the same matrix A?
I really can't figure it out through the code, can any kind friend help me with this?
yfjok22 is offline   Reply With Quote

Old   December 23, 2017, 21:49
Default
  #2
Member
 
Di Cheng
Join Date: May 2010
Location: Beijing, China
Posts: 47
Rep Power: 15
chengdi is on a distinguished road
I think it uses a totally different set of solvers. You can see there are two classes: lduMatrix and LduMatrix<DType,LUType>. Pls note the uppercased initial letter.

And in solveCoupled(), it will construct a LduMatrix, and invoke the solver in it.

The solver in LdUMatrix is also different, like `PBiCCCG`, which is not applicable in lduMatrix.
chengdi is offline   Reply With Quote

Reply

Tags
fvmatrix, solvecoupled, solvesegregated


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:00.