|
[Sponsors] |
November 20, 2015, 20:08 |
Solving 2D Poisson Equation in 3D geometry
|
#1 |
New Member
Ender Demirel
Join Date: Jun 2009
Location: Turkey
Posts: 20
Rep Power: 16 |
Hi foamers,
I have a three dimensional geometry and I'm trying to solve Poisson equation. I can solve the three-dimensional Poisson equation --> d2(psi)/dx2+d2(psi)/dy2+d2(psi)/dz2=S_psi using the following code: solve ( fvm::laplacian(gamma, psi) == S_psi ); But I would like to solve the Poisson equation at only xy planes of the geometry excluding the derivative in z direction. Finally, my modified equation will be d2(psi)/dx2+d2(psi)/dy2=S_psi, here psi is my dependent variable and is the function of x, y and z. How can I solve that two dimensional Poisson equation in the internalfield of a three-dimensional geometry? Thanks, Ender |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How I can introduce my power heat (W) in chtMultiRegionFoam? | aminem | OpenFOAM Pre-Processing | 32 | August 29, 2019 02:23 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
SLTS+rhoPisoFoam: what is rDeltaT??? | nileshjrane | OpenFOAM Running, Solving & CFD | 4 | February 25, 2013 04:13 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 02:58 |