|
[Sponsors] |
Poisson equation in custom solver diverges for large boundary values |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 22, 2017, 00:05 |
Poisson equation in custom solver diverges for large boundary values
|
#1 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Dear Fellows
I have written a non-dimensional custom solver based on interFoam in OpenFoam 2.1.x. In this solver there is a Poisson equation which is solved for a custom variable. (here ). However, my solver crashes by insanely reducing time step if I increase the Dirichlet values at the boundaries. The snippet related to Poisson equation is as follows: Code:
fvScalarMatrix UeEqn ( fvm::laplacian(eps,Ue) == -rhoE * gamma ); UeEqn.solve(); These are my relevant settings in fvSolutions and fvSchemes files: Code:
"(Ue|UeExt)" { solver PCG; preconditioner DIC; tolerance 1e-14; relTol 0.0; }; Code:
laplacianSchemes { default Gauss linear corrected; }
Has any body experienced this issue or any suggesstion?? Thanks |
|
May 23, 2017, 18:58 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52 |
Hi Bobi,
I have no idea about your solver and equations and I also never had »large boundary value problems (whatever large means)« ... one thing that might help. Under relaxation and making outer loops till the equation converged. Or field relaxation. For the pressure (poission eqn) we also use field relaxation. Out of the box I have no other idea -- sorry.
__________________
Keep foaming, Tobias Holzmann |
|
May 23, 2017, 21:11 |
|
#3 |
Senior Member
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 16 |
Thanks Tobi
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Centrifugal fan | j0hnny | CFX | 13 | October 1, 2019 14:55 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 02:44 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
Poisson equation with Neumann boundary conditions | cregeo | Main CFD Forum | 8 | July 26, 2004 05:58 |