|
[Sponsors] |
June 16, 2020, 04:23 |
Questions about the DEFINE_SOURCE
|
#1 |
New Member
Chris Hunter
Join Date: May 2020
Posts: 17
Rep Power: 5 |
Hello everybody,
I'd like to use fluent to solve Poisson equation. The Poisson equation is attached. But the simulation result is much higher than expected. I am not sure if I need to add some other terms (e.g., velocity term, transient term). in the equation. Or my code is wrong. Here is part of my code: DEFINE_SOURCE(potential,c,t,dS,eqn) { real source; source=F*(-C_UDSI(c,t,2)+C_UDSI(c,t,3)); dS[eqn]=0.0; return source; } Thanks a lot |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 05:29 |
[ICEM] Complex geometry mesh general questions | Jack B | ANSYS Meshing & Geometry | 0 | August 14, 2019 13:44 |
General questions about how to mesh and build up my case | ThunderstruckGER | OpenFOAM | 5 | September 23, 2018 18:33 |
possible interview questions | atturh | Main CFD Forum | 1 | February 21, 2012 08:53 |
NACA0012 Validation Case Questions | ozzythewise | Main CFD Forum | 3 | August 3, 2010 14:39 |