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

How to add energy to cells?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2010, 06:21
Post How to add energy to cells?
  #1
New Member
 
JoFFe JoFF
Join Date: Oct 2010
Posts: 7
Rep Power: 15
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 06:36.
JoFFe is offline   Reply With Quote

Old   October 5, 2010, 06:41
Default
  #2
Member
 
Join Date: Sep 2010
Posts: 60
Rep Power: 15
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 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
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 06:50
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 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 Siemens 2 August 3, 2005 01:32


All times are GMT -4. The time now is 10:02.