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

How to add energy to cells?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 5, 2010, 05:21
Post How to add energy to cells?
  #1
New Member
 
JoFFe JoFF
Join Date: Oct 2010
Posts: 7
Rep Power: 6
JoFFe is on a distinguished road
Iím doing my master thesis work for a company and I am using Ansys Fluent 12.1 with academic license.

The company has given me a table with coordinates in 3D of the center of each cell and the energy within each cell according to the table below.

X-cord..|..Y-cord..|..Z-cord..|..Value
....X1....|.....Y1.....|.....Z1......|...V1...
....X2....|.....Y2.....|.....Z2......|...V2...
....Xi.....|.....Yi......|.....Zi.......|...Vi...


How can I insert the energy at the correct coordinates in my analysis?

I have tried file>interpolate, made my own .ip file with the right format. I was using internal-energy but fluent said ignoring internal energy when interpolating.
I have also been reading that it is maybe possible to do it with UDf files, but I havenít found anything on how to use data from tables, I have only found how to use functions.

Please help.

Best Regards/

JoFFe
Attached Images
File Type: jpg table.jpg (33.2 KB, 1 views)

Last edited by JoFFe; October 5, 2010 at 05:36.
JoFFe is offline   Reply With Quote

Old   October 5, 2010, 05:41
Default
  #2
Member
 
Join Date: Sep 2010
Posts: 51
Rep Power: 6
stage81 is on a distinguished road
Quote:
Originally Posted by JoFFe View Post
Iím doing my master thesis work for a company and I am using Ansys Fluent 12.1 with academic license.

The company has given me a table with coordinates in 3D of the center of each cell and the energy within each cell according to the table below.

X-cord..|..Y-cord..|..Z-cord..|..Value
....X1....|.....Y1.....|.....Z1......|...V1...
....X2....|.....Y2.....|.....Z2......|...V2...
....Xi.....|.....Yi......|.....Zi.......|...Vi...


How can I insert the energy at the correct coordinates in my analysis?

I have tried file>interpolate, made my own .ip file with the right format. I was using internal-energy but fluent said ignoring internal energy when interpolating.
I have also been reading that it is maybe possible to do it with UDf files, but I havenít found anything on how to use data from tables, I have only found how to use functions.

Please help.

Best Regards/

JoFFe
I have some problem as you, My goal is to implement a source term (e.g: energy) in a defined area of my field of computing, I have a simple 2D configudation (100 mesh along the X axis and 100 mesh along the Y axis) and I want to inject a source term (ie: source = 10000W/m3) in a grid of coordinates (X =50 and Y = 50) and I can not specify in my UDF cell in which I would inject my source
stage81 is offline   Reply With Quote

Reply

Tags
cell, energy, interpolate, source, udf

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Add a layer of cells, UDF, dynamic mesh or ...? Modisa FLUENT 0 March 17, 2007 12:59
Add a layer of cells, dynamic mesh or ...? Modisa FLUENT 1 March 12, 2007 03:01
physical boundary error!! kris CD-adapco 2 August 3, 2005 00:32


All times are GMT -4. The time now is 21:09.