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

2D Transient Thermal case

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2016, 20:56
Default 2D Transient Thermal case
  #1
New Member
 
Sevinho
Join Date: Apr 2016
Location: Maryland
Posts: 8
Rep Power: 10
briangoesindie is on a distinguished road
Hello All, I'm really new to CFD and have been working on it for a class I am taking. The professor gave us a project where we have to work on turbulent convection and we have to use a CFD package. I have never used fluent until this class and the example he did in class was steady so I am struggling to figure out how to do this.

So let me lay out my project quickly and I'll tell you where my problem is.

I am doing a study of convective air flow over a cylinder. It is a problem of cooling the cylinder which has been heated over a short period of time and I want to get data on how much i can cool the cylinder based on air speed in 1 minute.

I have made my meshes in pointwise. Ifirst did a mesh where I have the center circle wall and the fluid flow around it. When I load it into Fluent R16.1 I set the simulation to k-epsilon and the flow speed and temperature and can run the simulation, but I am missing some key data.

So, first, I am unclear how I can set an initial temperature to the cylinder surface. I have seen many posts talking about doing a patch, but I have been unable to figure out how to do this and searching this forum and google(which is how i found this forum) I can't find anything that explains what it is or how to do it. All I have been able to do so far is set a constant temperature which is not what I want in order to see the cooling effect of the flow.

Second, I have been looking around and it seems I can have a 2 part mesh, one for the fluid and one for the cylinder. This seems like more of what I am trying to do.

Can anyone address these two issues? Maybe tell me whether I am right or whether I am going in the wrong direction competely. My professor will not give much assistance whenever I ask him so I am looking outside of class and the tutorials I have been doing for the last few weeks as my project due date is getting closer and I need to get some data for my report. THanks to anyone who can give me a hand.
briangoesindie is offline   Reply With Quote

Old   April 15, 2016, 14:38
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You need to do a two part mesh (the air flow around the cylinder, and the solid cylinder) if you want to see how the cylinder cools when the air moves over it.

The patch option is in the initialization pane where you setup the initial conditions. It is simply a utility that lets you overwrite specific variables in specific regions.

Create an interface for the solid-fluid interface (the surface of the cylinder).

Setup all materials for the fluid & solid zones. Setup all your boundary conditions and initial conditions. For the solid-fluid interface, use the no-slip condition for velocity and coupled condition for the thermal boundary condition.

Eventually you can start iterating. There are some tricks you can do to solve the problem faster. For example, if you have constant properties everywhere and your velocity field doesn't depend on temperature, then you can solve for the velocity field and then freeze it (by disabling the flow equations). The you can crunch only the heat transfer problem by solving only the energy equation, which can be done very quickly. Do not worry about this part until you've mastered the earlier parts.
LuckyTran is offline   Reply With Quote

Old   April 15, 2016, 16:59
Default
  #3
New Member
 
Sevinho
Join Date: Apr 2016
Location: Maryland
Posts: 8
Rep Power: 10
briangoesindie is on a distinguished road
Thanks for responding!

I have a two part mesh that I did after doing some reading. Do I create the interface in the meshing software? I made connectors so I have the wall boundary set up at the cylinder surface. Is that sufficient? How do I create the interface?

I doubt I will master any of this before the project is due, but I'm trying.
briangoesindie is offline   Reply With Quote

Old   April 15, 2016, 17:40
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Quote:
Originally Posted by briangoesindie View Post
Thanks for responding!

I have a two part mesh that I did after doing some reading. Do I create the interface in the meshing software? I made connectors so I have the wall boundary set up at the cylinder surface. Is that sufficient? How do I create the interface?

I doubt I will master any of this before the project is due, but I'm trying.
Do it in the meshing software. An easy way is to set properties, solid and fluid to each region. Then when you import the mesh into Fluent, the interpreter will figure out there need to be an interface and generate one automatically. It should appear as a wall & shadow-wall combination. If you get the wall & shadow-wall pair then you've done it correctly.

I haven't used pointwise in almost a decade so sorry I can't give immediate help.
LuckyTran is offline   Reply With Quote

Old   April 15, 2016, 17:59
Default
  #5
New Member
 
Sevinho
Join Date: Apr 2016
Location: Maryland
Posts: 8
Rep Power: 10
briangoesindie is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
Do it in the meshing software. An easy way is to set properties, solid and fluid to each region. Then when you import the mesh into Fluent, the interpreter will figure out there need to be an interface and generate one automatically. It should appear as a wall & shadow-wall combination. If you get the wall & shadow-wall pair then you've done it correctly.

I haven't used pointwise in almost a decade so sorry I can't give immediate help.
I set it up like you said right after i replied (Yay! I kinda have an idea of what I should be doing) so I was happy to see I did something right. I set the solid and fluid in pointwise then exported. I didn't see this wall shadow wall unless you are refering to the repeated boundary, which I assume is basically the boundary for the solid and the boundary for the fluid(not sure about the shadow thing you mentioned). I am running a test case based on the little advice I could get out of my professor which was to set the initial temp in the solution initialization screen. I set it to calculate from my solid boundary wall. I am running it for 2500 iterations which will give me .5 seconds to review if it is doing what it is supposed to. I'll let you know...

Let me know if this sounds like I'm doing something wrong.
briangoesindie is offline   Reply With Quote

Old   April 15, 2016, 18:23
Default
  #6
New Member
 
Sevinho
Join Date: Apr 2016
Location: Maryland
Posts: 8
Rep Power: 10
briangoesindie is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You need to do a two part mesh (the air flow around the cylinder, and the solid cylinder) if you want to see how the cylinder cools when the air moves over it.

The patch option is in the initialization pane where you setup the initial conditions. It is simply a utility that lets you overwrite specific variables in specific regions.

Create an interface for the solid-fluid interface (the surface of the cylinder).

Setup all materials for the fluid & solid zones. Setup all your boundary conditions and initial conditions. For the solid-fluid interface, use the no-slip condition for velocity and coupled condition for the thermal boundary condition.

Eventually you can start iterating. There are some tricks you can do to solve the problem faster. For example, if you have constant properties everywhere and your velocity field doesn't depend on temperature, then you can solve for the velocity field and then freeze it (by disabling the flow equations). The you can crunch only the heat transfer problem by solving only the energy equation, which can be done very quickly. Do not worry about this part until you've mastered the earlier parts.
So I went back and looked at your first response since my case didn't seem to work. I have a solid at one temp and a fluid at another. I can't find this coupled condition you are talking about. Can you expand on this part? The motion part of the case seems to work so far. I am seeing the begining of the Von Karman effect.
briangoesindie is offline   Reply With Quote

Old   April 15, 2016, 21:25
Default
  #7
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
If you have two boundaries then you have two isolated regions and they cannot communicate with one another. That means your mesh wasn't done "properly." You can salvage this in Fluent if you can't figure it out in the mesher. But I think you should be able to just specify one zone as solid, the other as fluid, and specify the interface as a "wall" type. Don't specify it as an interface in pointwise.

To salvage it in Fluent. What you can do, is set both zones to the same type (both fluid or both solid). Then merge the surfaces that are redundant so there is only 1 surface for the surface of the cylinder. Then change one of the zone types (from fluid to solid or solid to fluid) so that the zone types are now different. Fluent will then build your coupled wall and generate the shadow-wall.

Once you have this wall and shadow-wall pair. Go to boundary conditions, select your wall, go to the thermal tab and you'll see:

Thermal Conditions
heat flux
temperature
coupled

You want the coupled condition (for both the wall and the shadow-wall).
LuckyTran is offline   Reply With Quote

Old   April 15, 2016, 22:31
Default
  #8
New Member
 
Sevinho
Join Date: Apr 2016
Location: Maryland
Posts: 8
Rep Power: 10
briangoesindie is on a distinguished road
Well, that's bad. I have emailed my mesh to my teacher and basically begged for some assistance. I really don't understand pointwise, so I'm basically screwed. I tried merging, but it wouldn't do it, so hopefully he can provide some help or I'm probably going to fail. THank you for your help, keep your fingers crossed for me...
briangoesindie is offline   Reply With Quote

Old   April 17, 2016, 14:18
Default
  #9
New Member
 
Sevinho
Join Date: Apr 2016
Location: Maryland
Posts: 8
Rep Power: 10
briangoesindie is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
If you have two boundaries then you have two isolated regions and they cannot communicate with one another. That means your mesh wasn't done "properly." You can salvage this in Fluent if you can't figure it out in the mesher. But I think you should be able to just specify one zone as solid, the other as fluid, and specify the interface as a "wall" type. Don't specify it as an interface in pointwise.

To salvage it in Fluent. What you can do, is set both zones to the same type (both fluid or both solid). Then merge the surfaces that are redundant so there is only 1 surface for the surface of the cylinder. Then change one of the zone types (from fluid to solid or solid to fluid) so that the zone types are now different. Fluent will then build your coupled wall and generate the shadow-wall.

Once you have this wall and shadow-wall pair. Go to boundary conditions, select your wall, go to the thermal tab and you'll see:

Thermal Conditions
heat flux
temperature
coupled

You want the coupled condition (for both the wall and the shadow-wall).
I finally figured out how to make this work. I have the wall and shadow wall. How do I utilize the coupled BC? Do I just leave it blank and set the initial temp in the solution initialization tab?
briangoesindie is offline   Reply With Quote

Reply

Tags
convection, fluent r16.1, pointwise, thermal analysis, transient


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
Fluent Radiation/porous media Schmitt pierre-Louis FLUENT 26 September 1, 2016 10:29
Transient Thermal Error peakay ANSYS 0 March 28, 2016 04:57
Transient Thermal & Structural Analysis of a Fin Evaporator zackk FLUENT 0 February 3, 2016 10:53
Transient thermal analysis Shaheer ANSYS 0 August 27, 2015 05:22
Problem with HGEN load on transient thermal analysis juhaniit ANSYS 0 May 7, 2014 19:29


All times are GMT -4. The time now is 13:20.