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

energy source term for 2d axisymmetric

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By CFDKareem
  • 1 Post By AlexanderZ
  • 1 Post By CFDKareem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 27, 2022, 09:11
Question energy source term for 2d axisymmetric
  #1
New Member
 
arash
Join Date: Aug 2009
Posts: 29
Rep Power: 17
a.maroofi is on a distinguished road
Hi,
I want to add energy source term in 2d axisymmetric problem. dimension of energy source term is W/m3. I completely confused how can I convert 200 W heat, to this 2d axisymmetric problem? I 3d I have no problem:
a.maroofi is offline   Reply With Quote

Old   December 27, 2022, 13:23
Default
  #2
Senior Member
 
CFDKareem's Avatar
 
Kareem
Join Date: Nov 2022
Location: New York
Posts: 125
Rep Power: 4
CFDKareem is on a distinguished road
Quote:
Originally Posted by a.maroofi View Post
Hi,
I want to add energy source term in 2d axisymmetric problem. dimension of energy source term is W/m3. I completely confused how can I convert 200 W heat, to this 2d axisymmetric problem? I 3d I have no problem:
A axisymmetric cell zone has volume which can be calculated as the revolution of the 2D face around the x-axis. The easiest way to define your source term is to use an expression:

200 [W]/Volume(['your_cell_zone'])

This will calculate the volume of the revolved domain and divide your input accordingly to get your source term in W/m^3.
a.maroofi and SDMA like this.
__________________
Please like the answer if it helped!

Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured
CFDKareem is offline   Reply With Quote

Old   December 28, 2022, 02:26
Default
  #3
New Member
 
arash
Join Date: Aug 2009
Posts: 29
Rep Power: 17
a.maroofi is on a distinguished road
Quote:
Originally Posted by CFDKareem View Post
A axisymmetric cell zone has volume which can be calculated as the revolution of the 2D face around the x-axis. The easiest way to define your source term is to use an expression:

200 [W]/Volume(['your_cell_zone'])

This will calculate the volume of the revolved domain and divide your input accordingly to get your source term in W/m^3.
Dear CFDKareem,
Please describe it for me with one example.We assume that a tube with radius 2cm and 5cm length. what is energy source term for 2d axisymmetric of this case?
200 W/(VOLUME???)
How can I calculate volume?
a.maroofi is offline   Reply With Quote

Old   December 28, 2022, 02:34
Default
  #4
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
google for "expressions in ansys fluent"
a.maroofi likes this.
__________________
best regards


******************************
press LIKE if this message was helpful
AlexanderZ is offline   Reply With Quote

Old   December 28, 2022, 10:29
Default
  #5
Senior Member
 
CFDKareem's Avatar
 
Kareem
Join Date: Nov 2022
Location: New York
Posts: 125
Rep Power: 4
CFDKareem is on a distinguished road
Quote:
Originally Posted by a.maroofi View Post
Dear CFDKareem,
Please describe it for me with one example.We assume that a tube with radius 2cm and 5cm length. what is energy source term for 2d axisymmetric of this case?
200 W/(VOLUME???)
How can I calculate volume?
1) Select Source Term and add 1 term
2) Select expression for the source and hit the "F(x)" icon
3) Type in "200[W]/" and then add Function>Reduction>Volume
4) Replace <location> with the name of the cell zone you would like to add the energy to.

See pictures for further detail and check the Fluent guide on using expressions, as Alexander mentioned.
Attached Images
File Type: png ExpressionSource.png (64.9 KB, 13 views)
File Type: png ExpressionSource2.png (62.0 KB, 15 views)
a.maroofi likes this.
__________________
Please like the answer if it helped!

Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured
CFDKareem is offline   Reply With Quote

Reply

Tags
2d axisymmetric, energy, source terms


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
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 04:04
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
UDF Scalar Code: HT 1 Greg Perkins FLUENT 8 October 20, 2000 13:40
UDFs for Scalar Eqn - Fluid/Solid HT Greg Perkins FLUENT 0 October 14, 2000 00:03


All times are GMT -4. The time now is 22:38.