|
[Sponsors] |
Problem adding a source term in interfoam's alphaEqn.H |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 18, 2014, 07:34 |
Problem adding a source term in interfoam's alphaEqn.H
|
#1 |
New Member
Quentin Coispeau
Join Date: Nov 2013
Posts: 17
Rep Power: 13 |
Hi foamers,
Related to this thread concerning "numerical ventilation" with interFoam, i'n now trying to add a source term to the alpha equation in interFoam. As I don't perfectly understand how to handle implicit/explicit source term and how it is treated in MULES::correct and MULES::explicitsolve, i try to impelment my source term totally explicitely. My source term would have this form (with an arbitrary distance from the wall, the distance from the cell center to the wall, an arbitrary number of iterations and the water phase fraction of the considered cell) : if if //mostly air in the cell / above interface else//i'm removing water from the cellelse //mosty water in the cell /under interface I try to implement this in interFoam solver :
I don't know where I am wrong - in fact if I do I would not ask fo some help. Any Idea would be very welcome. I read quite a lot of threads on this forum related to the source term, but didn't get any more clue concerning my implementation. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
momentum source term | zwdi | FLUENT | 14 | June 27, 2017 16:40 |
OpenFOAM without MPI | kokizzu | OpenFOAM Installation | 4 | May 26, 2014 10:17 |
Adding an energy source term to a phase with reactions | lxlxlxt | Fluent Multiphase | 0 | February 10, 2014 21:42 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |