CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Discretizing a plain variable

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 1, 2023, 03:59
Default Discretizing a plain variable
  #1
New Member
 
Join Date: Apr 2015
Posts: 15
Rep Power: 11
Numericer is on a distinguished road
Consider a source term in a convective-diffusive equation:


\frac{\partial T}{\partial t} + u \frac{dT}{dx} - D \frac{d^2T}{dx^2}= k T


What would be the discretization coefficients associated with kT? Would they be just cell volumes?

Last edited by Numericer; January 1, 2023 at 11:21.
Numericer is offline   Reply With Quote

Old   January 1, 2023, 11:21
Default
  #2
New Member
 
Join Date: Apr 2015
Posts: 15
Rep Power: 11
Numericer is on a distinguished road
The answer depends on implicit or explicit treatment of the term. Implicitly the coefficients are just cell volumes.

Last edited by Numericer; January 1, 2023 at 12:55.
Numericer is offline   Reply With Quote

Reply

Tags
discretization

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
OpenFoam-1.6-ext Allwmake compilation error - one last barrier Pat84 OpenFOAM Installation 15 July 25, 2012 21:49
Condensation as an additional variable Clark Griswold CFX 2 April 21, 2012 07:20
Embed explicitSetValue in chtMultiRegionFoam samiam1000 OpenFOAM 2 April 18, 2012 05:14
Instalation on ubuntu 710 basilwatson OpenFOAM Installation 17 March 16, 2012 20:16
variable viscosity -NOT! George Bergantz Main CFD Forum 15 September 19, 2000 14:28


All times are GMT -4. The time now is 01:11.