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

eSource units

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2021, 17:21
Default eSource units
  #1
New Member
 
George
Join Date: Oct 2020
Posts: 24
Rep Power: 5
Dicanic is on a distinguished road
Hi all,



I am very new to openFOAM and I have a question about a coded source I have implemented.



I am using sensibleInternalHeat and I am selecting the e field to code a source. My question is if I do something like:


eSource[i] -= V[i]*5 where V[i] is the volume of the cell


Am I putting in (volume of cell in m3)*(5 W/m3)



or



Am I putting in (volume of cell in m3)*(5W/kg)



I would greatly appreciate any clarification, I know the API shows that HE in the e file is a J/kg, but I am not sure that is what I am interacting with.
Dicanic is offline   Reply With Quote

Reply

Tags
coded source

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
fvOptions() Options and SemiImplicit Source Term - Units Tobi OpenFOAM Programming & Development 11 February 18, 2021 09:13
Thermophysical Property Units johanz OpenFOAM Pre-Processing 2 December 16, 2018 10:08
how to show the units on the results. ounifiras FLOW-3D 1 November 24, 2013 16:07
units in OpenFOAM megacrout OpenFOAM 4 July 19, 2011 08:04
Mass transfer units in fluent nite_surfer FLUENT 0 July 12, 2007 12:51


All times are GMT -4. The time now is 23:58.