CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Secondary Diffusion Term as Source Term

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2025, 12:35
Question Secondary Diffusion Term as Source Term
  #1
New Member
 
Join Date: May 2024
Posts: 2
Rep Power: 0
karam_j is on a distinguished road
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.
karam_j is offline   Reply With Quote

Reply

Tags
diffusion, divergence theorem, fluent, source term, udf

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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
[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


All times are GMT -4. The time now is 02:32.