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

helmholtzFoam / direct matrix solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2010, 03:30
Default helmholtzFoam / direct matrix solver
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Hello,

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.

Thanks,

Mirko
mirko is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working directory via command line Luiz CFX 4 March 6, 2011 20: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


All times are GMT -4. The time now is 15:59.