CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   How to add energy to cells? (https://www.cfd-online.com/Forums/fluent/80733-how-add-energy-cells.html)

JoFFe October 5, 2010 05:21

How to add energy to cells?
 
1 Attachment(s)
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

stage81 October 5, 2010 05:41

Quote:

Originally Posted by JoFFe (Post 277841)
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


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