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

Contour Plot/Report of Volumetric Heating

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2017, 15:30
Default Contour Plot/Report of Volumetric Heating
  #1
Member
 
Joshua
Join Date: Aug 2014
Posts: 49
Rep Power: 11
jbo214 is on a distinguished road
Is there a way to create a contour plot or report of the volumetric heating?
jbo214 is offline   Reply With Quote

Old   May 16, 2017, 10:09
Default
  #2
Member
 
Joshua
Join Date: Aug 2014
Posts: 49
Rep Power: 11
jbo214 is on a distinguished road
There is a macro to access the source term value for each cell, so you can use a UDF to pull that data into a UDM and plot from there.

https://support.ansys.com/portal/sit...extfmt=default

Quote:
You can define a User Defined Memory (UDM) location in your UDF to check the source term in a cell of interest with the following command:

C_UDMI(c,tc,0)=F_VAR(c,tc,THREAD_VAR(tc).fluid.sou rce[i][j]);

The above command will store the source value in the first UDM location (index 0) of the cell.

Use:
- i=2, if the source term refers to the x momentum equation
- i=3, if the source term refers to the y momentum equation
- i=4, if the source term refers to the z momentum equation
- i=5, if the source term refers to the the energy equation

And j is the index of the jth source (you can define several source terms for an equation)

For example:
- j=0 gives the source term number 1 on equation i
- j=1 gives the source term number 2 on equation i

Please note:
- you have to define one User Defined Memory (UDM) location in order to use the snippet above through User Defined -> Memory ...
- you can use the macro to access sources which have been effectively defined in the cell zone of interest. If the source is not existing (i.e. has not been defined), Fluent will stop with a "Segmentation fault" error message
jbo214 is offline   Reply With Quote

Reply

Tags
contour plot, heating, volumetric

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
adding a constant volumetric source term to transport equation in a particular region cfdonline2mohsen OpenFOAM Programming & Development 15 February 16, 2017 09:55
generating 2d-planar contour plots from a contour plot on a curved surface alinik CFX 3 May 21, 2016 06:17
[GAMBIT] Plotting/Meshing a Contour Map (3D hill) VU_Engineer ANSYS Meshing & Geometry 6 January 28, 2014 06:59
Heating value of fuel in non-premixed model? Jeronimo97 FLUENT 0 February 15, 2013 14:27
re: Volumetric Heating Wooster Main CFD Forum 3 April 19, 2007 15:43


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