|
[Sponsors] |
November 15, 2012, 04:56 |
Implementation of a time varying heat sink
|
#1 |
New Member
Join Date: Oct 2012
Posts: 9
Rep Power: 14 |
I have implemented a constant heat sink for the chtMultiRegionSimpleFoam solver. I did it nearly the same way like they did it in this thread:
http://www.cfd-online.com/Forums/ope...rce-solid.html Now I want to vary this heat sink over the time. I want to configure the heat sink in a table, the same way you do it with the uniformFixedValue boundary condition: Code:
patch1 { type uniformFixedValue; uniformValue table ( ( 0 300) ( 100 500) ( 200 300) ); } How can I implement this? |
|
November 21, 2012, 18:27 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
For some time swak4Foam has something called expressionSource that allows you to specify sources as expressions (how to add that to your solver search the message board for expressionSource) The latest release of swak4Foam has a subclass of basicSource. So every solver that has basicSource built in can use a swakish source term (you'll have to load the library with libs in controlDict of cource). And then there is always the possibility to hand-code it yourself ...
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
November 22, 2012, 04:29 |
|
#3 |
New Member
Join Date: Oct 2012
Posts: 9
Rep Power: 14 |
Thank you!
I found a solution for my purpose. I implemented a time varying heat sink which has a constant volumetric heat flux on the whole field. I defined a config file where you can specify pointwise time and heat flux. Then I use linear interpolation to get the right heat flux value. |
|
January 22, 2013, 06:39 |
|
#4 |
Member
Robert
Join Date: Aug 2012
Location: Berlin
Posts: 74
Rep Power: 14 |
Hey Koga,
I've got a similar problem. I want to set up a surface heat flux which linearly decreases by time. Could you please post the settings for your sink in your 'T'-file? I tried "compressible::turbulentheatFluxTemperature" but unfortunately it won't accept a table as heat flux input. I'd really appreciate your help. Best regards Robert |
|
August 18, 2015, 10:28 |
|
#5 |
Member
Rohith
Join Date: Oct 2012
Location: Germany
Posts: 57
Rep Power: 14 |
Hi Koga,
Can you place the code here with which you have modeled unsteady or time dependent heat sink. I would appreciate it. Best Regards, Rohith |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pimpleFoam: turbulence->correct(); is not executed when using residualControl | hfs | OpenFOAM Running, Solving & CFD | 3 | October 29, 2013 09:35 |
pisoFoam with k-epsilon turb blows up - Some questions | Heroic | OpenFOAM Running, Solving & CFD | 26 | December 17, 2012 04:34 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
Simulate heat transfer of heat sink in a box... | chien87 | CFX | 8 | February 8, 2011 04:50 |
time averaged heat transfer in oscillating flow | Matthieu Ubas | Main CFD Forum | 2 | November 5, 1999 15:20 |