|
[Sponsors] |
December 19, 2017, 14:09 |
Solving eqation and poor convergence problem
|
#1 |
Member
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 12 |
Hi dear foamers,
I want to solve magnetic potential equation. I defined this equation like this: Code:
fvScalarMatrix ksiEqn ( fvm::laplacian(interfacePsi.muM() ,ksi) ); ksiEqn.solve(); Code:
inlet { type zeroGradient; } outlet { type zeroGradient; } up { type fixedGradient; gradient uniform -1234; } down { type fixedGradient; gradient uniform 1234; } frontAndBack { type empty; } Code:
ksi { solver smoothSolver; smoother DICGaussSeidel; //DIC-FDIC-GAMG-diagonal-none tolerance 1e-6; relTol 0; } The log file is attached. Any suggestion is appreciated. Thanks in advance, Behzad |
|
|
|