|
[Sponsors] |
Apply Energy from APDL (W/m^3) into Fluent Model |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 20, 2016, 13:39 |
Apply Energy from APDL (W/m^3) into Fluent Model
|
#1 |
Member
Join Date: Nov 2016
Posts: 73
Rep Power: 10 |
Hello everybody,
I programmed a 3D modell in Ansys APDL where a current flows through a copper tube. There is water going through the tube for cooling. Now, I simulated the energy (W/m³) in the tube generated by the current. So, I would like to couple the results with fluent, so I exported the geometry into fluent. To get to know UDF better, I wrote a simple (but working UDF) which gives a constant W/m^3: #include "udf.h" DEFINE_SOURCE(energy_source,cell,thread,dS,eqn) { real source; source = dS[eqn] = 10000000; return source; } I imported this file in Fluent by adding sources and chosing the c.file. So right now, the copper tube in fluent is provided with a constant energy of 10e7 W/m^3. But as I said, I would like to adapt the W/m^3 results I had from Ansys APDL into Fluent (each element shall have the W/m^3 that is created by APDL). I don't really know how to do this since I have just a bit experience with UDF. I have looked through the manual but I could not receive the necessary information input to solve this issue. Can somebody explain me how to realize that? Best regards h0rst |
|
December 24, 2016, 04:49 |
|
#2 |
Member
Join Date: Nov 2016
Posts: 73
Rep Power: 10 |
Does nobody have an idea?
I wrote the APDL results into an array and text file gives me in the 1 column: jouleheat 2 column: cent x coordinates 3 column: cent y coordinates 4 column: cent z coordinates But how can I read this array into my fluent udf? h0rst |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Evaporation model in ansys Fluent 12.1 | oldisbest | Fluent UDF and Scheme Programming | 12 | March 26, 2020 10:11 |
Difference between Fluent transitional model and CFX transitional model | Anna Tian | FLUENT | 2 | August 7, 2014 11:52 |
The fluent stopped and errors with "Emergency: received SIGHUP signal" | yuyuxuan | FLUENT | 0 | December 3, 2013 23:56 |
Is Non premixed combusiton (flamelet model) in Fluent able to calculate laminar? | sooroo3 | FLUENT | 2 | November 10, 2013 06:47 |
Exporting fluent melting/solidification model results to ansys mechanical apdl | omair11 | ANSYS | 3 | August 28, 2013 07:22 |