|August 2, 2010, 03:30||
helmholtzFoam / direct matrix solver
Join Date: Mar 2009
Posts: 159Rep Power: 9
I am writing a solver for the Helmholtz equation:
fvm::laplacian(T) + k2 * T
Right now, I am solving it in one dimension only.
I used the laplaceFoam solver code and tutorial as guidance.
I am having divergence problems using the PCG solver with the DIC conditioner. From iteration to iteration, the magnitude of T keeps increasing.
I can see that the k2 term influences the diagonal term. I would like to try solving the equation first with a direct matrix solver (since this is currently a one-dimensional problem), but I was unable to find any direct solvers.
Does OF have any direct solvers? I looked at the src directories, but nothing obvious jumped out to my untrained eyes.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Working directory via command line||Luiz||CFX||4||March 6, 2011 21:02|
|OpenFOAM version 1.6 details||lakeat||OpenFOAM Running, Solving & CFD||42||August 26, 2009 21:47|
|problem about direct solver for sparse matrix||ztdep||Main CFD Forum||0||August 11, 2006 12:16|
|Matrix solver||Yang||Main CFD Forum||5||May 13, 2006 22:20|
|matrix solver for vector machine||TakeharuM||Main CFD Forum||1||June 5, 2001 16:16|