|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: May 2024
Posts: 2
Rep Power: 0 ![]() |
Hello, I am implementing a diffusion term using Gauss Theorem and adding all the face fluxes in the cell to get a source term. This is not working properly as i have to know when to add the flux and when to subtract based on the face normal direction, which is sometimes pointing in a direction and sometimes on another one for internal faces.
Is there a clean way to implement this without using F_C0 and F_C1, which are pretty confusing for me given the assignment of C0 and C1 does not seem consistent throughout the domain. |
|
![]() |
![]() |
![]() |
Tags |
diffusion, divergence theorem, fluent, source term, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] funkyDoCalc with OF2.3 massflow | NiFl | OpenFOAM Community Contributions | 14 | November 25, 2020 04:30 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 02:22 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |