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

Mapping wall temperature result by energy-plus to Fluent mesh cells

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2018, 12:50
Smile Mapping wall temperature result by energy-plus to Fluent mesh cells
  #1
New Member
 
Jimmy Lee
Join Date: Jun 2017
Posts: 19
Rep Power: 8
jimmy871013 is on a distinguished road
Dear friends:

Hello~~

I have a questions about UDF. I made a community blocks model to simulate street thermal environment and wind environment both. I simulated thermal environment in energy-plus and got wall temperature result.

Attachment 61928
this is the energy-plus simulation result image

In energy-plus, the calculate mesh is very big. But in CFD , I will use unstructured mesh to calculate, the mesh cells size is smaller then the energy-plus mesh cells. So the problem is : how to mapping the temperature result (I can get temperature result and temperature mesh location ) to the CFD mesh cells(I think i only need mapping surface temperature ,not volume temperature)?

I already check the Forums threads about this question, some experts said it should be solved by UDF( DEFINE_ADJUST function to set C_T_G).

Firstly, I am not sure this answer is right or not, so is that possible some one can share his idea about this question? THX~

Secondly, I am a beginner about UDF,is that possible some one can give me some examples about this question ? THX~

Thirdly,I understand everyone is busy, so is that possible some one can give me some advises or learning materials? THX~

Lastly, if some one can share his UDF about this question, I will share the energy-plus file to him if he need it. THX!!!!!

PS: If some one have any idea about this question pls send message to me~~~

Hope every one have nice days~~~

Kind Regards

Jimmy
jimmy871013 is offline   Reply With Quote

Old   March 8, 2018, 12:57
Default The energy-plus image
  #2
New Member
 
Jimmy Lee
Join Date: Jun 2017
Posts: 19
Rep Power: 8
jimmy871013 is on a distinguished road
Attachment 61932

I do not know why I cannot see the energy-plus simulation result,so I upload again~~~

Thanks for anyone reply my thread~~

Jimmy

Last edited by jimmy871013; March 12, 2018 at 11:03.
jimmy871013 is offline   Reply With Quote

Old   March 8, 2018, 21:40
Default
  #3
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
Using google you may find ANSYS Fluent Customization Manual
that document will help you with UDF.

From my point of view you need DEFINE_INIT macros if you need just to start your simulation with temperature from previous simulation.

C_T(c,t) is a macros to get temperature value at the cell
F_T(f,t) is a macros to get temperature value at the face (surface)

Best regards
AlexanderZ is offline   Reply With Quote

Old   March 9, 2018, 11:53
Default
  #4
Senior Member
 
Join Date: Sep 2017
Posts: 246
Rep Power: 11
obscureed is on a distinguished road
Hi Jimmy,

If you have temperature data on surfaces, and you would like to apply these as boundary conditions to a Fluent model, then that sounds like a job for a profile. This is a fairly straightforward feature -- see the User Guide chapter on Cell Zone and Boundary Conditions. If that is suitable, you will find it easier than User Defined Functions.

Good luck!
Ed
obscureed is offline   Reply With Quote

Old   March 9, 2018, 12:28
Default
  #5
New Member
 
Jimmy Lee
Join Date: Jun 2017
Posts: 19
Rep Power: 8
jimmy871013 is on a distinguished road
Dear AlexanderZ:

Thanks for your reply. I already search the Customization Manual about DEFINE_INIT, I found there is an example but seems not suitable for me. Do you have any specific example ? Or maybe I should do more research then ask you. THX~~
jimmy871013 is offline   Reply With Quote

Old   March 9, 2018, 12:35
Default
  #6
New Member
 
Jimmy Lee
Join Date: Jun 2017
Posts: 19
Rep Power: 8
jimmy871013 is on a distinguished road
Dear obscureed:

Thanks for your reply. I think I can get every cells' location and temperature(the cells is on the thermal environment simulation mesh, it is not CFD mesh), and I want every CFD mesh cell get the temperature of thermal mesh's cell depends on the distance(when CFD cell close to the thermal cell,then CFD cell get thermal cell's temperature) . I will try your way to solve the problem but I think firstly I need read User guide. THX~~~
jimmy871013 is offline   Reply With Quote

Reply

Tags
mapped face meshing, temperature distribution, thermal analysis, udf code


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
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) Aadhavan OpenFOAM Meshing & Mesh Conversion 2 March 8, 2018 01:47
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
snappyhexmesh remove blockmesh geometry philipp1 OpenFOAM Running, Solving & CFD 2 December 12, 2014 10:58
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11


All times are GMT -4. The time now is 06:31.